Hello support,
I'm currently facing a problem while trying to install a tool.
at the end of the installation process I want to execute a batch while which I want to provide with the [APPDIR].
the important part of the batch file:
@ECHO OFF
SET appdir=%~1
The strange thing is, that it is working if I just configure [APPDIR] in the launch file custom action as "command line" parameter.
The installation itself is fine, but certainly the provided appdir was wrong, because of some spaces.
As soon as I add quotation marks and the "command line" value looks "[APPDIR]", the installation fails with a message:
"There is a problem with this Windows installer package. A program runas part of the setup did not finisch as expected. Contact your support personnel or package vendor"
I don't think that the fault is caused by my configuration since it is working without the quoataion marks and if the path does not contain any spaces.
Even a simple echo of the appdir variable fails.
Since the installation itself works without quotation marks I assume that the problem is not caused by the script or so. Running it through the cmd.exe works fine.
Hope you can help me.