Hi,
We're using Advanced Installer 10.6 for several products and components. Some of the MSIs we're building are used to install / upgrade a Windows Service. In Resources > Services > Control Operations, the service is configured with Start and Stop actions for "On install", and with Stop and Delete options for "On Uninstall". In "Services to Install" the service type is set to "A Win32 service that runs in its own process", and the option "The service is vital for this installation" is checked. In Product Information > Upgrades, the option "Automatically upgrade older product versions" is selected, and the (Upgrade) Order is set to "Uninstall old version first and then install new version".
The MSIs are working correctly for install / upgrade / uninstall scenarios on almost all Windows versions, but... On Windows 2012, during upgrades, a warning message is shown: "Service '...' could not be installed. Verify that you have sufficient privileges to install system services." (from msiexec logs the error code appears to be 1923). The message box has two buttons - "Retry" and "Cancel"; after "Retry" is clicked, the upgrade process resumes and completes successfully.
It's not a matter of insufficient privileges, because the installer is run with admin privileges. The warning is shown in the "install phase" of the upgrade process, while the status is "Installing new services". The issue occurs every time we do an upgrade on any Windows 2012 machine.
From a few tests we've run, it seems that if we change the Upgrade Order to "Install new version first and then uninstall old version", the warning message described above is not shown anymore. However, we're not sure if this is a good solution to our problem.
Can you please let us know if there are any known issues on Windows 2012 that would require some changes in the way the .AIPs are configured for service installations / upgrades?
Thank you,
Lucian Filip
FOLLOW US
Get the latest news in Application Packaging