You can use the Installed property to cause override the behavior once it's 
been installed.

Craig0ss <[EMAIL PROTECTED]> wrote:  

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


       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------------------------------------------------------------------
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