I have a custom action that runs a batch file during the Commit of the installation. I pass in the Command Line of "[#REGOCX.bat]" "[APPDIR]" "[SOURCE_PATH]" where "[SOURCE_PATH]" is the property of a Search that I have that returns a shared folder path stored in the registry. A sample command in the bat file is COPY /Y "%~2\logo.bmp" "%~1\bmp". The problem is that the "[SOURCE_PATH]" parameter is returning Formatted text as its result so my command is running as COPY /Y "Formatted text\logo.bmp" "C:\Program Files\Application\bmp". Is there a reason why this is happening?
Thanks
FOLLOW US
Get the latest news in Application Packaging