hmm my bad, 

i put that code in under the package in the xml file, the msi now displays
the msg when its executed, however when the setup.exe is executed the msg is
also displayed, im not sure that i have passed the argument properly from
the exe to msi as stated below.

Any more Ideas

Thanks 



Rob Hamflett wrote:
> 
> I wouldn't bet on it.  ARP would just run "msiexec /x <productguid>".  I
> think you'd have to set 
> whichever property means 'don't register in ARP' and then write the
> registry entries yourself.
> 
> Rob
> 
> Schrieken, Rene wrote:
>> Does uninstall from Add/Remove programs also works with this scenario? 
>> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Craig0ss
>> Sent: Thursday, September 06, 2007 9:36 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: Re: [WiX-users] Make User Run exe when the msi is run
>> 
>> 
>> Hi 
>> 
>> That Worked perfect
>> 
>> Thanks :)
>> 
>> 
>> Rob Hamflett wrote:
>>> 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
>>>
>>>
>> 
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Make-User-Run-exe-when-the-msi-is-run-tf4383058.html#a12518250
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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