Hi Guys, it may sound a stupid question, but I could not find why MS Project 2002 installation script I wrote doesn't do what it suppose to do. Could you point me where I did something wrong?
----------- script msproj2k2.bat ------------------------------------------------------------------ :: OPTIONAL: Install MS Project 2002 and its updates @Echo on :: Reminder: Commands will be executed in reverse order. :: Reboot after installing everything (superstition). todo.pl .reboot :: Edit install/site/keys.bat and provide your license.key call %Z%\site\keys.bat if %msproject2k2%==xxxxxxx goto nokey todo.pl ".reboot-on 194 %Z%\packages\msproj2k2\setup.exe /qb /l* %SystemDrive%\netinst\logs\msproj2k2.txt ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%msproject2k2%" if errorlevel 1 exit 1 exit 0 :nokey @echo *** Unable to get MS Project 2002 key @echo *** (did you forget to edit %Z%\site\keys.bat?) exit 2 ----------- script msproj2k2.bat ------------------------------------------------------------------ Basically script runs fine, but MS Project instllation doesn't come up at all. At the same time if I copy & paste command on command line, it works fine (I only skip .reboot-on 194 on command line). I just can not get why it doesn't run/start -- it looks like todo.pl doesn't run it at all (I modify PATH variable manually to run todo.pl from Z:/bin directory). Is there any document which describes in details how to writes scripts? Thanks, Andy ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
