Officially it's not possible in a 32bit install but unofficially ( and at your own risk ) I found a way. Convert the C:\Program Files to C:\Progra~1 and you'll sneak past Windows Installer trying to "fix" it for you. 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: garnold <grant.arn...@safe.com> To: wix-users@lists.sourceforge.net Sent: Fri, September 17, 2010 7:14:02 PM Subject: [WiX-users] How to allow 32-bit installer to write to C:\Program Files Hi I am creating an installer that needs to install some .war files in a servlet engine directory. In the installer, I am prompting for the location of their installed servlet engine (for example, Apache Tomcat). The problem occurs when they have a 64-bit computer with a 64-bit servlet engine installed in "C:\Program Files". If they specify in the browse dialog of our 32-bit installer to install those files to "C:\Program Files\Apache\tomcat\webapps", then it will actually change the directory to "C:\Program Files (x86)\Apache\tomcat\webapps", where there is no Apache installed! I understand that it is trying to be helpful in not allowing a 32-bit app to be installed into Program Files, and for our main INSTALLDIR, this is fine. However, for this prompt, I would like it to not have this behaviour. Do you know of some way I can work around this so that the installer won't change the "C:\Program Files" to "C:\Program Files (x86)" in this case? Thanks! Grant -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-allow-32-bit-installer-to-write-to-C-Program-Files-tp5544693p5544693.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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