I have experienced this problem before, and didn't find the reason. Now I further investigated the problem, and I found that AdvancedInstaller is holding ServiceController during upgrade.
What this causes is that if I delete a Service (manually with a custom action "sc.exe delete <myService>" during upgrade, then this Service is marked as "Startup type": "disabled".
What this means is: if I later want to re-create this Service, I can't until I reboot the computer.
This is well documented by Microsoft in: http://support.microsoft.com/kb/287516
However, this is NOT the case when uninstalling: when I uninstall AdvancedInstaller is NOT holding the ServiceController and I am able to delete my Service without having it marked as "disabled".
I have read the release notes of AdvancedInstaller 8.0 and I found the following note under "Enhancements to existing features":
Code: Select all
Add MsiConfigureServices action to installer only when needed
Since my Maintenance Plan is over (missed it by a DAY!!!!) then I can't verify this.
Your help will be greatly appreciated, Dashut.