PDA

View Full Version : Detecting SILENT Install (Basic MSI)



idblew
06-30-2005, 10:31 AM
I need a way of detecting whether the installation is running silently or not from a C++ DLL Custom Action.

I read somewhere that you can use MsiGetProperty to retrieve ISSETUP_UISEQUENCE_PROCESSED (if blank it's a silent install), but whenever I do this it always come back blank. :eek:

Any ideas/suggestions? :confused:

_doog_
06-30-2005, 10:55 AM
try the UILevel Property which should be 2 for silent, 3 for basic, 4 for reduced and 5 for full user interface

idblew
07-01-2005, 02:44 AM
Many thanks _doog_ that worked a treat.
:D