I've studied patching and updating quite a bit recently and wanted to ask a simple and direct question. Can you patch an installed and running Windows Service? AI installed it in the first place obviously. And with this knowledge, will the patch process stop the service; update the file; and then restart the service?
Last edited by invalidptr on Wed Jan 05, 2011 6:55 pm, edited 1 time in total.
When making the diff snapshot between the target and upgraded MSIs, the patch will only detect and add the exe as changed but leave any other service actions unchanged on the local machine. Thus, the service originally installed on the local machine won't be affected when the patch is applied.
As a conclusion you cannot have a patch update your service. The only way to do this is by deploying a major upgrade project.
Hello,
I have the same problem. I've created a major upgrade project but it only works if I select the option "Install new version first and then uninstall old version" in the Upgrades panel. I tryied to use the default option "Uninstall old version first and then install new version" but it doesn't work. When I'm installing the patch the service installation fails and I can't complete the installation.
Is it possible to use the option "Uninstall old version..."???
It should work with "Uninstall old version first and then install new version" too. Can you post the aip file and a verbose log created during the upgrade so we can analyze the problem? Or you can send it over at support at advancedinstaller dot com.
FOLLOW US
Get the latest news in Application Packaging