Hi,
Our setup calls a nested install using
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Child install (with DoInstall) does not write resp
Started by
Matthias1967
, Nov 11 2008 14:04
1 reply to this topic
Posted 11 November 2008 - 14:04
CODE |
DoInstall(szChildPath ^ "setup.inx", "install", WAIT). |
Both the "main" and the "child" setup contain dialogs.
Now I tried to make the whole setup silent. Just calling the main setup with "-r" only recorded the dialogs of the main setup, leaving the child setup in "normal mode". Then I tried using the [Startup]CmdLine entry in setup.ini.
In the setup.ini of the main setup:
CODE |
[Startup] CmdLine=/r /f1"c:\windows\Main.iss" |
In the setup.ini of the child setup:
CODE |
[Startup] CmdLine=/r /f1"c:\windows\Child.iss" |
Now both response files are written, and the main response file is complete. However, the child response file reads
CODE |
[InstallShield Silent] Version=v7.00 File=Response File [File Transfer] OverwrittenReadOnly=NoToAll [{7EA9F56C-DF0E-4937-BEC1-5267A61B3216}-DlgOrder] Count=0 |
This means, no dialog has been recorded.
What has gone wrong here?
Posted 11 November 2008 - 14:30
Half of the problem has been solved now:
In our setup, each child setup file is called twice:
Once with the command-line option "dialogs" to show the UI, and once with the command-line option "install" for the actual install.
The first call does write the dialogs to the response file, but then the second one overwrites it.
So I do not see a solution with this design.
In our setup, each child setup file is called twice:
Once with the command-line option "dialogs" to show the UI, and once with the command-line option "install" for the actual install.
The first call does write the dialogs to the response file, but then the second one overwrites it.
So I do not see a solution with this design.