Jump to content

Pauli

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Sweden

About Pauli

Pauli's Achievements

0

Reputation

  1. This works for me. My auto.cmd start from winnt.sif [GuiRunOnce] "%systemdrive%\auto.cmd" 1) auto.cmd add IE7.cmd to RunOnceEx and reboot 2) IE7.cmd install IE7, add IE7_Hotfix.cmd to RunOnceEx and reboot and pause everything with IE7-Pause.cmd before IE7.cmd are completed 3) IE7_Hotfix.cmd intall hotfix KB929969, KB928090 and reboot auto.cmd: cmdow @ /hid @echo off FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Program Installation" /f REG ADD %KEY%10 /VE /D "Windows uppdateringar" /f REG ADD %KEY%10 /V 1 /D "%PP%Applikationer\NotItegrated\NotIntegrated.cmd" /f REG ADD %KEY%20 /VE /D ".NET Framework 1.1" /f REG ADD %KEY%20 /V 1 /D "%PP%Applikationer\Framework\Framework.cmd" /f REG ADD %KEY%50 /VE /D "Windows Media Player 11" /f REG ADD %KEY%50 /V 1 /D "%PP%Applikationer\MediaPlayer\WMP.cmd" /f REG ADD %KEY%60 /VE /D ".NET Framework 2" /f REG ADD %KEY%60 /V 1 /D "%PP%Applikationer\Framework2\Framework2.cmd" /f REG ADD %KEY%70 /VE /D "Smart Card Cryptographic" /f REG ADD %KEY%70 /V 1 /D "%PP%Applikationer\SmartCardCryptographic\SCC.cmd" /f REG ADD %KEY%80 /VE /D "HighMAT-support i Skriv till CD-skiva" /f REG ADD %KEY%80 /V 1 /D "%PP%Applikationer\HighMAT\HMTCDWizard.msi /qn" /f REG ADD %KEY%\400 /VE /D "Raderar installationsfiler..." /f REG ADD %KEY%\400 /V 1 /D "%systemdrive%\Cleanup.cmd" /f REG ADD %KEY%\500 /VE /D "Internet Explorer 7.0" /f REG ADD %KEY%\500 /V 1 /D "%PP%Applikationer\IE7\Temp\IE7.cmd" /f shutdown.exe -r -t 40 -f -c "Installations processen startar om datorn..." exit IE7.cmd: cmdow @ /HID @Echo off FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\ Start /Wait %PP%Applikationer\IE7\IE7-WindowsXP-x86-sve.exe /passive /update-no /norestart SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "IE 7.0 uppdateringar" /f REG ADD %KEY% /V Flags /T REG_DWORD /D 0x80 /F REG ADD %KEY%\900 /VE TITLE /D "IE 7.0 uppdateringar" /f REG ADD %KEY%\900 /V 1 /D "%PP%Applikationer\IE7\IE7_Hotfix.cmd" /f REG ADD %KEY%\910 /VE /D "Startar om datorn" /f REG ADD %KEY%\910 /V 1 /D "cmd.exe /c shutdown -r -t 10 -c \"Installations processen startar om datorn...\"" /f shutdown.exe -r -t 10 -f -c "Installations processen startar om datorn..." Start /Wait %PP%Applikationer\IE7\IE7-Pause.cmd Exit IE7_Hotfix.cmd: cmdow @ /HID @Echo off FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\ Start /Wait %PP%Applikationer\IE7\IE7-KB929969-WindowsXP-x86-sve.exe /passive /norestart Start /Wait %PP%Applikationer\IE7\IE7-KB928090-WindowsXP-x86-sve.exe /passive /norestart /overwriteoem Exit IE7-Pause.cmd: cmdow @ /HID Pause exit You can use /quiet if you dont like /passive and change lanquage to yours. (Bad english but i hope you will understand.)
×
×
  • Create New...