Re: [WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-19 Thread Rob Mensching
les\." which will be treated as the directory. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts Sent: Wednesday, June 06, 2007 9:33 AM To: [EMAIL PROTECTED] Cc: WiX-users@lists.sourceforge.net Subject: Re: [WiX-users] INSTALLDIR Parameter to CustomAction Call this as a

Re: [WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-06 Thread Aaron Shurts
Call this as a custom action just after CostFinalize in the immediate sequence: sub ConvertSlash() dim strInstallDir, strModifiedDir strInstallDir = Session.Property("INSTALLDIR") strModifiedDir = Replace(strInstallDir, "\", "/") Session.Property("SLASH_DIR") = strModifiedDir end sub

[WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-05 Thread Mark.Farmer
I've run into a problem that sounds fairly simple to resolve, however, I've been spinning my wheels on it for a while. I've created a CustomAction that requires the install path parameter. However, the string does not come across correctly in my arguments of the exe because of the "\". I need to