I'm using Advanced Installer to create an MSI installer. At the very end of the process of the installation, I need to launch a .bat file with a variable from Advanced Installer, that is the Windows Path where the MSI is [Sourcedir]. The variable is usually passed correctly, I can see in a dummy .bat file. However, in the following situation I get an error, which is not debugged from the AI log nor from the command terminal itself.
The .bat file has this content:
move %1\client c:\xampp\htodcs
That is, move the client directory, which is in the same path of the MSI, to htdocs inside xampp. For some reason this fails, I think it may depend on a bad formed path or maybe backslash is a kind of escape... I repeat, can't debug it from AI and I am not a Windows expert unfortunately, but I can ensure the variable is passed correctly to other test .bat files.
Could you please help me?
Kind Regards
Fabio Ricci
FOLLOW US
Get the latest news in Application Packaging