jatinkulkarni
29th September 2007 05:38 UTC
executing .msi file
I am trying to run an .msi file using the following command.
start /wait msiexec.exe /qb /i $PLUGINSDIR\mysql_odbc.msi
But this gives me compile error "Invalid Command : start". Any idea what is wrong with the command.
regards,
Jatin.
Anders
29th September 2007 07:54 UTC
try: ExecWait 'msiexec.exe /qb /i "$PLUGINSDIR\mysql_odbc.msi"'
if you want to use start, you must prefix the command with cmd.exe or command.com (depending on the OS, you can read the COMSPEC env. variable if needed) on Win9x, start is a single .exe, on NT it is a built-in command in cmd.exe
jatinkulkarni
29th September 2007 10:14 UTC
Thanks Very Much,
regards,
Jatin.