HPeron Posted November 4, 2006 Share Posted November 4, 2006 Hello all,Before you all ask:1) The original WINNT.SI_ on \I386 was deleted.2) The new WINNT.SIF contains OEMPreInstall=Yes on [unattended].3) The structure of the folders is like that:\$OEM$ \$$ \system32 \$1 \Install \ie6 \dx9c \wmp9 \...plus other folders\I386\...Some other folders...Some files in the root4) Cmdlines.txt and RunOnceEx.cmd are in \$OEM$ folder.5) cmdow.exe is in \$OEM$\$$\system32.Having said that, the problem is: even though all folders under $OEM$\$1\ are correctly copied to C:\Install, the applications aren't installed during the unattended Windows 2000 Professional installation.My RunOnceEx.cmd:@Echo Offcmdow @ /HIDSET PP=%systemdrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Instalando programas" /fREG ADD %KEY%\000 /VE /D "Internet Explorer 6.0 SP1" /fREG ADD %KEY%\000 /V 1 /D "%PP%ie6\ie6setup.exe /Q:A" /fREG ADD %KEY%\005 /VE /D "Windows Media Player 9" /fREG ADD %KEY%\005 /V 1 /D "%PP%wmp9\MPSetup.exe /Q:A /R:N /C:\"setup_wm.exe /DisallowSystemRestore /Q:A /R:N\"" /fREG ADD %KEY%\010 /VE /D "DCOM 2.8 SP1" /fREG ADD %KEY%\010 /V 1 /D "%PP%dcom28\setup.exe /install /silent" /fREG ADD %KEY%\012 /VE /D "Microsoft VGX" /fREG ADD %KEY%\012 /V 1 /D "%PP%vgx\vgxupdate.exe /install /silent" /fREG ADD %KEY%\014 /VE /D "Windows Script 5.6" /fREG ADD %KEY%\014 /V 1 /D "%PP%ws56\jscrptb.inf /install /silent" /fREG ADD %KEY%\015 /VE /D "DirectX 9.0c" /fREG ADD %KEY%\015 /V 1 /D "%PP%dx9c\dxsetup.exe /install /silent" /fREG ADD %KEY%\020 /VE /D "MSN Messenger 7.0.0816" /fREG ADD %KEY%\020 /V 1 /D "%PP%msn\MsnMsgs.msi /qn" /fREG ADD %KEY%\025 /VE /D "Ad-Aware Personal 1.06r1" /fREG ADD %KEY%\025 /V 1 /D "%PP%adaware\aawsepersonal.exe /silent" /fREG ADD %KEY%\030 /VE /D "SpyBot Search and Destroy 1.4" /fREG ADD %KEY%\030 /V 1 /D "%PP%spybot\spybotsd14.exe /verysilent" /fREG ADD %KEY%\035 /VE /D "Bazooka Scanner 1.13.03" /fREG ADD %KEY%\035 /V 1 /D "%PP%bazooka\bazookasetup.exe -s" /fREG ADD %KEY%\040 /VE /D "Adobe Reader 7.0.8" /fREG ADD %KEY%\040 /V 1 /D "%PP%pdf\AR708Ptb.msi /qn" /fREG ADD %KEY%\045 /VE /D "Alterando registro" /fREG ADD %KEY%\045 /V 1 /D "REGEDIT /S %PP%RegTweak.reg" /fREG ADD %KEY%\050 /VE /D "Removendo instaladores" /fREG ADD %KEY%\050 /V 1 /D "%PP%Limpeza.cmd" /fEXITSimple question: What am I missing? :-(Thank you all,Henrique Link to comment Share on other sites More sharing options...
Ctrl-X Posted November 4, 2006 Share Posted November 4, 2006 You didn't post your Cmdlines.txt; what's in there? You didn't forget to call your RunOnceEx.cmd from Cmdlines.txt, right? If you didn't, try running RunOnceEx.cmd manually on a running system and then check the registry entries using Regedit.By the way: while typing this I realize that reg.exe isn't included with Windows 2000, so don't forget to include that as well (preferably in $OEM$\$$\system32). Link to comment Share on other sites More sharing options...
HPeron Posted November 4, 2006 Author Share Posted November 4, 2006 Hi Ctrl-X,my cmdlines.txt file (which is in \$OEM$\):[COMMANDS]"RunOnceEx.cmd"By the way, where is this REG.EXE file?Is it REGEDIT.EXE?I tested my RunOnceEx.cmd and it worked; it has correctly inserted the lines into the registry.Thanks,Henrique Link to comment Share on other sites More sharing options...
Yzöwl Posted November 4, 2006 Share Posted November 4, 2006 REG.EXE is a resource kit tool for Windows 2000, it does not form part of the Operating System. It should be found in your system directory although it will work anywhere within your PATH.Since you say that all the runonceex.cmd lines are applied to the registry you must have it! Link to comment Share on other sites More sharing options...
Ctrl-X Posted November 4, 2006 Share Posted November 4, 2006 REG.EXE is a resource kit tool for Windows 2000, it does not form part of the Operating System. It should be found in your system directory although it will work anywhere within your PATH.Since you say that all the runonceex.cmd lines are applied to the registry you must have it!Correct; apparently the Resource Kit tools are installed on the system the RunOnceEx.cmd test was performed on. But is reg.exe included in the OS image that is used for the unattended install? If it isn't, the entries won't be added to the registry. Link to comment Share on other sites More sharing options...
HPeron Posted November 4, 2006 Author Share Posted November 4, 2006 Thank you Ctrl-X!I've copied REG.EXE (from an already installed WinXP) into \$OEM$\$$\system32 and it all worked!Now I have some other problems but I won't post them here.It's about parameters used to install programs.I guess I found a thread about that somewhere in this forum.By the way, I was even able to integrate Internet Explorer 6.0 SP1 (RunOnceEx.cmd) into Win2k without problems.Last but not least - Yzöwl, thanks for mentioning the resource kit. I found it in \SUPPORT folder of the Win2k installation CD. However, I would have to install Win2k manually, install the resource kit, grab REG.EXE, include it into \$OEM$\$$\system32 on my HDD, generate a new Win2k install CD and finally perform a new, unattended Win2k installation... I wonder why M$ made things so difficult on those Win2k days. We don't run into such a problem when trying to make an unattended WinXP installation. By the way, this info about REG.EXE should be mentioned in the Unattended Guide! It made all the difference in the world!(Well, perhaps it's already there and I didn't notice...)Have a nice day you both,Henrique 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