Hello all, Using the keys.bat and keys.csv outlined in http://www.mail-archive.com/unattended-info@lists.sourceforge.net/msg04613.html there is an even more useful implementation. By creating different key names, the CSV file can determine whether the professional vs standard and OEM vs OL has to be installed. Like this:
keys.csv: "compu1","office2k3profoem","key..." "compu2","office2k3stdol","key..." etc ofc2003.bat: ... lots of patches ... :: Edit install/site/keys.bat and provide your license key call %Z%\site\keys.bat if %office2k3stdol%==xxxxxxx goto nokey1 todo.pl ".reboot-on 194 %Z%\packages\office2003stdol\setup.exe /qb /l* %SystemDrive%\netinst\logs\office2003.txt ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%office2k3stdol%" if errorlevel 1 exit 1 exit 0 :nokey1 if %office2k3stdoem%==xxxxxxx goto nokey2 todo.pl ".reboot-on 194 %Z%\packages\office2003stdoem\setup.exe /qb /l* %SystemDrive%\netinst\logs\office2003.txt ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%office2k3stdoem%" if errorlevel 1 exit 1 exit 0 :nokey2 if %office2k3profol%==xxxxxxx goto nokey3 todo.pl ".reboot-on 194 %Z%\packages\office2003profol\setup.exe /qb /l* %SystemDrive%\netinst\logs\office2003.txt ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%office2k3profol%" if errorlevel 1 exit 1 exit 0 :nokey3 if %office2k3profoem%==xxxxxxx goto nokey4 todo.pl ".reboot-on 194 %Z%\packages\office2003profoem\setup.exe /qb /l* %SystemDrive%\netinst\logs\office2003.txt ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%office2k3profoem%" if errorlevel 1 exit 1 exit 0 :nokey4 @echo *** Unable to get Office license key @echo *** (did you forget to edit %Z%\site\keys.bat?) exit 2 <end of ofc2003.bat> This is just a proof of concept. Comments? Regards, Arthur Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info