cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

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:

__declspec(dllexport) HRESULT __stdcall MyCustomAction(IDispatch *pDispSuiteUIExtension)
{
CComQIPtr spSuiteUIExtenstion = pDispSuiteUIExtension;
//Need this code to be executed in silent mode at the start of the installation process.
}



Many thanks,
Marek
Labels (1)
0 Kudos
2 Replies
Highlighted
Flexera
Flexera

Re: Advanced UI/Suite Run Custom Action in Silent Mode

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.
0 Kudos
Highlighted
Pilgrim

Re: Advanced UI/Suite Run Custom Action in Silent Mode

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#BuildingC...
I hope it will work fine.
0 Kudos