Re: [WiX-users] Is it possible to have two root directories in WIX
Typically a package installs into well known folders such as ProgramFilesFolder or ProgramMenuFolder, etc. Those may be on separate drives and are easy to author. In your case it sounds like you need to set a couple custom directories. To do that, you'll need to do something to find those directories. AppSearch would make it very easy since it could set the Property with the same name as a Directory and you'd be done. Otherwise, you'll need to do a SetProperty to set the Directory directly. On Thu, Mar 10, 2011 at 11:11 PM, Dsilva, Pramod pramod.dsi...@philips.comwrote: I need to deploy files in both C and D drives. For example File A goes to drive C and File B goes to drive D. I know that Wix allows you to have only one root directory. Is there any way I can accomplish this? I know that one solution is to set C as the root directory in the Wix Xml and deploy files that go to C directory through the Wix Xml. The files that have to deployed to D directory then have to be deployed through a custom action. However I want to avoid using Custom Actions and want to deploy files to both (C and D drives) using the same Wix Xml. Pramod DSilva Software Engineer Philips Healthcare The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is it possible to have two root directories in WIX
I get these types of requests and here is how I typically handle it: [INSTALLDIR] [WEBSITESDIR] = [INSTALLDIR]WebSites Then I have a search that detects a suitable override location and assigns it to WEBSITESDIR and present a dialog to the user to give them the control to override it. All of this happens only if no components are already installed as once you install it's immutable. Sometimes my search is a custom action. For example they will say I want it to be D:\WebSites. Well if D:\ represents a writable fixed disk volume then we'll assign it. Otherwise we take the default and tell them that was a best effort to tailor to their environment otherwise it must still be able to work in other environments. Chris --- 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: Rob Mensching r...@robmensching.com To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Sent: Sat, March 12, 2011 9:45:43 AM Subject: Re: [WiX-users] Is it possible to have two root directories in WIX Typically a package installs into well known folders such as ProgramFilesFolder or ProgramMenuFolder, etc. Those may be on separate drives and are easy to author. In your case it sounds like you need to set a couple custom directories. To do that, you'll need to do something to find those directories. AppSearch would make it very easy since it could set the Property with the same name as a Directory and you'd be done. Otherwise, you'll need to do a SetProperty to set the Directory directly. On Thu, Mar 10, 2011 at 11:11 PM, Dsilva, Pramod pramod.dsi...@philips.comwrote: I need to deploy files in both C and D drives. For example File A goes to drive C and File B goes to drive D. I know that Wix allows you to have only one root directory. Is there any way I can accomplish this? I know that one solution is to set C as the root directory in the Wix Xml and deploy files that go to C directory through the Wix Xml. The files that have to deployed to D directory then have to be deployed through a custom action. However I want to avoid using Custom Actions and want to deploy files to both (C and D drives) using the same Wix Xml. Pramod DSilva Software Engineer Philips Healthcare The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Is it possible to have two root directories in WIX
I need to deploy files in both C and D drives. For example File A goes to drive C and File B goes to drive D. I know that Wix allows you to have only one root directory. Is there any way I can accomplish this? I know that one solution is to set C as the root directory in the Wix Xml and deploy files that go to C directory through the Wix Xml. The files that have to deployed to D directory then have to be deployed through a custom action. However I want to avoid using Custom Actions and want to deploy files to both (C and D drives) using the same Wix Xml. Pramod DSilva Software Engineer Philips Healthcare The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users