[wix-users] Installing from a mapped network drive - Force it to use UNC?
Phill Hogland
phill.hogland at rimage.com
Tue Sep 8 11:02:43 PDT 2015
On Windows a mapped drive is defined in a particular user's profile, so if the registry for the elevated user has not been configured to know about that mapped drive, it won't do any good to try and generate a UNC (without also having some way of getting the drive mapping from the other user's registry profile). I don't know of any setting that will address this issue for you.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Tuesday, September 08, 2015 12:51 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Installing from a mapped network drive - Force it to use UNC?
Quick question:
How do I set the MSI so it uses UNC instead of mapped drive when installing? I have a custom action that copies over a config file that uses "SourceDir", but fails due to the MSI being elevated thereby not having access to mapped drive. Is there a simple way of configuring an option somewhere to use UNC of a mapped drive? I can't convert from mapped drive to UNC in the custom action as it's too late, the user executing it is admin and not the same user, even though I put "Impersonate='Yes'", so the function fails.
Thanks.
________________________________
Xactware's opt-in mailing list allows you to receive Xactware News that is of interest to you. Visit my.xactware.com today to join or to update your email preferences!
________________________________
This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list