This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Possible to run a code before first window is shown?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 02, 2012
10:34 AM
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.
Can this be done without using a wrapper?
We are using Installscript project.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 04, 2012
10:26 AM
Sure, you should be able to put code in either OnBegin or various other events like OnFirstUIBefore (before the calls to dialogs).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 10, 2012
04:16 AM
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.
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.