Sigurd Stenersen wrote:
> I don't mind doing the actual action later, in fact I already moved it to 
> After='InstallFinalize', but there must be a way to tell if the product is 
> being installed at any point in the cycle ?
>   

Be careful with custom actions relative to InstallFinalize. In Windows 
Vista, only deferred, non-impersonate custom actions get elevated. 
Deferred CAs run between InstallInitialize and InstallFinalize, which 
means those after InstallFinalize can't run elevated.

The best way to conditionalize actions is by the action state of 
features or components rather than Installed. That way you have 
fine-grained control and can make better choices about repair and 
modify. Take a look at 
http://windowssdk.msdn.microsoft.com/en-us/library/aa368561.aspx for 
some examples.

-- 
sig://boB
http://bobs.org



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