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
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
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
3 matches
Mail list logo