how can I pass Windows Installer Property which contains spaces to Powershell script Custom Action? I want to read APPDIR in script but string is terminated after first space.
In Script Parameters I have
Code: Select all
-appDir [APPDIR]
Code: Select all
param($appDir)
echo $appDir >> "C:\install.log"
...
I've tried enclose variable name within quotes and curly braces
Code: Select all
echo "$appDir" >> "C:\install.log"
echo "${appDir}" >> "C:\install.log"
FOLLOW US
Get the latest news in Application Packaging