I am writing an installer where I need to create a folder, and install a
windows service - each to have permissions of a new User that I create
during the install.
However, it appears during the sanity checking period of the install. The
CreateFolder element fails because the user does not yet exist.
Can anyone help?
This is a sample of my XML
<!-this is outside the component -->
<util:Group Id="UsersGroup" Name="Users" />
<!-this is all inside of the component -->
<util:User Id="MyUser" CreateUser="yes" CanNotChangePassword="yes"
Name="MyUser" Password="myuser" RemoveOnUninstall="yes"
PasswordNeverExpires="yes" Domain="[MachineName]" >
<util:GroupRef Id="UsersGroup" />
</util:User>
<CreateFolder Directory='MYPDFFOLDER'>
<Permission User='MyUser' CreateFile='yes' Read='yes'
WriteExtendedAttributes='yes'/>
</CreateFolder>
Thanks!
- Adam Langley
Secon NZ Ltd.
A1/400 Rosedale Road
Albany
North Shore 0632
New Zealand
Tel. +64 (0)9 414 4071
Fax. +64 (0)9 414 4072
<http://www.seconag.com> www.seconag.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users