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
- :
- I don't think that answers the question...
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
‎Aug 07, 2009
08:00 AM
Running Custom Actiona in silent mode
Hi,
Is it possible to run custom actions in silent mode? Do custom actions have the support of Reduced, Basic, full and No UI like the .msi files? I would like to run some .exe files in the Basic UI mode, is this possible?
Cheers,
Ajanta.
Is it possible to run custom actions in silent mode? Do custom actions have the support of Reduced, Basic, full and No UI like the .msi files? I would like to run some .exe files in the Basic UI mode, is this possible?
Cheers,
Ajanta.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2009
05:28 PM
A custom action normally runs when it's encountered in any UI mode; the UI sequence is skipped for reduced UI levels, though. In the Execute sequence, you can test the UILevel property to detect a silent, basic-UI, etc., installation.
However, running a silent installation won't automatically hide any windows or message boxes displayed by an EXE or DLL action.
However, running a silent installation won't automatically hide any windows or message boxes displayed by an EXE or DLL action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
04:42 PM
I think the question is simply "How do I hide the command window when running an executable from a custom action?"
For instance, running a command line program line NGEN - how to have the "DOS box" hidden?
For instance, running a command line program line NGEN - how to have the "DOS box" hidden?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
04:49 PM
If the executable being launched doesn't support a switch to run silently, then something akin to an InstallScript custom action that launches the executable using LaunchApplication with the SW_HIDE switch seems to be common practice.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
05:16 PM
RobertDickau wrote:
If the executable being launched doesn't support a switch to run silently, then something akin to an InstallScript custom action that launches the executable using LaunchApplication with the SW_HIDE switch seems to be common practice.
Thank you, Robert. However, a much more useable interface would be having it as an option in the custom action wizard and on the panel. This isn't the only simple, common task that InstallShield makes difficult.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)