Hi, Yes i have an EmbeddedUI and in that EmbeddedUI i set a property to suppress "file in use" message and let it continue uninstall (stop service, uninstall, remove service). File is in use because service is started... What can i do? It seems that setting the property from UI doesn't work in Win7. Will it work if i stop the service with a CA ? And after what to set the CA so uninstall can work?
Thanks, Adriana On Fri, Dec 18, 2009 at 19:31, Wilson, Phil <phil.wil...@wonderware.com> wrote: > Have you got an embedded UI handler? The log seems to be saying that you > have, and that Windows sent it a INSTALLMESSAGE_RMFILESINUSE message, and got > an error result, an invalid return value. > > Phil Wilson > > -----Original Message----- > From: Adriana Rodean [mailto:adrya1...@gmail.com] > Sent: Thursday, December 17, 2009 9:48 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Service uninstall fails in Win 7 from Control Panel > > I attached the logo of this issue, maybe will be more helpful... > > MSI (s) (E0:C8) [15:17:20:828]: Doing action: InstallValidate > MSI (s) (E0:C8) [15:17:20:828]: Note: 1: 2205 2: 3: ActionText > MSI (s) (E0:C8) [15:17:20:839]: PROPERTY CHANGE: Deleting > MsiRestartManagerSessionKey property. Its current value is > '6a7f084665b313448b68c9b2d8f30a10'. > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Dialog > MSI (s) (E0:C8) [15:17:20:840]: Feature: MyFeature; Installed: Local; > Request: Absent; Action: Absent > MSI (s) (E0:C8) [15:17:20:840]: Component: MyComponent; Installed: > Local; Request: Absent; Action: Absent > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Registry > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: BindImage > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: ProgId > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: PublishComponent > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: SelfReg > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Extension > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Font > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Shortcut > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Class > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: Icon > MSI (s) (E0:C8) [15:17:20:840]: Note: 1: 2205 2: 3: TypeLib > MSI (s) (E0:C8) [15:17:20:841]: Note: 1: 2205 2: 3: _RemoveFilePath > MSI (s) (E0:C8) [15:17:20:846]: PROPERTY CHANGE: Modifying > CostingComplete property. Its current value is '0'. Its new value: > '1'. > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Registry > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: BindImage > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: ProgId > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: PublishComponent > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: SelfReg > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Extension > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Font > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Shortcut > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Class > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: Icon > MSI (s) (E0:C8) [15:17:20:847]: Note: 1: 2205 2: 3: TypeLib > MSI (s) (E0:C8) [15:17:20:848]: Note: 1: 2727 2: > MSI (s) (E0:C8) [15:17:20:920]: RESTART MANAGER: Will attempt to shut > down and restart applications in no UI modes. > MSI (s) (E0:28) [15:17:20:922]: EEUI - Invalid return value 4 for > message type 419430400. > MSI (s) (E0:28) [15:17:20:922]: EEUI - Embedded UI Handler returned > ERROR_INSTALL_FAILURE > MSI (s) (E0:C8) [15:17:21:016]: Note: 1: 1725 > MSI (s) (E0:C8) [15:17:21:016]: Product: MyProduct -- Removal failed. > > > On Thu, Dec 17, 2009 at 19:34, Adriana Rodean <adrya1...@gmail.com> wrote: >> Hi, >> >> I tried to uninstall my service from Control Panel on a Win 7 machine >> with UAC on, and it fails right after "Install validation. Validating >> install..." >> When i uninstall from the bootstrapper which executes the msi with >> REMOVE="ALL" it uninstalls successfully. >> On an XP machine works successfully both ways of uninstall. >> >> Here is my code: >> >> <File Id="WindowsService" Name="OPGateway.OPGatewayService.exe" >> Source="..\..\..\..\.OPGateway.OPGatewayService\bin\Release\" >> KeyPath="yes" /> >> <ServiceInstall Id='MyServiceInstall' >> Description='OnPremises Gateway service.' DisplayName='OnPremises >> Gateway' Name='OPGatewayService' >> ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' >> Account='NT AUTHORITY\NetworkService' /> >> <ServiceControl Id="StartOPGatewayServiceControl" >> Name="OPGatewayService" Wait="no" Start="install" /> >> <ServiceControl Id="StopOPGatewayServiceControl" >> Name="OPGatewayService" Stop="uninstall" Wait="yes" >> Remove="uninstall"/> >> >> Any ideas? >> Please help me fix this strange bug :(((( >> >> Thank you so much, >> Adriana >> > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > *** Confidentiality Notice: This e-mail, including any associated or attached > files, is intended solely for the individual or entity to which it is > addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy it or use it for any > purposes, or disclose its contents to any other person. This email comes from > a division of the Invensys Group, owned by Invensys plc, which is a company > registered in England and Wales with its registered office at Portland House, > Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of > European legal entities within the Invensys Group, please go to > http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. > You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail > inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users