Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Plz help with runonceex.cmd

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Pjshiva

Pjshiva
  • Member
  • 1 posts
  • Joined 07-March 12
  • OS:XP Pro x86
  • Country: Country Flag
Hey guys please help me with creating unattended cd of xp-32 such that when i put the cd in cdrom i will need not to click on anything also after the xp has been installed and first user screen executed runonce here i get the problem i need to click every software install on next,next tab and specify finish in each software installation in runonce.
plz help me to get rid of these extra clicks plzzzzzzz.

here is my runonceex.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 "RunOnceEx.cmd" /f

REG ADD %KEY%\00 /VE /D "winint" /f
REG ADD %KEY%\00 /V 1 /D "%PP%\Apps\winint.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\03 /VE /D "dotnetfx35" /f
REG ADD %KEY%\03 /V 1 /D "%PP%\Apps\dotnetfx35.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\06 /VE /D "KUNDLI" /f
REG ADD %KEY%\06 /V 1 /D "%PP%\Apps\KUNDLI\KUNDLI.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\09 /VE /D "Chrome" /f
REG ADD %KEY%\09 /V 1 /D "%PP%\Apps\Chrome.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\12 /VE /D "Firefox" /f
REG ADD %KEY%\12 /V 1 /D "%PP%\Apps\Firefox.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\15 /VE /D "FP" /f
REG ADD %KEY%\15 /V 1 /D "%PP%\Apps\FP.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\18 /VE /D "idm" /f
REG ADD %KEY%\18 /V 1 /D "%PP%\Apps\idm\idm.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\21 /VE /D "utorrent" /f
REG ADD %KEY%\21 /V 1 /D "%PP%\Apps\utorrent.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\24 /VE /D "aimp" /f
REG ADD %KEY%\24 /V 1 /D "%PP%\Apps\aimp.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\27 /VE /D "acro" /f
REG ADD %KEY%\27 /V 1 /D "%PP%\Apps\acro.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\30 /VE /D "pod" /f
REG ADD %KEY%\30 /V 1 /D "%PP%\Apps\pod.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\33 /VE /D "wrar" /f
REG ADD %KEY%\33 /V 1 /D "%PP%\Apps\wrar.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\36 /VE /D "winamp" /f
REG ADD %KEY%\36 /V 1 /D "%PP%\Apps\winamp.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\39 /VE /D "typetest" /f
REG ADD %KEY%\39 /V 1 /D "%PP%\Apps\typetest.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\42 /VE /D "teracopy" /f
REG ADD %KEY%\42 /V 1 /D "%PP%\Apps\teracopy.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\45 /VE /D "picasa2" /f
REG ADD %KEY%\45 /V 1 /D "%PP%\Apps\picasa2.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\48 /VE /D "mpcstar" /f
REG ADD %KEY%\48 /V 1 /D "%PP%\Apps\mpcstar.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\51 /VE /D "klm" /f
REG ADD %KEY%\51 /V 1 /D "%PP%\Apps\klm.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\54 /VE /D "JAD" /f
REG ADD %KEY%\54 /V 1 /D "%PP%\Apps\JAD.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\57 /VE /D "vlc" /f
REG ADD %KEY%\57 /V 1 /D "%PP%\Apps\vlc.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\60 /VE /D "Photo6" /f
REG ADD %KEY%\60 /V 1 /D "%PP%\Apps\Photo6\Photo6.exe /silent /noreboot /NO_UI /sn=<snip>/write_sn" /f

REG ADD %KEY%\63 /VE /D "photo7" /f
REG ADD %KEY%\63 /V 1 /D "%PP%\Apps\Photo7\Photo7.exe /silent /noreboot /NO_UI /sn=1045-0009-2130-3302-1733-9518 /write_sn" /f

REG ADD %KEY%\66 /VE /D "nero" /f
REG ADD %KEY%\66 /V 1 /D "%PP%\Apps\nero\nero.exe /silent /noreboot /NO_UI" /f

REG ADD %KEY%\69 /VE /D "office07" /f
REG ADD %KEY%\69 /V 1 /D "%PP%\Apps\office07\office07.exe /silent /noreboot /NO_UI/sn=<snip>/write_sn" /f

EXIT


plz help me guys i need to complete this project...


How to remove advertisement from MSFN

#2
urie

urie

    Senior Member

  • Member
  • PipPipPipPip
  • 519 posts
  • Joined 30-July 03
Probably due to the fact every program you have listed you are using inno setup switches you need to use correct switches for different types of installers.

#3
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,798 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag
You also should not post sn/keys for ANY app here on this forum.

Cheers and Regards

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN