Kaas
Posts: 7
Joined: Tue Mar 04, 2008 1:49 pm

Error while excecuting Batch file

I'm getting the following error when I add a batch file to my MSI using the wizard (viewer.exe) The batch file does not start. I get the message. windows cannot find C:\Program

The batch file is part of the package and does not include the c:\program( files)\ folder.
Somewhere the must be a link to my batch file which is in the program folders folder after installation but where can I point to the correct folder (quoting is needed is suppose)

:!: Thanks for your help,
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

Usually, a file (or folder) path will contain spaces so you should enclose the file (folder) path within quotes, as follows:

Code: Select all

"[#file.bat]" command line parameters
Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Kaas
Posts: 7
Joined: Tue Mar 04, 2008 1:49 pm

Thanks, that whas it :D

Return to “Common Problems”