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.

Newbie Needs Help With Runonceex.cmd

Featured Replies

This is my file, but Ive removed a few of the programs that have serials.

The problem is my Drivers & InstallApps dont work.

My paths are:

K:\XPUnattendCorp\$OEM$\$1\Drivers

K:\XPUnattendCorp\$OEM$\$1\InstallApps

If I moved the InstallApps to the root of the CDRom drive it works.

Any ideas, whats wrong?

I thought the $1 copied stuff to the hard disk but its not working (Im using VMWare).

cmdow @ /HID

@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:

SET PP=%cdrom%\InstallApps\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Unattended Program Installation" /f

REG ADD %KEY%\009 /VE /D "GetRight" /f

REG ADD %KEY%\009 /V 1 /D "%PP%GetRight.exe /S" /f

REG ADD %KEY%\009 /V 2 /D "taskkill /IM getright.EXE /F" /f

REG ADD %KEY%\019 /VE /D "WinRAR 3.42" /f

REG ADD %KEY%\019 /V 1 /D "%PP%winrar.exe /s" /f

REG ADD %KEY%\024 /VE /D "Google Toolbar" /f

REG ADD %KEY%\024 /V 1 /D "%PP%GoogleToolbarInst3.exe /s /qn" /f

EXIT

Well if you want to install from the cd as you have indicated you will

need to move installapps to the root of the cd and not under $1, thats

my guess..........

BD

You need to follow the unattended guide to the letter, found off the home page here. If your new to UA installs please conquer the batch file method then move onto RunonceEx & CD method from there. Best advice I can give ya & don't expect to happen in five minutes mines taken nearly 18 Months to conquer. Good luck.

You should have a folder called InstallApps in your cd root. Try to keep it more standard. Here's mine. I have a folder called Apps in the root of my cd.

cmdow @ /HID
@Echo Off
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\WIN51 SET CDROM=%%d

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\000 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\000 /V 1 /D "%CDROM%\Apps\acroread7.exe" /f
REG ADD %KEY%\000 /V 2 /D "REGEDIT /S %CDROM%\Apps\1.reg" /f

  • Author

Thanks for your help guys.

But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?

K:\XPUnattendCorp\$OEM$\$1\Drivers

K:\XPUnattendCorp\$OEM$\$1\InstallApps

Thanks for your help guys.

But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?

K:\XPUnattendCorp\$OEM$\$1\Drivers

K:\XPUnattendCorp\$OEM$\$1\InstallApps

I guess you could post your winnit.sif without serial etc little difficult to analyze without it.

OEMPreInstall=YES

Have that in your WINNT.SIF.

And read THIS if you read nother else : http://www.msfn.org/board/index.php?showto...ndpost&p=270687

Second, you're batch file is set to install from the CDROM, not HDD. That's why when moving InstallApps to the root of the CD, it work.

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:

Finds the CDROm

SET PP=%cdrom%\InstallApps\

If you don't know what that is, then don't use it.

And $OEM$ should go in the I386 folder ONLY when installing from a network share or similar. From CD installs, it goes along side the I386 folder.

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.