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.

RunOnceEx problem

Featured Replies

hi,

ive follwed the guide on the unattended installs everything works fine but for the runonceex.cmd. I've tried running it to test bt nothing is added in the registry and the messages i get is that cmdow is not a recognisible command this also happens with the REG command.

All the files are in the right place. I have a unattend.txt file do i place the [runonceex] command in there or in the cmdlines.txt file?

Cheers for any help on this, it is beginning to drive me round the bend!

Here's my runonceec.cmd file

cmdow @ /HID

@echo off

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

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

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AR6\AR6.exe -p"-s /v\"/qn\"""

REG ADD %KEY%\010 /VE /D "CRT 3.3" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\CRT33\setup.exe /qn" /f

REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\CRT33\register.reg" /f

REG ADD %KEY%\015 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT


If you want to just test it remove the cmdow @ /HID line

Otherwise that tells you that the cmdow.exe is not present in Windows\system32 folder. Go back to the guide and download that and place in system32, it also has to be copied on setup. Do that by placing in the XPCD\$OEM$\$$\System32\ folder

  • Author

cheers for the reply, i did try that but still there are no entries in the registry. im am installing winxp, does that make a difference?

turn echo on, and post what it says. You may not have REG, which would stop the cmd from adding to the registry.

  • Author

no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.

How would i add REG?

no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.

im not an expert on this (ive only just started myself)

but, adding the $oem$ folder in the i386 dir. wouldnt copy 2 the correct destination would it

but 2 add a reg file is REGEDIT /S <path>\filename.reg

On a customised XP CD, $OEM$ goes at the root of the CD...

....it would only go inside if you were doing a network install of XP.

no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.

The drivers may have not been picked up for many reasons - one would be that you can't simply put the driver file(s) there and expect it to automatically install them, you need to add entries in the winnt.sif file

I don't think they would be picked up at all by any other means but I could well be wrong regarding that but the $OEM$ folder shouldn't reside in the i386 folder definately (unless its a network install)

Regards,

N.

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.