I'm doing a remote admin installation using an internal MSI deployment tool. My 
problem is that when I go to set the folder permissions for a FileShare it's 
telling me I don't have permissions to do this.

Is there an easy way to elevate the MSI installation so that it will attempt to 
setup the share using local admin privileges? If I assign the tool's user's 
permission ( which is what the tool uses to install the msi) to the folder, it 
works, but then I have to remove those permissions, which makes it a hassle.


Using Wix 3, code is below. Thanks - Pierson

                  <Directory Id="EmailShareDir" Name="EmailShare">
                        <Component Id="EmailShareComponent" 
Guid="{ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ}">
                              <CreateFolder Directory="EmailShareDir">

                                    <Permission User="[SERVICE_USERNAME]" 
GenericAll="yes" TakeOwnership="yes"/>
                              </CreateFolder>
                              <util:FileShare Id="EmailShareFileShare" 
Name="EmailShare" Description="Email Share ">
                                    <util:FileSharePermission User="ShareUser" 
GenericAll="yes" TakeOwnership="yes" />
                              </util:FileShare>
                        </Component>
                  </Directory>
-------------------------------------------------------------------------
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

Reply via email to