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

Advanced UI/Suite Run Custom Action in Silent Mode

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,
Labels (1)
0 Kudos
(2) Replies
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
Level 5

Thank you for your reply. I only needed ISuiteExtension so I added hidden feature with custom detection as described here:
I hope it will work fine.
0 Kudos