On 13-May-11 10:17, Michael Stoll wrote:
> AFAIK the file is downloaded / required when 'ux requested' is
> 'Present'. So what I'd like to do is check if the current state is
> 'Present' and then set 'ux requested' to 'None'. I know how modify the
> requested state in the ux (managed). But how do I get the current
> installed state in the ux?

Here's how the WiX UX sets the plan state:

private void PlanPackageBegin(object sender, PlanPackageBeginEventArgs e)
{
     if 
(e.PackageId.Equals(WixUX.Model.Engine.StringVariables["MbaNetfxPackageId"], 
StringComparison.Ordinal))
     {
         e.State = RequestState.None;
     }
}

-- 
sig://boB
http://joyofsetup.com/


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to