I need to pass in the path to the install file to a custom action written in c#.
/TARGETDIR=[APPIDIR]\Servicename
If the path has spaces in it, the custom action always reads this as two command line arguments instead of one.
I have tried all of the following:
/TARGETDIR="[APPIDIR]\Servicename"
"/TARGETDIR=[APPIDIR]\Servicename"
/TARGETDIR='[APPIDIR]\Servicename'
""/TARGETDIR=[APPIDIR]\Servicename"
/TARGETDIR=""[APPIDIR]\Servicename"
AI seems to be stripping off the beginning quotes and leaving the end quotes when it gets passed to the custom action. Single quotes don't get stripped, but the args are still recognized as 2 params when single quotes are used.
HELP!
FOLLOW US
Get the latest news in Application Packaging