Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-22 Thread Marco Tognacci
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-error-with-document-folder-on-network-location-works-fine-running-only-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


Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-03 Thread Nick Ramirez
/1) First try - I have installed the file on the Document's folder and the
modified it with the wix extension XmlFile.this work for coping the file but
fail to modify it as reported the error that it can't find the file to
modify/

Some questions I have:
1. What error are you seeing?

2. What are you trying to do? Copying, in my mind, means that you want to
have the file in two places -- the Documents folder and somewhere else. Or,
do you simply want to install the file to the Documents folder and have
that be the only place that the file exists?




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-error-with-document-folder-on-network-location-works-fine-running-only-the-msi-tp7598703p7598709.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


Re: [WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-03 Thread Nick Ramirez
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-error-with-document-folder-on-network-location-works-fine-running-only-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


[WiX-users] Burn error with document folder on network location (works fine running only the msi)

2015-01-01 Thread Marco Tognacci
I need to copy an xml file on the User Document's folder and I need to change 
some attribute of the elements inside the xml file based on user choices during 
setup.If the user has the document's folder located on a network path the setup 
fail as it can't locate the location.
I have made this inside the msi package:1) First try - I have installed the 
file on the Document's folder and the modified it with the wix extension 
XmlFile.this work for coping the file but fail to modify it as reported the 
error that it can't find the file to modify2) Second try - I have installed the 
file on a temp folder on local machine and the using the XmlFile extension 
change the file and then I have copied it to the Document's folder using a 
Custom Action (using the stream reader and writer to read and the write the new 
file as using System.File.Copy report an error).This second way seem working 
fine using the msi package, as it can install without problems even with users 
that have the Document's folder located on a network path.
The problem now is with Burn:I have made a Burn exe package running the msi 
package and now if I run the setup it report an error as it can't locate the 
network path.
So where could be the problem? Wich are the differences running the single msi 
and the Burn package?The runs with different users? (if it run with an 
administrative user that is not the current user it could not see the nethwork 
path where is located the document's folder for the current user)Or they runs 
with differents priviledges? as the msi can copy the file with the stream 
writer inside the custom action but running it insode Burn It can't find the 
destination path for priviledges problems?
Thanks.   
--
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