The Condition is only evaluated once unless the Component is marked Transitive='yes'
On Thu, Sep 27, 2012 at 9:03 AM, Tom Crozier <tcroz...@rackwise.com> wrote: > I have an installer that contains the following component. > > <Component Id="CompUser" > Guid="{226F7E2A-2FBD-2ed4-B355-52C80E95A212}" KeyPath="yes"> > <Condition><![CDATA[NOT Installed]]></Condition> > <Util:User Id="user.service" > Name="[USERACCOUNT]" > Domain="[USERDOMAIN]" > FailIfExists="yes" > Password="[USERPASSWORD]" > CreateUser="yes" > PasswordExpired="no" > PasswordNeverExpires="yes" > RemoveOnUninstall="yes" > LogonAsService="yes" > UpdateIfExists="yes"> > </Util:User> > </Component> > > This runs fine during the initial install. Now I have created a patch and > have not modified this component but it is trying to run the code again > even though the condition states NOT Installed. > > The log shows > > MSI (c) (18:10) [11:45:37:741]: PROPERTY CHANGE: Adding Installed > property. Its value is '00:00:00'. > ... > MSI (s) (A0:88) [11:46:00:728]: Component: CompUser; Installed: Local; > Request: Local; Action: Local > > Why is this component scheduled to be installed again and how do I prevent > it? > > Thanks - Tom > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users