I have a Type 2 Custom Action that isn't working right. LG_IIS7Installer.exe
is running, but INSTALLLOCATION is not expanding. INSTALLLOCATION is set as a
property= on the msiexec command line, and the files get installed into the
right places. But instead of he path expected, INSTALLLOCATION is returning a
"blank" causing LG_IIS7Installer.exe to fail.
<?ifdef DEBUG?>
<Binary Id="LG_IIS7UTIL"
SourceFile="\\lmibuild\LGDrops\Installers\Latest\Debug\LG_IIS7Installer.exe"/>
<?else?>
<Binary Id="LG_IIS7UTIL"
SourceFile="\\lmibuild\LGDrops\Installers\Latest\Release\LG_IIS7Installer.exe"/>
<?endif?>
<!-- Custom Actions to config IIS7 -->
<CustomAction Id="CONFIG_IIS7"
BinaryKey="LG_IIS7UTIL"
ExeCommand="/W "[INSTALLLOCATION]" /U
"[SERVICE_ACCOUNT]" /P "[SERVICE_PASSWORD]""
Execute="deferred"
Return="ignore"
Impersonate="no"/>
Ideas on how to get INSTALLLOCATION to expand would be greatly appreciated.
I've tried Using a separate command line to form the argument to ExeCommand,
but I get the same result-SERVICE_ACCOUNT and SERVICE_PASSWORD expand
correctly, but INSTALLLOCATION do not.
--
John M. Cooper
Volt at Microsoft
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users