Jump to content

Recommended Posts

Posted

Hello, I have created RunOnceEx and copied in $oem$.After the RunOnceEx installation it does not come executed.

My cmdlines.txt:

[COMMANDS]"useraccounts.cmd"

"RunOnceEx.cmd"

My winnt.sif:

;SetupMgrTag 

 

[Data] 

    AutoPartition=0 

    MsDosInitiated="0" 

    UnattendedInstall="Yes" 

 

[unattended] 

    UnattendMode=FullUnattended 

    OemSkipEula=Yes 

    OemPreinstall=Yes

    FileSystem=*

    Repartition=No 

    UnattendSwitch="Yes" 

    WaitForReboot="No" 

    TargetPath=\Windows

    OemPnPDriversPath="

DriverSigningPolicy=Ignore

   

   

[GuiUnattended] 

   

    OEMSkipRegional=1 

    TimeZone=110 

    OemSkipWelcome=1

    AdminPassword=*

    EncryptedAdminPassword=No

    OemSkipWelcome=1

     

 

[userData] 

    ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx 

    FullName="Utente" 

    OrgName="" 

    ComputerName=*

 

[Display] 

    BitsPerPel=32 

    Xresolution=1024 

    YResolution=768 

    Vrefresh=85

   

  

[Identification]

    JoinWorkgroup=Workgroup

[Networking]

    InstallDefaultComponents=Yes

    Home_Page=http://www.google.it/

    Search_Page=http://www.google.it/

   

[Components]

    AccessOpt=off

    msmsgs=off 

   

[GuiRunOnce]

My RunOnceEx:

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "INSTALLAZIONE PROGRAMMI" /f

REG ADD %KEY%\001 /VE /D ".Net Framework 1.1" /f

REG ADD %KEY%\001/V 1 /D "%systemdrive%\install\DOTNETFX\netfx.msi /QN" /f

REG ADD %KEY%\005 /VE /D ".NET FRAMEWORK 1.1 SP1" /f

REG ADD %KEY%\005/V 1 /D "%systemdrive%\install\DOTNETFX\NDP1.1sp1-KB867460-X86.exe /Q" /f

REG ADD %KEY%\010 /VE /D ".NET FRAMEWORK 1.1 SP2" /f

REG ADD %KEY%\010/V 1 /D "%systemdrive%\install\DOTNETFX\NDP10_SP_Q322036_It.exe /Q:A /R:N" /f

REG ADD %KEY%\015 /VE /D "WINDOWS SCRIPT 5.6" /f

REG ADD %KEY%\015/V 1 /D "%systemdrive%\install\scriptit.exe /Q:A /R:N" /f

REG ADD %KEY%\020 /VE /D "AVG ANTIVIRUS" /f

REG ADD %KEY%\020/V 1 /D "%systemdrive%\install\avg.cmd" /f

REG ADD %KEY%\025 /VE /D "ADOBE ACROBAT 6.0 PROFESSIONAL" /f

REG ADD %KEY%\025/V 1 /D "%systemdrive%\install\AdobeReader6\setup.exe /S /v/qn" /f

REG ADD %KEY%\030 /VE /D "POWER DVD" /f

REG ADD %KEY%\030/V 1 /D "%systemdrive%\install\PowerDVD\Setup.exe -s -f1 %systemdrive%\INSTALL\PowerDVD\setup.iss" /f

REG ADD %KEY%\035 /VE /D "DVDSHRINK" /f

REG ADD %KEY%\035/V 1 /D "%systemdrive%\install\dvdshrink317setup.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\040 /VE /D "FLASHPLAYER" /f

REG ADD %KEY%\040/V 1 /D "%systemdrive%\install\Flash.exe /s" /f

REG ADD %KEY%\045 /VE /D "CODEC DIVX E XVID" /f

REG ADD %KEY%\045/V 1 /D "%systemdrive%\install\klcodec225b.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\050 /VE /D "EMULE 0.44B" /f

REG ADD %KEY%\050/V 1 /D "%systemdrive%\install\eMule0.44b_Installer.exe /S" /f

REG ADD %KEY%\055 /VE /D "VIRTUAL PC" /f

REG ADD %KEY%\055/V 1 /D "%systemdrive%\install\VirtualPc\"Microsoft Virtual PC 2004".msi /QN" /f

REG ADD %KEY%\060 /VE /D "MSN MESSENGER" /f

REG ADD %KEY%\060/V 1 /D "%systemdrive%\install\MsnMsgs.msi /QB" /f

REG ADD %KEY%\065 /VE /D "NERO 63120" /f

REG ADD %KEY%\065/V 1 /D "%systemdrive%\install\Nero\nero63120.exe /SILENT /NOREBOOT /SN= /WRITE_SN" /f

REG ADD %KEY%\070 /VE /D "NERO 63120 LINGUA ITALIANA" /f

REG ADD %KEY%\070/V 1 /D "%cdrom%\install\Nero\NBR63120ITA.exe /SILENT /NOREBOOT /" /f

REG ADD %KEY%\075 /VE /D "NEROVISION 21218" /f

REG ADD %KEY%\075/V 1 /D "%cdrom%\install\Nero\nve21218.exe /SILENT /NOREBOOT /" /f

REG ADD %KEY%\080 /VE /D "NEROVISION 21218 LINGUA ITALIANA" /f

REG ADD %KEY%\080/V 1 /D "%systemdrive%\install\Nero\NVE21218ITA.exe /SILENT /NOREBOOT /" /f

REG ADD %KEY%\085 /VE /D "NERO MPEG2 DVD PLUG IN" /f

REG ADD %KEY%\085/V 1 /D "%systemdrive%\install\"MPEG2 DVD  plugin for NERO".exe" /f

REG ADD %KEY%\090 /VE /D "NERO MPEG2 SVCD PLUG IN" /f

REG ADD %KEY%\090/V 1 /D "%systemdrive%\install\"MPEG2 SVCD  plugin for NERO".exe" /f

REG ADD %KEY%\095 /VE /D "NERO  MP3 PLUG IN" /f

REG ADD %KEY%\095/V 1 /D "%systemdrive%\install\"Nero MP3 & MP3 Pro plugin for NERO".exe" /f

REG ADD %KEY%\100 /VE /D "OFFICE 2003" /f

REG ADD %KEY%\100/V 1 /D "%systemdrive%\install\Office2003\SETUP.exe" /f

REG ADD %KEY%\105 /VE /D "OUTPOUST FIREWALL" /f

REG ADD %KEY%\105/V 1 /D "%systemdrive%\install\Agnitum\OutpostProInstall_2.1ftt_it.exe -s" /f

REG ADD %KEY%\110/V 1 /D "%systemdrive%\install\outpost.cmd" /f

REG ADD %KEY%\115 /VE /D "WINISO" /f

REG ADD %KEY%\115/V 1 /D "%systemdrive%\install\winiso.exe" /f

REG ADD %KEY%\120 /VE /D "WINAMP" /f

REG ADD %KEY%\120/V 1 /D "%systemdrive%\install\winamp.exe" /f

REG ADD %KEY%\125 /VE /D "PHOTOFILTRE" /f

REG ADD %KEY%\125/V 1 /D "%systemdrive%\install\PhotoFiltre.exe" /f

REG ADD %KEY%\130 /VE /D "WINRAR 3.30 ITA" /f

REG ADD %KEY%\130/V 1 /D "%systemdrive%\install\WRar330i.exe /s" /f

REG ADD %KEY%\135 /VE /D "PASSAGGIO ALLA RISOLUZIONE VIDEO 1024x768" /f

REG ADD %KEY%\135/V 1 /D "%systemroot%\system32\1365VidChng.exe 1024x768x32@85 -q" /f

REG ADD %KEY%\140/V 1 /D "%systemdrive%\install\collegamenti.cmd" /f

REG ADD %KEY%\140/V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

REG ADD %KEY%\145 /VE /D "ELIMINAZIONE DEI FILE TEMPORANEI E RIAVVIO DEL PC" /f

REG ADD %KEY%\150/V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Where mistake? Thanks.


Posted

EVerything looks find (mind you I'm glancing), but the question is when are you expecting it to run?

The way you have it, it should Run when the system restarts after setup.

Posted

Thanks, in C come copied the dir: driver and install, but RunOnceEx after the reboot of the PC does not come executed.

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...