Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceControl Wait not working in Windows 8.1 #4915

Closed
wixbot opened this issue Sep 29, 2015 · 1 comment
Closed

ServiceControl Wait not working in Windows 8.1 #4915

wixbot opened this issue Sep 29, 2015 · 1 comment
Milestone

Comments

@wixbot
Copy link

wixbot commented Sep 29, 2015

During a Major Upgrade, or an uninstall/reinstall, my installer does not wait for the service to be completely uninstalled and removed before continuing.

<ServiceControl Id="testService" Start="install" Stop="both" Remove="uninstall" Name="myService" Wait="yes"/ >

In Windows 7, it works as expected, but in 8.1, I get an error(with prompts to ignore, retry or cancel) when the reinstall attempts to start the new service.

sc query in command prompt shows the service is stopped, but not uninstalled at the time of the error. Eventually the service gets removed and I can continue my install

Originally opened by wbrigida

@wixbot
Copy link
Author

wixbot commented Sep 29, 2015

This is Windows Installer behavior, not WiX. Generally, your service needs to shut down quickly (within 30 seconds).

Resolution set to external
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.9 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant