Hi Advanced Installer Team,
first info: we use the feature "Install new version first and then uninstall old version".
During update we would like to achieve that a given Service is not stopped and the files for that service should not be modified during update.
I've unchecked stop and start in the Control Operations of the "Services" Tab. For the folder where the service files are I've added below "Operations" -> Do Not overwrite existing files : OLDPRODUCTS.
Unfortunately the Restart Manager now kills the service during update, because it thinks that files of that service need to be overwritten and are currently in use. Moreover if I look at the msi-Log I can see that files that have no version and no hash are still considered to be overwritten although I've added that no files should be overwritten during update.
See:
7:080]: Executing op: FileCopy(SourceName=libxml2.dll,SourceCabKey=libxml2.dll_1,DestName=libxml2.dll,Attributes=0,FileSize=2257408,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,,,,,,,)
MSI (s) (C8:10) [15:19:17:080]: File: C:\Program Files\PDS\pds kfm\pds\postgres9.3.5\pgsql\bin\libxml2.dll; Overwrite; Won't patch; Existing file is unversioned and unmodified - no source file hash provided to compare
What is the best way to achieve this? Is it possible to prevent the installer from stopping the service and overwriting the files? Is it possible to remove the components, so that AI does not know about the files?
FOLLOW US
Get the latest news in Application Packaging