[wix-users] custom windows service - disabling FilesInUse

Adnan Shaheen shaheen4qau at gmail.com
Sun Mar 31 07:39:10 PDT 2019


If you could paste the script related to service. Someone may be able to
point you in the right direction.

Regards:
Adnan Shaheen.


On Sun, 31 Mar 2019 at 09:30, David Bernhard via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hello wix-users,
>
> I have an installer which installs a windows service (with apache
> prunsrv), so it's not installed by wix. And when I'm updating the
> application I'm always getting the "FilesInUse" dialog. Even though I'm
> stopping the service when uninstalling (but that's in a later sequence...).
>
> To get rid of this dialog I tried several things.
>
> *        Suppress the InstallValidate sequence
>
> *        Use a ServiceControl to stop the service when uninstalling
>
> *        Set MSIRESTARTMANAGERCONTROL to "Disable" (and "Disabled")
>
> But none of them worked. Is the only solution to rebuild WixUIExtensions
> without the dialog?
>
> I appreciate your help,
> David
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list