Re: [WiX-users] Administrative install and File/Folder Sharing
Pierson Lee (Volt) wrote: From my understand of reading MSIExec's help file (and I might be totally wrong) the /a flag (for admin install) is for a network install. Admin installs create a source image that you can run a local install from. It's usually placed on a network share so users can run local installs from the network. If that's the case with the CA not running, why would it then generate an error message? None of the WiX custom actions are enabled during an admin install. Check the AdminExecuteSequence table. -- sig://boB http://joyofsetup.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
Re: [WiX-users] Administrative install and File/Folder Sharing
From my understand of reading MSIExec's help file (and I might be totally wrong) the /a flag (for admin install) is for a network install. If that's the case with the CA not running, why would it then generate an error message? Is it possible to run the util:FileShare as a local admin instead of as the installer of the MSI? I know with regular CA's you can impersonate. The message I get in the log is below: CreateSmb: Error 0x80004005: Failed to create/modify file share: Err: 5 CreateSmb: Error 0x80004005: failed to create to share: 'EmailShare' MSI (s) (14!0C) [11:27:05:350]: Product: WebService -- Error 26301. Failed to create network share. (-2147467259 EmailShare ) Error 26301. Failed to create network share. (-2147467259 EmailShare ) And during rollback I get: MSI (s) (14:8C) [11:27:05:522]: Executing op: FolderRemove(Folder=E:\Web\EmailShare\,Foreign=0) MSI (s) (14:8C) [11:27:05:522]: Note: 1: 1321 2: E:\Web\EmailShare\ DEBUG: Error 2911: Could not remove the folder E:\Web\EmailShare\. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2911. The arguments are: E:\Web\EmailShare\, , From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 1:09 PM To: Pierson Lee (Volt) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Administrative install and File/Folder Sharing Pierson Lee (Volt) wrote: 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. Administrative installations are basically just extracting compressed data into the destination tree. None of the WiX custom actions operate during admin installs. -- sig://boB http://joyofsetup.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
[WiX-users] Administrative install and File/Folder Sharing
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={----} 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