You can use the UILevel property.
http://msdn.microsoft.com/en-us/library/aa372096(VS.85).aspx 

-Brian Simoneau

-----Original Message-----
From: sandun css [mailto:sandun...@gmail.com] 
Sent: Thursday, March 05, 2009 5:26 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Verify the installation mode is silent or not.

Hi,

My installer launches a 'Windows Forms Application' when the user
presses
the installation finish button.

But if the installer is executed in the silent mode, (msiexec /i
installer.msi /q) I don't want to launch that application. In the silent
mode I have to execute a console application silently.

Is there a way to acess the installation mode (silent or not) from WiX?

And how to execute a console app silently? I used the following code,
which
didn't seem to be working!

<Property Id="LaunchScript" Value="[INSTALLDIR]bin\script.exe"/>
<CustomAction Id="LaunchScript" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred"/>
Thanks,
Sandun
------------------------------------------------------------------------
------
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to