Jump to content

Recommended Posts

Posted

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


Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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