Re: [WiX-users] not able to access unc locations in deffered custom actions
To UNC: Is possible during deferred, if you set the Impersonate attribute to yes. -Blair -Original Message- From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] Sent: Thursday, September 16, 2010 2:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions From UNC to PC: Its possible - During immediate, trigger a custom acitons which copies the files to the local temp folder of the installing user. then, in the deferred sequence, copy that folder to the right location To UNC: Not possible during deferred, but if your installing user has write permissions to this UNC Path an immediate action should work. kind regards, Fabio On Sat, Sep 18, 2010 at 9:00 PM, Sanjay Rao s...@noida.interrasystems.comwrote: That mean I cannot copy a file to network or c: using a deferred custom action. Is that true ? Please advice. On 16-09-2010 11:30, Wilson, Phil wrote: That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Saturday, September 18, 2010 10:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77 . You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to
Re: [WiX-users] not able to access unc locations in deffered custom actions
By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] not able to access unc locations in deffered custom actions
That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Saturday, September 18, 2010 10:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to
Re: [WiX-users] not able to access unc locations in deffered custom actions
That mean I cannot copy a file to network or c: using a deferred custom action. Is that true ? Please advice. On 16-09-2010 11:30, Wilson, Phil wrote: That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Saturday, September 18, 2010 10:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with
Re: [WiX-users] not able to access unc locations in deffered custom actions
From UNC to PC: Its possible - During immediate, trigger a custom acitons which copies the files to the local temp folder of the installing user. then, in the deferred sequence, copy that folder to the right location To UNC: Not possible during deferred, but if your installing user has write permissions to this UNC Path an immediate action should work. kind regards, Fabio On Sat, Sep 18, 2010 at 9:00 PM, Sanjay Rao s...@noida.interrasystems.comwrote: That mean I cannot copy a file to network or c: using a deferred custom action. Is that true ? Please advice. On 16-09-2010 11:30, Wilson, Phil wrote: That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Saturday, September 18, 2010 10:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] not able to access unc locations in deffered custom actions By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77 . You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or
[WiX-users] not able to access unc locations in deffered custom actions
Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] not able to access unc locations in deffered custom actions
What is the other part of the installer? If it's in the UI or other code running as the installing user I can guess it might be fine, but with impersonation turned off you're running with the system account, and that rarely has any network privileges. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, September 17, 2010 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] not able to access unc locations in deffered custom actions
Your CA is running as System which will use different authentication credentials to try to access the network then those that you are logged in with. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: Sanjay Rao s...@noida.interrasystems.com To: wix-users@lists.sourceforge.net Sent: Fri, September 17, 2010 3:44:56 PM Subject: [WiX-users] not able to access unc locations in deffered custom actions Hi, I have a deffered custom action( with Impersonate=no) in my installer which copies a file from local location to unc location(network path). I am not able to access this unc location in this custom action while I am able to access same unc location in other part of the installer. Regards, Sanjay Rao -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users