For Uninstall: <CustomAction Id='InstallService' Directory="SVC" ExeCommand='"[SVC]InstallService.bat"'/> <CustomAction Id='StartService' Directory="SVC" ExeCommand='"[SVC]Wrapper.exe" -t "[SVC]wrapper.conf"' Return='ignore'/> <CustomAction Id='UninstallService' Directory="SVC" ExeCommand='"[SVC]UninstallService.bat"'/>
<InstallExecuteSequence> <Custom Action="InstallService" After="InstallFinalize">NOT Installed</Custom> <Custom Action="StartService" After="InstallService">NOT Started</Custom> <Custom Action="UninstallService" Before="RemoveFiles">Installed</Custom> </InstallExecuteSequence> Best regards. Jonason Zhang Integration Framework GDAS China | Application Service Engineering (ASE) TEL: 86-23-65683078 [Office] EMail: lei.zhan...@hp.com<mailto:lei.zhan...@hp.com> HPSX Support Hour: (GMT +8:00) 10:00~19:00 HPSX Support Call Number: +86 13671512912 http://enhanced1.sharepoint.hp.com/teams/IntegrationFramework/Lists/OnCall%20schedule/AllItems.aspx From: Bob Arnson-6 (via Nabble) [mailto:ml-user+58260-753956...@n2.nabble.com] Sent: 2009年2月10日 1:59 To: Zhang, Lei (Jonason , TSG-GDCC-CQ) Subject: Re: [WiX-users] Problem of CustomAction Jonason wrote: > thanks Rob, I've resolve it by doing this: > > <CustomAction Id='InstallService' Directory="SVC" > ExeCommand='"[SVC]Wrapper.exe" -i "[SVC]wrapper.conf"'/> > How do you handle uninstall? Repair? Install rollback? Uninstall rollback? Patching? -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2298568&i=0> https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ This email is a reply to your post @ http://n2.nabble.com/Problem-of-CustomAction-tp2293595p2298568.html You can reply by email or by visting the link above. -- View this message in context: http://n2.nabble.com/Problem-of-CustomAction-tp2293595p2300739.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users