In order to do this you need to run as a user identity that has network
privileges and access to the network location you need to access.  If you
have Impersonate=no and Execute=deferred in your custom action, then you
will be running as LocalSystem, which does not have network privileges.


mark222 wrote
> I have tried to use a custom action for access the file from a network
> location, then update its content and save again in the network folder.I
> have used XDocument.Load(@"\\mynetwork\myfile.xml") to read the file but I
> receive an access violation exception for the permission.Is there any way
> for giving the rights to the custom action to acees and modify a file on
> the network?I need to open and modify a file on the user documents folder
> that is located on a network folder.
> 
> 
>> To: 

> wix-users@.sourceforge

>> From: 

> mark222@

>> Date: Tue, 25 Nov 2014 10:31:55 +0100
>> Subject: [WiX-users] XmlFile fail to write on network folder file
>> 
>> I have used XmlFile element to modify an xml file located under the user
>> document folder, it fails if the user document folder is mapped on a
>> network folder. How to male this work? IS there any way to modify a file
>> on a network directory?
>> 
>> 
>> Inviata dal mio Windows Phone
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> WiX-users mailing list
>> 

> WiX-users@.sourceforge

>> https://lists.sourceforge.net/lists/listinfo/wix-users
>                                         
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list

> WiX-users@.sourceforge

> https://lists.sourceforge.net/lists/listinfo/wix-users





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/XmlFile-fail-to-write-on-network-folder-file-tp7598221p7598264.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to