rlocone Posted June 5, 2004 Share Posted June 5, 2004 Hello AllI've been trying another way to install stuff via a setup.inf file. Problem my cmdlines.txt file is not run?!?!$oem$\cmdlines.txt[COMMANDS]"RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 .\Setup.inf"$oem$\setup.infsignature = "$CHICAGO$"Compatible = 1AdvancedINF = 2.5,"You need a newer version of AdvPack.DLL!"LayoutFile = layout.inf, layout1.inf, layout2.inf[DefaultInstall]AddReg = AdvSetup[AdvSetup]HKLM,%RunOnce%setup,"User settings", 0, "%systemdrive%\\users.cmd"HKLM,%RunOnce%setup,"Acrobat", 0, "%systemdrive%\\install\\Apps\\Acrobat\\adberdr60_enu_full.exe -p"-s /v\"/qn\"""HKLM,%RunOnce%setup,"SpyBot", 0, "%systemdrive%\\install\\Apps\\Spybot\\spybotsd13.exe /silent"HKLM,%RunOnce%setup,"ISOBuster", 0, "%systemdrive%\\install\\Apps\\ISOBuster\\IsoBuster.exe /VERYSILENT /SP-"HKLM,%RunOnce%setup,"AdaWare", 0, "%systemdrive%\\install\\Apps\\Adware\\aaw6181.exe /s"HKLM,%RunOnce%setup,"Nero", 0, "%systemdrive%\\install\\Apps\\nero\\Nero63115.exe /silent /noreboot /no_ui"$oem$\users.cmdCLS@ECHO OFFECHO Adding Default User...net user rlocone /addnet localgroup "administrators" rlocone /addECHO.ECHO Applying Root Registry Tweaks...REGEDIT /S %systemdrive%\regtweaks.regREGEDIT /S %systemdrive%\services.regECHO.EXITI never tried this approach before. If there is anything wrong in these files please let me know.Thanks. Link to comment Share on other sites More sharing options...
MCT Posted June 5, 2004 Share Posted June 5, 2004 why not put them in $oem$\$1\...... ?edit: i dont use this method, so it was justa logical question Link to comment Share on other sites More sharing options...
DarkBringer Posted June 6, 2004 Share Posted June 6, 2004 As long as cmdlines.txt is in the right place it will run. It's the commands you specify (or do not specify) that could be the problem.I don't see the users.cmd in your cmdlines.txt so that won't execute. As for the setup.inf, [Version] is missing and a [string] value needs to be set for %RunOnce%. Not sure what "DefaultInstall 0" does but maybe you'll want to try "DefaultInstall 128". 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