Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CmdLines.txt

Featured Replies

Hello All

I'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.inf

signature = "$CHICAGO$"

Compatible = 1

AdvancedINF = 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.cmd

CLS

@ECHO OFF

ECHO Adding Default User...

net user rlocone /add

net localgroup "administrators" rlocone /add

ECHO.

ECHO Applying Root Registry Tweaks...

REGEDIT /S %systemdrive%\regtweaks.reg

REGEDIT /S %systemdrive%\services.reg

ECHO.

EXIT

I never tried this approach before. If there is anything wrong in these files please let me know.

Thanks.


why not put them in $oem$\$1\...... ?

edit: i dont use this method, so it was justa logical question :)

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.