Yes, my custom action is sequenced in the Execute Sequence. It is sequenced after launchconditions which is sequenced after appsearch in the execute sequence.

 

From what I can tell from the logs cost finalize sets up the directory properties and assigns them to the components so if I sequence my CA before cost finalize then the directory properties haven’t been set up yet and my CA doesn’t do anything. If I sequence after cost finalize then my CA will run and do what it is supposed to do but its too late because the components have already been set to install in the default locations.

 

______________________

 

Don Tasanasanta

VIACK Corporation

425-605-7423

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: Wednesday, August 16, 2006 6:57 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install messing up my custom action

 

Don:

Is your custom action sequenced between both the <InstallExecuteSequence> and the <InstallUISequence> tags?  If it's not in the InstallExecuteSequence table, it will not run on a silent install.

Dana

On 8/15/06, Don Tasanasanta <[EMAIL PROTECTED]> wrote:

I have a custom action that changes the location of the installation directory depending on whether or not the user has admin privileges.

 

If the user has admin privileges then the install defaults to program files

If the user does not have admin privileges then the install defaults to the local user space (Application Data)

 

My custom action is sequenced after LaunchConditions (which is sequenced after AppSearch) in the Execute Sequence

 

This works great when not running in silent mode. But when the install is run with a /qn switch the UI Sequence is not run thus the Costfinalize action in the UI is not run and the directory properties are not setup until after my Custom Action is run. Thus my custom action doesn't correctly set the install path.

 

Does anyone have a suggestion for dynamically setting the install path when running in silent mode?

 

______________________

 

Don Tasanasanta

VIACK Corporation

425-605-7423

 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to