You could put a Condition element under the Product element like this:
<Condition Message='Please run the exe'>RUNFROMEXE = 1</Condition>

When you call msiexec from the exe be sure to pass RUNFROMEXE=1 as an argument.
Double-clicking the MSI file obviously won't provide this argument, and so the 
launch condition will 
fail.

Rob

Craig0ss wrote:
> HI There
> 
> Im new to .msi installers and WIX and i need to know how to do the
> following. 
> 
> Ive built my installer so i now have my .msi file and my .exe file, i need
> information on a 'condition'? so that when the user executes the .msi file
> to install my application it displays a message saying that setup should be
> run from the setup.exe instead of the .msi
> 
> I would be very greatful on any information on this 
> 
> Thank You


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to