Is this a per-user or per-machine install? If it's per user, the install should not be elevated and it should run in the same context as the logged in user. If it's a per-machine install, then it will be elevated but it shouldn't be writing out "required" files to a per-user "Documents" folder.
It may be easier/more-reliable to put this in a standard location as a template and on first run of the application copy it to the documents folder. That way if the user corrupts or deletes the file, the next run of the application can copy down the template. -----Original Message----- From: Marco Tognacci [mailto:mark...@live.it] Sent: Monday, January 26, 2015 2:24 PM To: WiX - users Subject: [WiX-users] FW: Burn error with document folder on network location (works fine running only the msi) I have changed the code for using XmlConfig instead of XmlFile, but the result is the same:The file is installed correctly but when the XmlFile or the XmlConfig try to access the file to change an elment of the xml fileit report an error that say that it can't find the Drive on network, and the setup fail.Any other way to try?It could be that when I install the setup run as another administrator user (different from the current user) so it can't see the network location as it is specific for the current user ???This problem is blocking me, and I can't find a working way with WiX for doing this installation.Thanks for any support. > From: mark...@live.it > To: wix-users@lists.sourceforge.net > Date: Fri, 23 Jan 2015 00:44:26 +0100 > Subject: Re: [WiX-users] Burn error with document folder on network > location (works fine running only the msi) > > I have changed the code for using XmlConfig instead of XmlFile, but the > result is the same:The file is installed correctly but when the XmlFile or > the XmlConfig try to access the file to change an elment of the xml fileit > report an error that say that it can't find the Drive on network, and the > setup fail. > Any other way to try? > It could be that when I install the setup run as another administrator user > (different from the current user) so it can't see the network location as it > is specific for the current user ??? > This problem is blocking me, and I can't find a working way with WiX for > doing this installation.Thanks for any support. > > > > > Date: Sat, 3 Jan 2015 10:21:43 -0700 > > From: nickra...@hotmail.com > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Burn error with document folder on network > > location (works fine running only the msi) > > > > Okay, so it sounds like you want to: > > > > 1. Install the file to the Documents folder 2. Edit the file in > > place after it's been installed > > > > I've often seen people posting about having problems using XmlFile. > > I have always used the XmlConfig element instead and haven't had any > > problems. You might get less trouble by switching. > > > > Can you show the XmlFile that you're using? Something might stand out. > > > > > > > > -- > > View this message in context: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-e > > rror-with-document-folder-on-network-location-works-fine-running-onl > > y-the-msi-tp7598703p7598711.html Sent from the wix-users mailing > > list archive at Nabble.com. > > > > -------------------------------------------------------------------- > > ---------- Dive into the World of Parallel Programming! The Go > > Parallel Website, sponsored by Intel and developed in partnership > > with Slashdot Media, is your hub for all things parallel software > > development, from weekly thought leadership blogs to news, videos, > > case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- New Year. New Location. New Benefits. New Data Center in > Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users