Code: Select all
MSI (s) (6C:C8) [12:10:57:473]: Command Line: OUTLOOK_IS_32BIT=1 RELEASE_LOTUS=1 LOG_FILE_PATH=C:\Users\MyUser\AppData\Local\Temp\ APPDIR=C:\Program Files (x86)\Beta\MyApp LAUNCH_AFTER_INSTALLATION= REBOOT=ReallySuppress CURRENTDIRECTORY=E:\Downloads CLIENTUILEVEL=3 CLIENTPROCESSID=14268
MSI (s) (6C:C8) [12:10:57:477]: PROPERTY CHANGE: Adding APPDIR property. Its value is 'C:\Program Files (x86)\Beta\MyApp'.
MSI (s) (6C!30) [12:10:57:742]: Migrating feature settings from product(s) '{MyGUID}'
MSI (s) (6C!30) [12:10:57:742]: Note: 1: 2609
Action start 12:10:57: MigrateFeatureStates.
MSI (s) (6C!30) [12:10:57:743]: Product: MyApp -- Error 2609. Attempt to migrate product settings before initialization.
Error 2609. Attempt to migrate product settings before initialization.
MSI (s) (6C!30) [12:10:57:745]: Doing action: AI_SETMIXINSTLOCATION
Action ended 12:10:57: MigrateFeatureStates. Return value 3.
MSI (s) (6C:24) [12:10:57:783]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7FC5.tmp, Entrypoint: MixedAllUsersInstallLocation
MSI (s) (6C!C8) [12:10:57:797]: PROPERTY CHANGE: Adding AI_UserProgramFiles property. Its value is 'C:\Program Files\'.
Action start 12:10:57: AI_SETMIXINSTLOCATION.
MSI (s) (6C!30) [12:10:57:800]: PROPERTY CHANGE: Deleting APPDIR property. Its current value is 'C:\Program Files (x86)\Beta\MyApp'.
MSI (s) (6C!30) [12:10:57:800]: Doing action: AI_RESTORE_LOCATION
Action ended 12:10:57: AI_SETMIXINSTLOCATION. Return value 1.
Action start 12:10:57: AI_RESTORE_LOCATION.
MSI (s) (6C!30) [12:10:57:826]: Doing action: SET_APPDIR
Action ended 12:10:57: AI_RESTORE_LOCATION. Return value 0.
MSI (s) (6C!30) [12:10:57:827]: PROPERTY CHANGE: Adding APPDIR property. Its value is 'C:\Program Files\MyApp'.
Action start 12:10:57: SET_APPDIR.
Code: Select all
"APPDIR=\"" + installdir + "\" " + Also of note, the enigmatic Error 2609 which in this case has not prevented the installation from completing. I believe it means that it's trying to read from an uninitialized property, but cannot be sure.
I'm using Version 12.0 Build 63246 so it's possible that this has been addressed in a more recent version of Advanced Installer, but I would love to avoid upgrading if it hasn't as it takes our build machine offline to do so.
Curiously, with a minimal .aip, I get the following in the logs:
Code: Select all
Action start 10:47:11: AI_SETMIXINSTLOCATION.
MSI (s) (1C:90) [10:47:11:290]: Skipping action: AI_RESTORE_LOCATION (condition is false)
MSI (s) (1C:90) [10:47:11:290]: Skipping action: SET_APPDIR (condition is false)
MSI (s) (1C:90) [10:47:11:290]: Doing action: SET_SHORTCUTDIR
Action ended 10:47:11: AI_SETMIXINSTLOCATION. Return value 1.
FOLLOW US
Get the latest news in Application Packaging