cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Marek22
Level 5

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
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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
Marek22
Level 5

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