Tbone2 Posted September 17, 2003 Share Posted September 17, 2003 webmedicwould ya know why i don't get IE OE or network when i use your script do.cmd. the hotfixes i use are the one in the pinned topic and only the ...this is on vp and clean install....seem that it does not load the workgroup service and no tweak file being used no updates installed ...just the hot fixes listed in the pinned tread.Thanks Tbone2 Link to comment Share on other sites More sharing options...
webmedic Posted September 17, 2003 Share Posted September 17, 2003 Are you trying ot authenticate on a domain? If so I dont run domains and so have not tested that. I would be willing to work on it with you though. Link to comment Share on other sites More sharing options...
chon_ Posted September 17, 2003 Author Share Posted September 17, 2003 really try this it will work better and is easier I had isues also for some reason the reg file would not apply.try this.http://board.MSFN.org/index.php?showtopic=8632I've tried and liked this method, but i cant get the cd swap thingy to work yet I only got it to work on the cmd and on the windows update methods, although i'm having some troubles on windows update Link to comment Share on other sites More sharing options...
webmedic Posted September 17, 2003 Share Posted September 17, 2003 ah ok if that is the case I'm finalizing using an inf for cd swaping right now. There are a few little issues but I'm getting them worked out. Hopefully a day or so and I'll have it working hows that. Link to comment Share on other sites More sharing options...
Enclave Posted September 17, 2003 Share Posted September 17, 2003 Chon the problem with your reg file is that you did not increment by 10s..... As explained previously by Terminator 2.... You went from 110 to 150. You need to go 110, 120, 130[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]"1"="C:\\Install\\copy.cmd"@="Copying Files Needed For Setup"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]"1"="C:\\Microsoft\\DirectX9\\dxsetup.exe /opk"@="DirectX 9.0b"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]"1"="C:\\Microsoft\\Msjava\msjava.cmd"@="Microsoft Java VM 3810"Anyway I do think that the reg way is much simpler to use. Less syntax in general. Its easy to script though but the reg way has alot less what do we say? Cut and Paste. However the inf way does have an advantage of being able to place a message at the top which I might wanna do to say my Best Friend is an id***... Link to comment Share on other sites More sharing options...
DaveXP Posted September 17, 2003 Share Posted September 17, 2003 for the people who are interested in the windows update method you do not have to have 10 per key it works as one per key to.EDIT:webmedic dont dismiss other peoples work just becasue a poll says so let people choose there own method and work problems out instead of say this ways better and this ways s*** it dont help anyone. And your work is good to but a little more complite to follow thats my people people do it different ways. Link to comment Share on other sites More sharing options...
junale Posted September 17, 2003 Share Posted September 17, 2003 hi, i'm using (at the moment) an automated generated windows-setup...First my older in $OEM$\$1\INSTALL:17.09.2003 09:14 <DIR> 100DirectX9b17.09.2003 09:14 <DIR> 110JavaVM17.09.2003 09:14 <DIR> 111JavaVM17.09.2003 09:14 <DIR> 120NetFramework17.09.2003 09:14 <DIR> 130WMP17.09.2003 09:14 <DIR> 150PowerToys17.09.2003 09:14 <DIR> 151PowerToys17.09.2003 09:15 <DIR> 500AdobeAcrobat17.09.2003 09:15 <DIR> 510NeroBurningROM17.09.2003 09:15 <DIR> 600NortonAntivirus17.09.2003 09:30 <DIR> 700Codec17.09.2003 09:16 <DIR> 800HotFix17.09.2003 09:30 <DIR> 900RegHack17.09.2003 09:16 <DIR> 999Clean11.09.2003 11:29 1.558 infSetup.cmdIn every subfolder i use two batches:infData.batinfSetup.batFor example we look into the subfolder with the files for DirectX (100DirectX9b) - the content of infData.bat:set infCommand=c:\\install\\100DirectX9b\\infSetup.batset infDescription=MS DirectX 9.0bthe content of infSetup.bat:@echo offclsecho DIRECTX: Please wait...start /wait %systemdrive%\install\100DirectX9B\dxsetup.exe /opkexitThat means, infData.bat will set two variables - one with the command to run infSetup.bat, one with the description shown in windows setup... Now to the main-batch infSetup.cmd in the "root":@ECHO OFFif "%1"==":" goto %2:Clear ScreanCLS:Displays MessageECHO infSetup: Starting (version 1.0)ECHO.:Check for automated installationECHO infSetup: Check if automated installation is needed...set infFound=Nofor /r %%i in (infData.bat) do if exist %%i set infFound=Yesif "%infFound%"=="No" goto :_donothingset infFound=:Generates Header of .inf-FileECHO infSetup: Generating .inf-SetupECHO Windows Registry Editor Version 5.00 > %tmp%\_infSetupECHO. >> %tmp%\_infSetupECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx] >> %tmp%\_infSetup:Startvalue of RunOnceEx\"xxx"-ValueSET infNumber=100:_loopECHO infSetup: Collecting information...for /r %%i in (infData.bat) do if exist %%i call %0 : _addInf %%iECHO infSetp: Applying generated .inf-File:REGEDIT /S %tmp%\_infSetupgoto _end:_addInfECHO infSetup: Trying to get data (%3)call %3if "infCommand"=="" goto _noCommandECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz%infNumber%] >> %tmp%\_infSetupECHO "1"="%infCommand%" >> %tmp%\_infSetupECHO @="%infDescription%" >> %tmp%\_infSetupECHO. >> %tmp%\_infSetupSET /A infNumber=%infNumber% + 1SET infCommand=SET infDescription=goto _eof:_donothingECHO infSetup: No .inf-Setup found...goto _eof:_noDescriptionset /a infDescription=%infNumber% - 99set infDescription=Task %infDescription%goto _eof:_noCommandgoto _eof:_endregedit /s %tmp%\_infSetupdel %tmp%\_infSetup:_eof(btw. any questions to the code?! i'll explain it, if this is needed)and to be completed in the winnt.sif you need folowing code:[GuiRunOnce] Command1="%systemdrive%\install\infSetup.cmd" Command2="shutdown -r -t 0 -f -d p:0:0"And you should set to Admint-Autologin-Count to 2 times...This i want to change and do my infSetup.cmd in the textmode... I'll try it soon... That would save me a reboot.... and mek it tidier and nicer...The Advantages of this method is - through folder-renaming you change the installation order.The add, you just make an new folder, copy neede files into it and make the two batches.What do you mean? 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