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.

Windows 2000 runonceex

Featured Replies

hell`o i`m a beginner in unattended setups and i need a little help.....why the runonceex not work in win2k ??

i maked runonceex like this:

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:\CD.TXT SET CDROM=%%i:

SET PP=%cdrom%\Install\

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

REG ADD %KEY%\001 /V TITLE /D "Instalam......." /f

REG ADD %KEY%\000 /VE /D "Adobe Photoshop CS v.8.0" /f

REG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\ADOBE_PHOTOSHOP_CS\Adobe Photoshop CS\setup.exe /silent" /f

and it gives me the error .... "REG" is not recognized as an internal or external command,operable program or batch file........plz help me out :wacko:

have u tried it as a batch file, trying using the runoncex to call the batch file that will then install the program.............

you need to add reg.ex_ from windows xp cd to windows 2000 cd...then it will work...you will also need to update txtsetup.sif and dosnet.inf so it gets installed properly, but this topic is better suited in the unattended windows forum and not application installs.

for example:

runonceex:

cmdow @ /HID
@echo off

IF EXIST B:\CD.txt set CDROM=B:
IF EXIST C:\CD.txt set CDROM=C:
IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

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

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

REG ADD %KEY%\001 /VE /D "Apps1" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\install\Apps1.exe" /f

REG ADD %KEY%\002 /VE /D "Apps2" /f
REG ADD %KEY%\002 /V 1 /D "%cdrom%\install\Apps2.exe" /f

REG ADD %KEY%\003 /VE /D "Apps3" /f
REG ADD %KEY%\003 /V 1 /D "%cdrom%\install\Apps3.exe" /f

EXIT

APPS1

CLS
@echo off
ECHO.
ECHO Automated installations of various
ECHO software applications and windows updates.
ECHO.
ECHO Installing .NetFrameWork 1.1...
ECHO Please wait...
start /wait %systemdrive%\install\Netframework\netfx.msi /QB
ECHO.
ECHO Installing DirectX 9.0b
ECHO Please wait...
start /wait %systemdrive%\install\X9b\DXSETUP.exe /opk
ECHO.
ECHO Installing Microsoft JavaVM - Build 3810
ECHO Please wait...
start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:N
ECHO.
ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Adobe6\AR6.msi /QB
ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\Tweaks.reg
ECHO Finished Installing...
ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
ECHO.
EXIT

this is just an example of what i did in the past, just change the things to suit ur install......

he isnt asking how...runonceex physically DOES NOT work on w2k without adding reg.exe from windows xp. More to the point, there is no reg.exe in windows 2000, unless you add it.

right u mentioned that a couple posts be4 that, i was giving him the example of what to do after that...........

he isnt asking how...runonceex physically DOES NOT work on w2k without adding reg.exe from windows xp.  More to the point, there is no reg.exe in windows 2000, unless you add it.

that's slightly inaccurate.

If he had per say used an .REG file to import the entries or an INF file, then RunOnceEX would have gone off without a hitch. RunOnceEX is controlled by rundll32.exe and setupapi.dll among others, and NOT REG.EXE. REG.EXE is simply a commandline version of REGEDIT.EXE, and as such allows us to import command prompt variables without hardcoding paths in the CMD files. I personally use a INF file to import my entries.

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.