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: Advanced UI/Suite Run Custom Action in Silent Mode
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
‎Nov 22, 2013
07:59 AM
Advanced UI/Suite Run Custom Action in Silent Mode
Hello,
I would like to run my custom action in silent mode(setup.exe /silent). Is there any way to do that in Suite project?
My action looks like:
Many thanks,
Marek
I would like to run my custom action in silent mode(setup.exe /silent). Is there any way to do that in Suite project?
My action looks like:
__declspec(dllexport) HRESULT __stdcall MyCustomAction(IDispatch *pDispSuiteUIExtension)
{
CComQIPtrspSuiteUIExtenstion = pDispSuiteUIExtension;
//Need this code to be executed in silent mode at the start of the installation process.
}
Many thanks,
Marek
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2013
12:11 PM
UI actions which provide the ISuiteUIExtension interface are not currently available in silent installations. Starting with InstallShield 2013, you can schedule DLL Actions in events such as OnBegin. These are run by the non-UI portion of the suite, and have access to the ISuiteExtension interface.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2013
10:46 AM
Thank you for your reply. I only needed ISuiteExtension so I added hidden feature with custom detection as described here:
http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteExtCondAuthor.htm#BuildingConditionalStatements_547774590_1039129
I hope it will work fine.
http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteExtCondAuthor.htm#BuildingConditionalStatements_547774590_1039129
I hope it will work fine.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)