Hello,
I'm using Advanced Installer 8.5 and have come across a strange bug or just a misunderstanding on my part. I have some windows services that get installed and during a repair operation an argument for the windows service is incorrect.
To clarify I have some arguments set for my windows service as follows "/winservice "/root=[APPDIR]"". That works perfect on the initial install, app directory is populated with the install directory, even if that directory is a new path. However, if a repair is done then the [APPDIR] gets populated with the default install path of the program not the path to which they installed originally. It was my understanding that the appdir property would automatically be set to whatever the install path was originally during a repair, but maybe that is where I'm wrong. Is there a property I'm missing that I should be using or is there a better way I could be doing this?
One thing that is confusing is that I have for the service file path "APPDIR\assets\bin\windows\x64\********.exe" (stars are substituted of course) and that APPDIR there is correct, though it doesn't seem to correspond with the appdir property directly.
Any help is appreciated.
FOLLOW US
Get the latest news in Application Packaging