In my installer I add a user account the a local group on the target
machine.  If this fails I would like the installer to continue but to prompt
the user that they must add the user manually.  Is this possible using the
Util:User / Util:Group method?  Is it possible to have the notion of an
"optional" component like that where if something goes wrong the installer
will continue anyway?

Here's my current snippet:

<Component Id="SvcAcct_IISWPGroup" Guid="..." Permanent="yes"
NeverOverwrite="yes" Win64="$(var.64bitFlag)" Transitive="yes">
   <Condition>NOT Installed AND NOT UPGRADE</Condition>
   <CreateFolder/>
   <u:User Id="ServiceAccount_IISWPGroup" CreateUser="no" Name="[SVC_ACCT]"
Password="[SVC_PWD]" Domain="[SVC_DOMAIN]" UpdateIfExists="no">
      <u:GroupRef Id="IISWPGroup"/>
   </u:User>
</Component>

Thanks,
Glen Cooper
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to