Bigyaa Posted January 29, 2009 Share Posted January 29, 2009 here are my cmdlines.txt, RunOnceEx.cmd & cleanup.cmd files, i can't make the programs install to work, it seems like it doesn't even start the RunOnceEx commands. pls help me, i used the official guide (http://unattended.msfn.org/unattended.xp/) and some silent install guides i found over the internet. thanks.cmdlines.txt:[COMMANDS]"RunOnceEx.cmd"RunOnceEx.cmd:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\002 /VE /D "Windows Live Messenger 9" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\wlm9.exe" /fREG ADD %KEY%\001 /VE /D "Perfect Disk 9.00.76" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\perfectdisk.exe /s /v /qn" /fREG ADD %KEY%\003 /VE /D "SMPlayer 0.6.6" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\smplayer.exe" /fREG ADD %KEY%\004 /VE /D "Uninstall Tool 1.6.6" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\uninstall.exe /qb /norestart" /fREG ADD %KEY%\005 /VE /D "Double Driver 2.1" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\driver.exe /qb /norestart" /fREG ADD %KEY%\006 /VE /D "Quicksys RegDefrag 2.2" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\regdefrag.exe /qb /norestart" /fREG ADD %KEY%\007 /VE /D "Subtitle Workshop 2.51" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\subworkshop.exe /qb /norestart" /fREG ADD %KEY%\008 /VE /D "Vista Codec Package 5.1.0" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\vistacodex.exe /S /v/qn" /fREG ADD %KEY%\009 /VE /D "BurnAware Free 2.2.3" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\burnaware.exe /qb /norestart " /fREG ADD %KEY%\010 /VE /D "Daemon Tools Lite" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\daemontools.exe /S /D=%systemdrive%\$Progs\Daemon Tools\" /fREG ADD %KEY%\011 /VE /D "NOD32 3.0.684" /fREG ADD %KEY%\011 /V 1 /D "%systemdrive%\install\nod32.exe /silentmode" /fREG ADD %KEY%\012 /VE /D "WinISO 5.3" /fREG ADD %KEY%\012 /V 1 /D "%systemdrive%\install\winiso.exe /VERYSILENT /SP-" /fREG ADD %KEY%\012 /V 2 /D "taskkill /F /IM WinISO.exe" /fREG ADD %KEY%\013 /VE /D "Firefox 3.0.3" /fREG ADD %KEY%\013 /V 1 /D "%systemdrive%\install\firefox.exe -ms" /fREG ADD %KEY%\014 /VE /D "Sun Java 6.11" /fREG ADD %KEY%\014 /V 1 /D "%systemdrive%\install\java.exe /s /v/qn" /fREG ADD %KEY%\014 /V 2 /D "REGEDIT /S %systemdrive%\install\RemoveSunJavaUpdateCheck.reg" /fREG ADD %KEY%\015 /VE /D "7-Zip 4.64" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\7zip.exe /qb /norestart" /fREG ADD %KEY%\016 /VE /D "Unlocker 1.87" /fREG ADD %KEY%\016 /V 1 /D "%systemdrive%\install\unlocker.exe /s" /fREG ADD %KEY%\017 /VE /D "Ad-Aware 2007 Pro 7.0.2.5" /fREG ADD %KEY%\017 /V 1 /D "%systemdrive%\install\adaware.exe /silent" /fREG ADD %KEY%\018 /VE /D "CCleaner 2.15.815" /fREG ADD %KEY%\018 /V 1 /D "%systemdrive%\install\ccleaner.exe /S" /fREG ADD %KEY%\019 /VE /D "CleanMem" /fREG ADD %KEY%\019 /V 1 /D "%systemdrive%\install\cleanmem.exe /S" /fREG ADD %KEY%\020 /VE /D "Flash Player" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\flashplayer.exe /S" /fREG ADD %KEY%\021 /VE /D "JetAudio 7.18 Plus" /fREG ADD %KEY%\021 /V 1 /D "%systemdrive%\install\jetaudio.exe -S -f1 %systemdrive%\install\jetaudio.iss" /fREG ADD %KEY%\022 /VE /D "Mp3Tag 2.42" /fREG ADD %KEY%\022 /V 1 /D "%systemdrive%\install\mp3tag.exe /S" /fREG ADD %KEY%\023 /VE /D "AI Roboform" /fREG ADD %KEY%\023 /V 1 /D "%systemdrive%\install\roboform.exe /silent" /fREG ADD %KEY%\023 /V 2 /D "%systemdrive%\install\roboform1.exe /s" /fREG ADD %KEY%\024 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\024 /V 1 /D "REGEDIT /S %systemdrive%\install\tweaks.reg" /fREG ADD %KEY%\025 /VE /D "Importing Services Tweaks" /fREG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\services.reg" /fREG ADD %KEY%\026 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\026 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITcleanup.cmd:cmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Messenger.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\MSN.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXIT Link to comment Share on other sites More sharing options...
MHz Posted January 29, 2009 Share Posted January 29, 2009 Welcome,Perhaps the application setup files are not copied over at textmode part of setup. You may need to set OemPreinstall=Yes in your unattended answer file and to have your application setup files in the $OEM$ Distribution Folders. Link to comment Share on other sites More sharing options...
Bigyaa Posted January 29, 2009 Author Share Posted January 29, 2009 (edited) thx for the fast reply, here's my winnt.sif file, as you can see OemPreinstall="Yes", maybe it should be without "quotes"?[Data]Autopartition=1MsDosInitiated=0UnattendedInstall="Yes"AutomaticUpdates="Yes"FloppyLess=1[Unattended]UnattendMode=FullUnattendedOemPreinstall="Yes"OemSkipEula="Yes"TargetPath=\WINDOWSFileSystem=*UnattendSwitch="yes"WaitForReboot="No"DriverSigningPolicy=IgnoreOemPnPDriversPath="drivers\000_Net;drivers\001_hdc;drivers\002_MEDIA;drivers\003_display;drivers\004_Printer"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1Hibernation="No"KeyboardLayout="US"[GuiUnattended]AdminPassword=*EncryptedAdminPassword=NoOEMSkipRegional=1TimeZone=135OemSkipWelcome=1[UserData]ProductKey="XXXX-XXXX-XXXX-XXXX-XXXX"FullName="Yaniv"OrgName="Home"ComputerName=desktop[Display]BitsPerPel=32Xresolution=1280YResolution=1024Vrefresh=85AutoConfirm=1[Components][Shell]CustomDefaultThemeFile ="%WinDir%\Resources\Themes\LE5.theme"[RegionalSettings]LanguageGroup=1,12Language= "0409"[Networking]InstallDefaultComponents="Yes" Edited January 29, 2009 by Bigyaa Link to comment Share on other sites More sharing options...
krose Posted January 29, 2009 Share Posted January 29, 2009 Make sure your install folder is located here: $OEM$/$1/install, and that RunOnceEx.cmd and cmdlines.txt are in the $OEM$ folder. Link to comment Share on other sites More sharing options...
Bigyaa Posted January 29, 2009 Author Share Posted January 29, 2009 (edited) Make sure your install folder is located here: $OEM$/$1/install, and that RunOnceEx.cmd and cmdlines.txt are in the $OEM$ folder.they are. any other suggestions?btw it copies the install dir to root but doesn't install the programs inside Edited January 29, 2009 by Bigyaa Link to comment Share on other sites More sharing options...
mara- Posted January 29, 2009 Share Posted January 29, 2009 (edited) I don't know is this important, but you are using wrong numbering in first part:REG ADD %KEY%\002 /VE /D "Windows Live Messenger 9" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\wlm9.exe" /fREG ADD %KEY%\001 /VE /D "Perfect Disk 9.00.76" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\perfectdisk.exe /s /v /qn" /ffYou added first 002 and then 001. Maybe you should put this in order. Also, where do you put your cmdlines.txt and runonceex.cmd?Cheers Edited January 29, 2009 by mara- Link to comment Share on other sites More sharing options...
Bigyaa Posted January 29, 2009 Author Share Posted January 29, 2009 thx i didn't notice this.cmdlines.txt and runonceex.cmd are in $OEM$ folder. Link to comment Share on other sites More sharing options...
mara- Posted January 29, 2009 Share Posted January 29, 2009 thx i didn't notice this.cmdlines.txt and runonceex.cmd are in $OEM$ folder.OK, maybe that will fix the problem. You placed cmdlines.txt and runonceex.cmd in good place. I compared mine working RunOnceEx.cmd with your and except the thing about ordering I mentioned, everything is fine. Also, one note. In my winnt.sif I don't have OemPreinstall at all, and RunOnceEx works fine.Cheers Link to comment Share on other sites More sharing options...
Bigyaa Posted January 30, 2009 Author Share Posted January 30, 2009 OK, maybe that will fix the problem. You placed cmdlines.txt and runonceex.cmd in good place. I compared mine working RunOnceEx.cmd with your and except the thing about ordering I mentioned, everything is fine. Also, one note. In my winnt.sif I don't have OemPreinstall at all, and RunOnceEx works fine.Cheers i tried without OemPreinstall=Yes and it doesn't work because my files are not copied to the HD, so RunOnceEx can't install them.anyway i tried making only 1 entry with java install and it doesn't work either. HELP!!!cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Sun Java 6.11" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\java.exe /s /v/qn" /fREG ADD %KEY%\001 /V 2 /D "REGEDIT /S %systemdrive%\install\RemoveSunJavaUpdateCheck.reg" /fREG ADD %KEY%\002 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
mara- Posted January 30, 2009 Share Posted January 30, 2009 (edited) Where did you placed your cmdow on your CD? Anyway, here is example of my working RunOnceEx which may help you. There is one difference. I don't copy my applications to HDD, I run it directly from a CD.cmdow @ /HID@Echo OffFOR %%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:\i386\winnt.exe SET CDROM=%%i:SET PP=%cdrom%\Apps\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Finalizing installation - Installing necessary applications" /fREG ADD %KEY%\001 /VE /D ".NET Framework V3.5 SP1 - Lite" /fREG ADD %KEY%\001 /V 1 /D "%PP%010_dotNET35SP1-Lite.exe -ai" /fEXITCheers Edited January 30, 2009 by mara- Link to comment Share on other sites More sharing options...
Bigyaa Posted January 30, 2009 Author Share Posted January 30, 2009 cmdow is in the right place (%OEM%/$$/System32)i'll try the "from the disk" installation method maybe thats the root of all my problems. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now