Jump to content

Unattend problem


Recommended Posts

:)

Since I try to use RunOnceEx, install stalls at stage T-12 here is my runonceex.cmd

cmdow @ /HID@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installation des mises à jours et des programmes" /f
REG ADD %KEY%\001 /VE /D "Preparation de l'ordinateur" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f
REG ADD %KEY%\005 /VE /D "Mises a jours Windows XP"REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Hotfixes\hotfixes .cmd" /f
REG ADD %KEY%\005 /VE /D "Panneau de controle ATI"REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\applications\ati\cpanel\setup.exe -S" /f
REG ADD %KEY%\006 /VE /D "Adaware 6.0"REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\applications\adaware\aaw6181.exe /s" /f
REG ADD %KEY%\007 /VE /D "Adobe Acrobat Reader 6.0"REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\applications\AdobeReader\AdbeRdr60_fra_full.exe -p\"-s /v\\"/qn\\"\"" /f
REG ADD %KEY%\008 /VE /D "MSN Messenger 6.1"REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\applications\MSN\msnmsgs.msi /QB" /f
REG ADD %KEY%\009 /VE /D "Google Toolbar"REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\applications\googletoolbar\google_toolbar_google_toolbar_2.0.110_francais_10208.exe /q /d" /f
REG ADD %KEY%\010 /VE /D "Codecs Real Audio et Video"REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\applications\realalt\Real_Alternative_1.21.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\011 /VE /D "Codecs Quicktime"REG ADD %KEY%\011 /V 1 /D "%systemdrive%\install\applications\quicktimealt\quicktimealt132.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\012 /VE /D "Winrar 3.30"REG ADD %KEY%\012 /V 1 /D "%systemdrive%\install\applications\winrar\wrar330.exe /s" /f
REG ADD %KEY%\013 /VE /D "Microsoft Works Suite 7.0"REG ADD %KEY%\013 /V 1 /D "%systemdrive%\install\applications\MSWORKS\Install.exe /QB" /f
REG ADD %KEY%\014 /VE /D "Macromedia Flash & Shockwave Player"REG ADD %KEY%\014 /V 1 /D "%systemdrive%\install\applications\flash\Flash_Shockwave_Full.exe /s" /f
REG ADD %KEY%\015 /VE /D "Player et Codec Divx Pro "REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\applications\flash\Flash_Shockwave_Full.exe /s" /f
REG ADD %KEY%\020 /VE /D "Norton Internet Security - 90 jours "REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\applications\NIS2004\SymSetup.EXE /O REBOOT=ReallySuppress /QB" /f
REG ADD %KEY%\021 /VE /D "Winamp 5.03 "REG ADD %KEY%\021 /V 1 /D "%systemdrive%\install\applications\winamp\winamp503_snowpatrol.exe /S /install=DSRFQA" /f
REG ADD %KEY%\022 /VE /D "Modifications de la base de registre"REG ADD %KEY%\022 /V 1 /D "REGEDIT /S %systemdrive%\install\tweaks.reg" /f
REG ADD %KEY%\022 /VE /D "Fin de l'installation et redemarrage de l'ordinateur"REG ADD %KEY%\022 /V 1 /D ""%systemdrive%\install\cleanup.cmd" /f
EXIT

Can't see where it's wrong. Anyone help ?

I tried to execute it on a fresh install, and at reboot, runonceex menu is working...

Link to comment
Share on other sites


yes should do. Since you had double entries, and cmdow @ /HID in effect, it was asking you if you wanted to overwrite the existing entry, but you couldn't see the Command window.

Link to comment
Share on other sites

Exactly... It's solved. No more stall

But....I've got an invalid swtich warning in my adobe silent install... Think it's because I've some \" in excess

Will try another way, calling .cmd where switches were working

Thanx for help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...