Before Rob sent his blog article, I sent you the same answer.  You just add `or 
Installed` to your condition.   This way the condition will evaluate to true 
during Add/Remove Programs because the program is installed.   Durign the 
initial installation it is not yet installed so the condition will evaluate the 
same as it did before you add `or Installed`.
  
Craig0ss <[EMAIL PROTECTED]> wrote:
  

HI there

Basically i have had to take this conditon out for the mean time as its not
allowign the uninstall of the product using the add remove programs feature.

If there is any information on this i would be greatfull, i have read the
below article and im still none the wiser. I need to be able to only install
the product from the exe (No msi install) and i need to be able to
un-install from the add remove programs from control panel without the
procedure being canceled because the code for the exe

Hoep that makes sence



Rob Mensching-2 wrote:
> 
> I talk through this problem here:
> http://blogs.msdn.com/robmen/archive/2006/08/22/712812.aspx
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Craig0ss
> Sent: Thursday, September 20, 2007 07:30
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Make User Run exe when the msi is run
> 
> 
> 
> hi there
> 
> I have now got this working fine, however i now have a problem on
> uninstall.
> When i go to add remove programs and try to uninstall my app from there,
> the
> app trys to start the .msi and obviously that wont work because of the
> launch conditonm i get the error "Please run from the exe" which is the
> error msg that i put in for when a user trys to load the program from the
> msi and not the exe
> 
> So now i need to know how to put another condition to do with this to make
> the add remove programs use the installer exe and not the msi
> 
> Any ideas
> 
> Thank you
> 
> 
> Rob Hamflett wrote:
>>
>> I'm not familiar with whatever product you're using for the bootstrapper,
>> sorry. Does the
>> GenerateBootstrapper element really not have an Arguments value, or
>> something similar?
>>
>> Rob
>>
>> Craig0ss wrote:
>>> Right then
>>>
>>> Basically the below code worked when run from a command line
>>> //..//..//setup.exe RUNFROMEXE=1
>>>
>>> this works fine
>>>
>>> However i need this done automaticaly when the end user runs the
>>> setup.exe
>>> from a GUI
>>>
>>> Below is the code to the bootstrapper that im using and any help on the
>>> argument code and where to put it would be very welcome
>>>
>>> 

>>> 

>>>
>>> C:\Projects\BuildStuff\Installer\Optisoft.msi
>>> 

>>>
>>> 
>>> 
>>> 
.NET Framework 2.0

>>> 
>>> 
>>> 
Microsoft Data Access Components 2.8

>>> 
>>> 
>>> 
Windows Installer 3.1

>>> 
>>> 
>>> 
MSJet35

>>> 
>>> 
>>> 
VB6Runtime

>>> 
>>> 
>>> 
>>>
>>> >>> ApplicationName="Optisoft Enteprise"
>>> BootstrapperItems="@(BootstrapperFile)"
>>> ComponentsLocation="Relative"
>>> Culture="en"
>>> FallbackCulture="en-GB"
>>> CopyComponents="True"
>>> Validate="False"
>>> OutputPath="C:\Projects\BuildStuff\Installer\Bootstrapper\output\"
>>> />
>>> 
>>> 

>>>
>>>
>>> Thanks
>>
>>
>> -------------------------------------------------------------------------
>> 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#a12798361
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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#a12814359
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
---------------------------------
Pinpoint customers who are looking for what you sell. 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to