reganetal Posted July 14, 2005 Share Posted July 14, 2005 Hi all, I am hoping someone could help me. I am attempting to make a win2k unattended cd with applications and I cant seem to get it to work. I followed through the tutorial and I can get my winnt.sif file to work. Although I have a few minor problems. (areacode=602) doesnt work.[Unattended] UnattendMode=DefaultHide OemSkipEula=Yes TargetPath=\WINNT OemPreinstall=Yes OemFilesPath=..\$OEM$[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[GuiUnattended] AdminPassword=password AutoLogon=Yes AutoLogonCount=3 OEMSkipRegional=1 TimeZone=15 OemSkipWelcome=1 AutoLogonAccountCreation=Yes[UserData] ProductKey=xxxx-xxxx-xxxx-xxxx OrgName=Computer ComputerName=*[Display] BitsPerPel=24 Xresolution=1024 YResolution=768 Vrefresh=60[TapiLocation] CountryCode=1 AreaCode= "602"[Identification] JoinWorkgroup=HOME[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP MS_NetBEUI=params.MS_NetBEUI[params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0[Components] cdplayer=off accessopt=off rec=off[COMMANDS]".\RunOnceEx.cmd";".\cleanup.cmd""Regedit /s regtweaks.reg""Regedit /s domainmaps.reg""Regedit /s zonemaps.reg""Regedit /s sguide_tweak_2k.reg"cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Unattended Program Installation" /fREG ADD %KEY%\000 /VE /D "Adobe Reader 7.0" /fREG ADD %KEY%\000 /V 1 /D "%PP%AdbeRdr70_enu_full.exe -q /s /v/qn" /fREG ADD %KEY%\001 /VE /D "AVG Free 7.0" /fREG ADD %KEY%\001 /V 1 /D "%PP%avg70free_323a539.exe /HIDE /Update_AVG" /fREG ADD %KEY%\002 /VE /D "Ad-Aware" /fREG ADD %KEY%\002 /V 1 /D "%PP%aawsepersonal.exe /silent" /fREG ADD %KEY%\003 /VE /D "SpyBot Search & Destroy" /fREG ADD %KEY%\003 /V 1 /D "%PP%spybotsd12.exe /silent /taskbarhide /autoupdate /autocheck /autofix /autoimmunize /autoclose" /fREG ADD %KEY%\004 /VE /D "Win Rar" /fREG ADD %KEY%\004 /V 1 /D "%PP%wrar341.exe /s" /fREG ADD %KEY%\005 /VE /D "Winamp 5.09" /fREG ADD %KEY%\005 /V 1 /D "%PP%Winamp5093.msi xfull=1 /qb" /fREG ADD %KEY%\006 /VE /D "IrfanView" /fREG ADD %KEY%\006 /V 1 /D "%PP%iview397.exe silent /desktop=1 /group=1 /allusers=1 /assoc=1" /fREG ADD %KEY%\007 /VE /D "IrfanView Plugins" /fREG ADD %KEY%\007 /V 1 /D "%PP%irfanview_plugins_397.exe /silent" /fREG ADD %KEY%\008 /VE /D "IE PowerTweaks" /fREG ADD %KEY%\008 /V 1 /D "%PP%pwrtwks.exe /silent" /fEXITMy structure looks like this cd |i386 |$OEM$ cmdlines.txt runonceex.cmd various reg files cleanup.cmd |$$ |System32 |cmdow.exe |$1 |Install |Applications |Various application files as aboveIf anyone can see what in the world I am doing wrong please let me know. Windows will install but I do not get any of the applications loaded or registry fixes.Take careLouree Link to comment Share on other sites More sharing options...
reganetal Posted July 14, 2005 Author Share Posted July 14, 2005 Oh, I should also state that I dont get any errors, and with the cleanup.cmd removed, I don't even get the files copied to the disk. Link to comment Share on other sites More sharing options...
Alanoll Posted July 14, 2005 Share Posted July 14, 2005 not entirely sure of your REGEDIT problem off the top of my head...However, Windows 2000 does NOT have teh REG.EXE command bundled with it. You'll have to download it yourself and either ahve it copy over before calling it, or use paths to the REG command itself.http://www.msfn.org/board/index.php?act=At...pe=post&id=4316 Link to comment Share on other sites More sharing options...
reganetal Posted July 14, 2005 Author Share Posted July 14, 2005 How is this a regedit problem? Link to comment Share on other sites More sharing options...
Yzöwl Posted July 14, 2005 Share Posted July 14, 2005 What Alanoll is saying is that your runonceex.cmd is using an executable, which doesn't exist as part of your OS.REG ADDthis is reg.exe addor if not in %path%,drive:\path to\reg.exe addYou will therefore need to add the REG.EXE to your CD, then either copy it to an appropriate location in %PATH%, (from your $OEM$), or reference its location on the CD as part of the commands in your runonceex.cmd file Link to comment Share on other sites More sharing options...
dansouza Posted March 6, 2006 Share Posted March 6, 2006 I can't get RunOnceEx to work in Windows 2000 either. Exact same RunOnceEx and $OEM$ Folder Tree works in XP but under 2K nothing happens at all. No error messages, just nothing. It gets completely ignored. "Install" and "Drivers" folders get copied to the hard drive but software doesn't install. Link to comment Share on other sites More sharing options...
tommyp Posted March 6, 2006 Share Posted March 6, 2006 Unlike XP, W2K needs to have the full path for your commands. So a simple regedit.exe /s blah.reg won't work. Instead, you need a %windir%\regedit.exe /s blah.reg. 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