[wix-users] Does not uninstall windows service.
Harinatha Narisetty
harinatha.narisetty at us.abb.com
Mon Jul 3 07:02:35 PDT 2017
Any idea on how to change the installation folder to user defined path?
Thanks
Hari
-----Original Message-----
From: Harinatha Narisetty
Sent: Thursday, June 29, 2017 6:05 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: [wix-users] Does not uninstall windows service.
Ok. I think I got the problem... Now I need to find out how should I fix it.
a. As part of installation steps user selects target folder.
b. I set this as below in MSI
<Fragment>
<SetDirectory Id="INSTALLFOLDER" Value="[CUSTOM_INSTALL_DIRECTORY]" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='$(var.PlatformProgramFilesFolder)'>
<Directory Id="INSTALLFOLDER">
<Directory Id="WEBSITEFOLDER" Name="SecurityAdmin"></Directory>
<Directory Id="LICENSEFILESFOLDER" Name="LicenseFiles"></Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="ABB(r) Enterprise Software $(var.DisplayVersion)" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop"></Directory>
<Directory Id="INETPUB" Name='inetpub' >
<Directory Id="WWWROOT" Name='WWWROOT'>
<Directory Id="WEBSITEFOLDERROOT" Name="ABBAdminRoot">
</Directory>
</Directory>
</Directory>
</Directory>
</Fragment>
This is causing the issue... If I remove the line <SetDirectory Id="INSTALLFOLDER" Value="[CUSTOM_INSTALL_DIRECTORY]" /> and change <Directory Id="INSTALLFOLDER"> to <Directory Id="INSTALLFOLDER" Name="Test">
Everything works fine.
But we need to support selection property... can you please tell me how can I do it?
Thanks
Hari
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Thursday, June 29, 2017 2:22 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Does not uninstall windows service.
Use InstEdit / Orca / Etc to look at the file and component tables in the MSI.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Uwe Laas
Sent: Thursday, June 29, 2017 12:24 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Does not uninstall windows service.
Hello,
I have the same problem with one of my services. Reason for me: I accidently installed it twice on one machine (during development, hadn't a check for upgrade then). Uninstall on this machine does not stop or remove this service any more.
Another option would be that you created an installer doing a copy and paste and that the component id is in use by something totally unrelated.
Regards Uwe
Am 29.06.2017 um 19:16 schrieb Harinatha Narisetty:
> What could be the reason the installer is not triggering Executing op:
> ServiceControl
>
> To uninstall my windows service?
>
> This is driving me nuts... The exact samething for other service works fine.
>
> Thanks
> Hari
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf Of Hoover, Jacob
> Sent: Thursday, June 29, 2017 12:01 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Does not uninstall windows service.
>
> Is anything in your MSI marked as a shared component? What component does 9CCCF010-20D8-5850-A918-15BC1A91EA91 refer to in your authoring?
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf Of Harinatha Narisetty
> Sent: Thursday, June 29, 2017 9:39 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Does not uninstall windows service.
>
> During uninstallation, what exactly the meaning of this ?
>
> MSI (s) (78:DC) [10:26:27:552]: PROPERTY CHANGE: Adding INSTALLLEVEL property. Its value is '1'.
> MSI (s) (78:DC) [10:26:27:552]: Allowing uninstallation of shared
> component: {DB3E8EF7-584F-567D-AC5F-61800F4AB350}. Other clients
> exist, but installed to a different location MSI (s) (78:DC)
> [10:26:27:552]: Allowing uninstallation of shared component:
> {9CCCF010-20D8-5850-A918-15BC1A91EA91}. Other clients exist, but
> installed to a different location MSI (s) (78:DC) [10:26:27:552]:
> Allowing uninstallation of shared component:
> {DFB1F1A6-B769-5060-BB49-7DB1AA180997}. Other clients exist, but
> installed to a different location
>
>
>
>
> Thanks
> Hari
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf Of Nir Bar
> Sent: Tuesday, June 27, 2017 2:52 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Does not uninstall windows service.
>
> Can you upload the install log as well?
>
>
>
>
>
> --Independent WiX Expert. Creator of-
> https://JetBA.net - Native and WPF WiX BootstrapperApplication
> Frameworks
>
>
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list