Hi
So I'm starting out in the world of Chained Packages. I created the MSI for 2 programs (all they do is deploy SQL scripts), which run successfully when I run them on their own. Then I created a new "parent" setup, which so far was running successfully on its own (all it did was call dialogs and a Set Installer Property action). And now I want to chain them. So what I did was in the Prerequisites window, under the Chained folder, I clicked "Add Chained Package" and selected the "child" MSI, and repeated this for the 2nd child. I left all the default values, such as Full UI and no properties being passed.
Now if I run the "parent" setup, its actions seem to work, it reaches the InstallFinalize step, and then it says it shows an "ended prematurely" and cancels the installation. I never see any dialog from the child MSIs. The logs are not much helpful, it seems to just prepare the first child's command line arguments, add/remove registry keys a hundred times, skip a rollback error and then open the error dialog.
Do you have any idea what I'm doing wrong? I'm probably missing something obvious, but I can't find it.
I read these 3 pages and searched in the forum, but I still can't see what I'm missing.
http://www.advancedinstaller.com/user-g ... kages.html
http://www.advancedinstaller.com/user-g ... -page.html
http://www.advancedinstaller.com/user-g ... -page.html
By the way, the windows installer version is V 4.5.6001.22159 so no problem there.
EDIT : just checked Custom Action "Install MSI relative to package". Your site says it's deprecated and not recommended, and in my testing it looks like it partially hijacks the parent's progress dialog and does not call the child's dialogs. So I really doubt we'll use this.