cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mauritzson
Level 3

Possible to run a code before first window is shown?

We are planning to use an configuration file for our installer, and it needs to support silent mode. So we would like to run code in the installer, before any window is shown, to check in the file if silent mode should be used and then activate the silent mode before any window is shown.

Can this be done without using a wrapper?

We are using Installscript project.
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Sure, you should be able to put code in either OnBegin or various other events like OnFirstUIBefore (before the calls to dialogs).
0 Kudos
Mauritzson
Level 3

Thanks for your reply,
the to functions that you have suggested both run after the initialization window is shown. We would like to bee able to not show any window at all if possible.
But this is only necessary if it is possible to activate silent installation from code and not only from command line, otherwise it won't matter.
0 Kudos