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

2015-01-28 Thread Marco Tognacci
I have tried making a perUser setup but even in this case it report the same 
error,  the setup can't find the network location.So what can i make for making 
this working?



 Date: Mon, 26 Jan 2015 14:55:30 -0700
 From: phogl...@rimage.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] FW: Burn error with document folder on network 
 location (works fine running only the msi)
 
 I think that this was pointed out earlier, but mapped network drives are User
 resources and may not be defined for another user, and would not be
 available to localSystem.
 
 
 
 --
 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-tp7598703p7599013.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
  
--
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] FW: Burn error with document folder on network location (works fine running only the msi)

2015-01-28 Thread Phil Wilson
Not only do mapped drive letters belong to a user, but impersonated
custom actions do not load the user's profile, so trying to access
that user's documents folder from code will fail unless you arrange to
use the appropriate Windows Installer property, probably
AppDataFolder. In other words using SpecialFolder.ApplicationData in
an impersonated CA will likely fail, so pass the actual property into
the code for a chance at the right location.

The usual way to get around the drive letter issue is to use share
names, that will work assuming the installing user has access to the
network share and you're impersonating. As has been said, the
localsystem account has no network privileges.
---
Phil Wilson


On Mon, Jan 26, 2015 at 1:55 PM, Phill Hogland phogl...@rimage.com wrote:
 I think that this was pointed out earlier, but mapped network drives are User
 resources and may not be defined for another user, and would not be
 available to localSystem.



 --
 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-tp7598703p7599013.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

--
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] FW: Burn error with document folder on network location (works fine running only the msi)

2015-01-26 Thread Phill Hogland
I think that this was pointed out earlier, but mapped network drives are User
resources and may not be defined for another user, and would not be
available to localSystem.



--
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-tp7598703p7599013.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] FW: Burn error with document folder on network location (works fine running only the msi)

2015-01-26 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.


 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-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
  
--
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] FW: Burn error with document folder on network location (works fine running only the msi)

2015-01-26 Thread Hoover, Jacob
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/