MSFN Forum: Plz help with runonceex.cmd - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Plz help with runonceex.cmd post insatall windows 3rd party programs Rate Topic: -----

#1 User is offline   Pjshiva 

  • Group: Members
  • Posts: 1
  • Joined: 07-March 12
  • OS:XP Pro x86
  • Country: Country Flag

Posted 08 March 2012 - 09:52 AM

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


#2 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 517
  • Joined: 30-July 03

Posted 08 March 2012 - 12:05 PM

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 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,081
  • Joined: 12-May 07

Posted 09 March 2012 - 01:19 AM

You also should not post sn/keys for ANY app here on this forum.

Cheers and Regards

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy