After a long time with no use of my old unattended setup, I check it again to install some applications on a windows 7 64bits laptop. (no system install)
first, I switch my scripts folder from cvs to svn (yes, fairly long time in dust), doing a script-update, a prepare, get unlink.pl. Now, few feedback on this => general * openoffice move extension to an openoffice-ext.bat see other useful one (template + ext) like http://www.ipd.uni-karlsruhe.de/~hauma/svg-import/ http://documentation.openoffice.org/Samples_Templates/User/template/index.html http://sourceforge.net/projects/ooolabels http://documentation.openoffice.org/Samples_Templates/User/template/presentations/index.html http://ooextras.sourceforge.net/downloads/simpress/index.php?tab=All http://extensions.services.openoffice.org/project/TemplatePack_II http://extensions.services.openoffice.org/project/writertools http://extensions.services.openoffice.org/project/modern-impress-templates http://extensions.services.openoffice.org/en/project/WriterRotationTool * option to select system where we want or not the updates. for example, for now, I use mainly unattended for applications install, less for OS so I don't want to download all system updates or office one. something like "skip=winxpsp3 ws2k3sp1 office2003" in prepare script, maybe. * miss a script for Microsoft Security Essentials, Keepass :: URL|ALL|http://downloads.sourceforge.net/keepass/KeePass-1.17-Setup.exe?modtime=1160853833&big_mirror=0|packages/secu rity/keepass/KeePass-1.17-Setup.exe :: <http://keepass.info> @echo off todo.pl "%Z%\packages\security\keepass\KeePass-1.17-Setup.exe /VERYSILENT" => Windows 7 * todo.pl on windows 7 family premium Unrecognized LMachine/SOFTWARE/Microsoft/Windows NT/CurrentVersion//ProductName: Windows 7 Home Premium at Z:\bin\todo.pl line 207 quick patch: --- todo.pl.20100213 Sat Feb 13 11:13:06 2010 +++ todo.pl Sat Feb 13 11:13:55 2010 @@ -203,6 +203,9 @@ elsif ($product_name eq 'Microsoft Windows Server 2003') { $os = 'ws2k3'; } + elsif ($product_name =~ 'Windows 7') { # to match family, pro + $os = 'win7'; + } else { die "Unrecognized $pn_key: $product_name"; } * security warning on each execution of todo.pl ... disable UAC during unattended install ... => same :( maybe with http://www.sevenforums.com/system-security/8642-how-get-rid-open-file-security-warning.html * misc base.bat:todo.pl "startup-type.pl Disabled Messenger" => .ignore-err 255 adobe-reader: todo.pl "reg delete => .ignore-err 1 7-zip: reg operations all failed * openoffice.bat --- openoffice.bat.0 Sat Feb 13 12:12:36 2010 +++ openoffice.bat Sat Feb 13 12:14:03 2010 @@ -48,17 +48,23 @@ :notemplate ::Skip FirstTimeWizard +if exist "%ProgramFiles(x86)%" ( +todo.pl "start /D\"%ProgramFiles(x86)%\OpenOffice.org 3\program\" unopkg.com add --shared %Z%\packages\openoffice\ext\D isableFirstStartWzd_ooo31.oxt" +) else ( todo.pl "start /D\"%ProgramFiles%\OpenOffice.org 3\program\" unopkg.com add --shared %Z%\packages\openoffice\ext\Disabl eFirstStartWzd_ooo31.oxt" +) :: MAIN PROGRAM - Sometimes i18n version does not have the most up to date. if not exist "%Z%\packages\openoffice\OOo_3.2_Win32Intel_install_%WINLANG%.exe" goto oldversion set ooo_install=%Z%\packages\openoffice\OOo_3.2_Win32Intel_install_%WINLANG%.exe set ooo_link=special:AllUsersDesktop\"\OpenOffice.org 3.2.lnk\" +goto next :oldversion set ooo_install=%Z%\packages\openoffice\OOo_3.1.1_Win32Intel_install_%WINLANG%.exe set ooo_link=special:AllUsersDesktop\"\OpenOffice.org 3.1.lnk\" +:next :: Remove link from desktop todo.pl "unlink.pl %ooo_link%" => I fear the %ProgramFiles% / %ProgramFiles(x86)% is a larger problem. don't know why microsoft chose this way and not x64 which is more specific. a global var like WINVER could be useful. Best regards Julien ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info