Re: [WiX-users] setting INSTALLDIR using a CustomAction

2010-08-14 Thread Christopher Painter
Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: Andrew Hammond To: General discussion for Windows Installer XML toolset. Sent: Fri, August 13, 2010 10:00:15 PM Subject: Re: [WiX-users] setting INSTALLDIR using a

Re: [WiX-users] setting INSTALLDIR using a CustomAction

2010-08-13 Thread Andrew Hammond
Setting Before=ValidateProductID appears to have worked. Strange, but I'll take a working solution any day. A On Fri, Aug 13, 2010 at 7:57 PM, Andrew Hammond < andrew.george.hamm...@gmail.com> wrote: > Ok, that works for setting INSTALLDIR, however it appears to be getting set > after the files

Re: [WiX-users] setting INSTALLDIR using a CustomAction

2010-08-13 Thread Andrew Hammond
Ok, that works for setting INSTALLDIR, however it appears to be getting set after the files have alread installed. I have the following in my wxs, but it doesn't seem to be causing the CA to happen before it actually installs files. I'll try a couple of other Before targets, but if anyon

[WiX-users] setting INSTALLDIR using a CustomAction

2010-08-13 Thread Andrew Hammond
I have the following CustomAction and would like to it to set the INSTALLDIR property used in the WXS that calls it. I seem to be trying to set the property incorrectly. session["INSTALLDIR"] = "Some Location" What is the correct way to set properties from within a CustomAction? A --