June 5, 200422 yr 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.
June 5, 200422 yr why not put them in $oem$\$1\...... ?edit: i dont use this method, so it was justa logical question
June 6, 200422 yr 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".
Create an account or sign in to comment