
aaronflores92 asked a question.
I recently updated from IA 2021 to IA 2024 R2. My Windows installer projects are configured to use Merge Modules to install optional features when installing our Windows App. Before the update, our Installers were functional and ran to completion even when installing the optional features bundled in the Merge Modules. After the update from IA 2021 to IA 2024 R2, the Parent installers that use Merge Modules hang during the Installation Process and users cannot complete the installation due to a prompt that reads "Please insert Disk1 or Select 'Browse...' to locate it manually". We do not produce installers for any other platforms apart from Windows.
There were some changes after the IA 2024 update (one was required for IA 2024):
- Added updated source files automatically included in the Install SpeedFolder Action (Parent and Merge Module Installers)
- Added a Pre-Install Set InstallAnywhere Variable Action that sets a User Magic Folder to the Windows %PROGRAMDATA% environment variable using the built-in functionality to retrieve environment variable values (Parent Installers)
- Added an Installation Action that creates two subdirectories and installs a file to the location set from the prior point (Parent Installers)
- Updated some InstallAnywhere Variables so their text includes our new version and set the Installer Project Configuration so the built installers displays our new version in the file details (Parent and Merge Module Installers)
- Unchecked the Project>Advanced>Rollback Settings>Enable Rollback check box for some of our Merge Module Installer Project Configurations because we were having build errors without this option (we are not including uninstallers for them). This setting was set for some of the Merge Module Installers that the Parent Installers use and cause the hanging, but there are other Merge Modules that did not receive this change but are still used by the Parent Installers and still cause the hanging.
I reverted my Installer Projects (Parent and Merge Modules) to the IA 2021 file versions and did a side-by-side Comparison with the IA 2024 configurations but found no obvious differences that could cause this prompt to appear. The Parent Installers have the Build>Build Installers>Build Configurations>Distribution Tab>Build CD-ROM Installers check box enabled. None of my Merge Module Installer Projects have the same check box enabled so there should be no expectation of a second media to load the installers from.
If I do not trigger any merge modules, my Parent Installers run to completion. Oddly, if I strip ALL actions from my Parent Installers and leave only the action the triggers the Merge Module in the Install Phase, my Parent Installer runs to completion. The Merge Module should not be built into the Parent Installer since the Parent Installer is configured to locate the Merge Module at install Time and both the Parent Installer and Merge Module are in their expected locations (the same folder where the Parent Installer is launched).
Is there anything else I need to be reviewing or enabling/disabling so my Installers run to completion when using the Merge Modules? My Install Merge Module Actions use the 'Locate Merge Module at Install Time' option and point at $INSTALLER_LAUNCH_DIR$$\$My_MergeModule.iam.zip. The actions pass values via the 'Edit Variables' prompt and this has always worked. They also have the 'Execut Pre/Post Install Actions', 'Uninstall Merge Module when parent is uninstalled', 'Don't Install bundled VM, use Parent VM', and 'Add merge module log to parent log' check boxes checked. Lastly, they have simple rules that check that a user selected to include the additional features.
Open to possible suggestions, in case someone went through a similar ordeal after a recent update and they'd like to chime in with a few action items.
I've reverted all my Installers to IA 2021 for the time being. Other than Loading the Installer Projects with IA 2021, acknowledging the prompt that says I may lose data since I'm opening with an older version, and immediately saving and closing the loaded Installer Projects, I have done no other changes. I built my Parent Installers and Merge Modules and they all run to completion.
I am still waiting on Support to get back to me and let me know what I am missing. Hopefully I can get a concrete answer and the necessary change was laying right under my eyes.