In the installer of one of my products, the "APPDIR" property is getting modified on it's own after the "FolderDlg".
I have the following logs:
As you can see, the property is deleted and added again with the different path. The application folder is set to "[ProgramFiles64Folder][Manufacturer]\[ProductName]" and I would like to keep it the same. Also, the installer was executed as an admin and still the path was changed to the user directory.SI (c) (5C!F8) [14:40:01:133]: Doing action: AI_SETMIXINSTLOCATION
Action 14:40:01: AI_SETMIXINSTLOCATION.
Action start 14:40:01: AI_SETMIXINSTLOCATION.
Action ended 14:40:01: AI_SETMIXINSTLOCATION. Return value 1.
MSI (c) (5C!F8) [14:40:01:133]: PROPERTY CHANGE: Deleting APPDIR property. Its current value is 'C:\Program Files\ZeeTim\ZeePrint Server\'.
MSI (c) (5C!F8) [14:40:01:133]: Doing action: AI_RESTORE_LOCATION
Action 14:40:01: AI_RESTORE_LOCATION.
Action start 14:40:01: AI_RESTORE_LOCATION.
MSI (c) (5C:3C) [14:40:01:196]: Invoking remote custom action. DLL: C:\Users\ADM-PR~1\AppData\Local\Temp\MSID32C.tmp, Entrypoint: RestoreLocation
Action ended 14:40:01: AI_RESTORE_LOCATION. Return value 1.
MSI (c) (5C!F8) [14:40:01:212]: PROPERTY CHANGE: Adding APPDIR property. Its value is 'C:\Users\adm-prerak\AppData\Local\Programs\ZeeTim\ZeePrint Server'.
Any idea why is this happening?
I have attached an .aip file that can reproduce the issue.
Testing scenario:
- WIndows Server 2019
- Advanced Installer Version 16.8 (E467B907)
Thank you.
Prerak