Hi,

I want to call a custom action when the installation finishes and use a
variable value from the script. However the variable value is not replaced
inside the script.

The code is something like this:

<Directory Id="TARGETDIR" Name="SourceDir">
    <Directory Id="ProgramFilesFolder">
         <Directory Id="INSTALLLOCATION" Name="StuffFolder">
.....
.....
         </Directory>
    </Directory>
</Directory>


<CustomAction Id="DoStuff" Script="vbscript" Return="check"
Execute="commit">
       MsgBox "Install Location is: [INSTALLLOCATION]"
</CustomAction>

<InstallExecuteSequence>
    <Custom Action='DoStuff' Before='InstallFinalize'>NOT
Installed</Custom>
</InstallExecuteSequence>


Thanks,
Ricardo Lopes.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to