Restarting Services
Hi
I have created an installer using WIX, which installs a product but Microsoft Exchange Information Store must be off while im copying the files etc.
I added the following line into one of my components (does it matter which one?):
<ServiceControl Id="ExchangeISRestart" Name="MSExchangeIS" Start="both" Stop="both" Wait="no"/>
The Information Store stops, but does not start up again, but after the installation, the user is able to start it manually
Any help would be greatly appreciated
I have created an installer using WIX, which installs a product but Microsoft Exchange Information Store must be off while im copying the files etc.
I added the following line into one of my components (does it matter which one?):
<ServiceControl Id="ExchangeISRestart" Name="MSExchangeIS" Start="both" Stop="both" Wait="no"/>
The Information Store stops, but does not start up again, but after the installation, the user is able to start it manually
Any help would be greatly appreciated
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
I think - in relative terms - you can count the number of Wix users on the fingers of one hand. You would be better off asking your question on SourceForge (presuming Wix is still "hosted" there).
My guess, though, would be that you're trying to start the service before the files which comprise have been installed. Try separating the line into 2 separate lines and add the uninstalling one to a component early in the sequence and the installing one as late as possible in the sequence.
My guess, though, would be that you're trying to start the service before the files which comprise have been installed. Try separating the line into 2 separate lines and add the uninstalling one to a component early in the sequence and the installing one as late as possible in the sequence.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.