My company writes white label software and generates distinct, branded installers for several partners using Advanced Installer version 15.8. We create these for both the development/testing environments and production. We have encountered a problem where the only the production installers for only one specific partner fail to upgrade. The observed behavior is that the old version will be uninstalled, but the new version will not be installed.
Some relevant information about our process:
- we use a template .aip project as a base for generating the separate installers. This template project is duplicated using /duplicate and then customized using a command file
- When installers are generated for non-production environments, the installer name has a prefix indicating the environment (i.e. if the name of the production installer is InstallerName.exe, the installer generated for the QA environment will be QA_InstallerName.exe)
The following error is found in the logs for a failed upgrade:
Code: Select all
Product: [Branded prodcut name] -- Error 1308. Source file not found: [path to file] Verify that the file exists and that you can access it.
viewtopic.php?t=33761
viewtopic.php?f=2&t=11474
However, making this change did not change the observed behavior and the upgrade still failed in the same manner.
I have also found this forum post:
viewtopic.php?t=30337#p81105
and tried the recommendation of adding the "ExtractFilesFirst" property with a value of "1". This partially resolved the problem, however while the upgrade completed successfully, the Exit Dialog did not display at the end, nor did our custom action in the Finish Dialogs stage run.
Bizarrely, I have found that changing the installer name seems to resolve the problem. However, this still appears to be exclusive to the specific brand and changing another brand's installer to the "broken" name does not have the expected effect of the second brand's upgrade failing. This indicates to me that the name itself is not the root of the problem, and therefore this is unlikely to work as a permanent fix.
I can provide logs and aip project files by email.
Thank you,
Libby