Problem successfully running nested IA 9 installers
Posted: Fri Jun 26, 2009 2:16 pm
Hi,
I'm having an issue when using a controlling installer (built with IA 9) that calls three sub-installers (also built with IA 9). The controlling installer actually collects info from the user, then sends it into the sub-installers via parameters. The problem is only the last sub-installer called from the controller actually installs fully. It appears the first two do not copy their files into their TARGETDIR, however the installers names are in the Windows Add or Remove Programs list. These sub-installers are installing NT services, and their service names appear in the list of services too (but they do not start successfully - no files in the directories). Only the last sub-installer that was called results in files in the TARGETDIR and an NT service that actually works.
The weird thing is if I comment-out the Run Program statement that calls the third sub-installer, rebuild the controlling installer, and rerun it, the current last sub-installer (previously, the second sub-installer in the list) installs fully and results in a functioning NT service on the target machine. The first sub-installer still does not copy its files to the TARGETDIR.
Any suggestions? Am I overlooking some bigger-picture issue here? Is there some kind of interaction among multiple "Apply Install" statements that leaves only the last one effective, even though they all run in different install.exe files? Would the "Install MSI Setup" command help?
Thanks for any insight,
Al
I'm having an issue when using a controlling installer (built with IA 9) that calls three sub-installers (also built with IA 9). The controlling installer actually collects info from the user, then sends it into the sub-installers via parameters. The problem is only the last sub-installer called from the controller actually installs fully. It appears the first two do not copy their files into their TARGETDIR, however the installers names are in the Windows Add or Remove Programs list. These sub-installers are installing NT services, and their service names appear in the list of services too (but they do not start successfully - no files in the directories). Only the last sub-installer that was called results in files in the TARGETDIR and an NT service that actually works.
The weird thing is if I comment-out the Run Program statement that calls the third sub-installer, rebuild the controlling installer, and rerun it, the current last sub-installer (previously, the second sub-installer in the list) installs fully and results in a functioning NT service on the target machine. The first sub-installer still does not copy its files to the TARGETDIR.
Any suggestions? Am I overlooking some bigger-picture issue here? Is there some kind of interaction among multiple "Apply Install" statements that leaves only the last one effective, even though they all run in different install.exe files? Would the "Install MSI Setup" command help?
Thanks for any insight,
Al