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.

Need Some Help With Runonceox

Featured Replies

I was reading http://gosh.msfnhosting.com/using_runonceex.htm

I did what it said Hoever it did not tell me where to put in the textsetup.sif

runonceex.inf = 1,,,,,,,20,0,0

new.inf = 1,,,,,,_x,,3,3

And when i run the setup i get that textsetup.sif

is corupt at line 1, where i put the first parimiter...

Any help?

My english isnt that good so dont be harsh :D

I use the RunOnceEx.cmd method of unattended install for my third party applications.

All I did to make this work was..

create a file with called cmdlines.txt which contains the following:

[COMMANDS]
"RunOnceEx.cmd"

Save this in your $OEM$ folder.

Also in the $OEM$ folder, place your RunOnceEx.cmd file.

Here's what mine looks like:

cmdow @ /HID
@Echo Off

SET PP=%SystemDrive%\

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

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

REG ADD %KEY%\000 /VE /D "Alcohol 120" /f
REG ADD %KEY%\000 /V 1 /D "%PP%\Install\Alcohol\setup.msi /passive /norestart" /f
REG ADD %KEY%\000 /V 2 /D "REGEDIT /S %PP%\Install\Alcohol\alcohol.reg" /f

REG ADD %KEY%\001 /VE /D "Nero Burning ROM 6.0.0.6" /f
REG ADD %KEY%\001 /V 1 /D "%PP%\Install\Nero\Nero6606.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f

REG ADD %KEY%\002 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\002 /V 1 /D "%PP%\Install\Winrar\Winrar_330.exe /s" /f

REG ADD %KEY%\003 /VE /D "Microsoft Office XP" /f
REG ADD %KEY%\003 /V 1 /D "%PP%\install\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qn /norestart" /f

REG ADD %KEY%\004 /VE /D "DVD Decrypter 3.2.5.0" /f
REG ADD %KEY%\004 /V 1 /D "%PP%\Install\DVDDecrypter\Setup.exe /S" /f

REG ADD %KEY%\005 /VE /D "Adobe Acrobat 6 Professional" /f
REG ADD %KEY%\005 /V 1 /D "%PP%\Install\adobe6\AcroPro.msi /passive /norestart" /f
REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %PP%\Intall\Adobe6\acropro.reg" /f

REG ADD %KEY%\006 /VE /D "DVD Shrink 3.2.0.15" /f
REG ADD %KEY%\006 /V 1 /D "%PP%\Install\DVDShrink\dvdshrink32setup.exe /silent" /f

REG ADD %KEY%\007 /VE /D "Spybot Search & Destroy 1.3" /f
REG ADD %KEY%\007 /V 1 /D "%PP%\Install\Spybot\spybotsd13.exe /SP- /VERYSILENT /NORESTART" /f

REG ADD %KEY%\100 /VE /D "Removing temporary files & rebooting" /f
REG ADD %KEY%\100 /V 1 /D "%PP%\Install\cleanup.cmd" /f

EXIT

In the I386 directory, open the file winnt.sif (assuming you have created one with windows sp2 deployment tools) and remove any [GuiRunOnce] entries you may have.

I did not edit or change any other files.

This will install the apps at before the first user logon. Some install progress is displayed for some of the apps, I prefer to see what's going on.

Hope this helps you.

  • Author

Ok, the install went fine, but it didnt copy the files to my hard drive.....

cmdow @ /HID

@echo off

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

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

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

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\adobe70\adobe70.msi" /f

REG ADD %KEY%\010 /VE /D "Abc Torrent" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\ABC\ABC-win32-v2.6.9.exe /S" /f

REG ADD %KEY%\015 /VE /D "FireFox 1.0.1" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Firefox\Firefox101_Silent_en-US.exe" /f

REG ADD %KEY%\025 /VE /D "Nero Burning ROM 6.6.0.8" /f

REG ADD %KEY%\045 /V 2 /D "%systemdrive%\Install\Nero\Nero-6.6.0.8.exe /SILENT /NOREBOOT /SN=xxxxxxxxxxxxxxxxxxxxxxxx /WRITE_SN" /f

REG ADD %KEY%\030 /VE /D "Cpl Mouse Fix" /f

REG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\Install\mouse_fix.reg" /f

REG ADD %KEY%\040 /VE /D "K++ Codec Pack." /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Codecs\klmcodec125.exe /silent" /f

REG ADD %KEY%\045 /VE /D "Ventrilo 2.20" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\ventrilo\ventrilo-2.2.0-Windows-i386.exe /q" /f

REG ADD %KEY%\046 /VE /D ".Net Framework" /f

REG ADD %KEY%\046 /V 1 /D "%systemdrive%\Install\dotnetfx\netfx.msi /q" /f

REG ADD %KEY%\050 /VE /D "itunes" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\itunes4.7.msi" /f

REG ADD %KEY%\051 /VE /D "Java 5.0.2 Upadate 2" /f

REG ADD %KEY%\051 /V 1 /D "%systemdrive%\Install\java.exe" /f

REG ADD %KEY%\052 /VE /D "Alcohol 120%" /f

REG ADD %KEY%\052 /V 1 /D "%systemdrive%\Install\Alcohol120\Setup.msi /quiet /norestart" /f

REG ADD %KEY%\053 /VE /D "Adobe Photoshop CS" /f

REG ADD %KEY%\053 /V 1 /D "%systemdrive%\Install\adobepscs\setup.exe" /f

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

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

EXIT

thats what my RunOnceEx.cmd says, i have all the files in

\$OEM$\$1\Install

Ideas?

  • Author

btw, does the

REG ADD %KEY%\000 /V 2 /D "REGEDIT /S PP%\Install\Alcohol\alcohol.reg" /f

Disable the virtual drive, if so can you post it?

The Alcohol reg file does not disable the virtual drive, it will configure it on first start up. If you don't want the virtual drive I suggest changing the options in Alcohol after it is installed.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Alcohol Soft\Alcohol 120%\Info]
"UserName"="your username"
"Company"="your company"
"SerialNo"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

[HKEY_LOCAL_MACHINE\SOFTWARE\Alcohol Soft\Alcohol 120%\Info]
"UserName"="your username"
"Company"="your company"
"SerialNo"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Note: the serial number should be enclosed in quotes just like your username, I'm not sure what happened but I didn't type the & #34; so just ignore them and put a " there.

No sorry, I'm not sure why it didn't install your apps. Double check your install paths maybe. Did you reverse the changes you made to the textsetup.sif?

Anyone else have any ideas?

Nero won't instal because you have 45 instead of 25.

Can't see anything else wrong though.

All your apps are in the correct path on the cd??

I took this straight from Gosh's page

First, create a file called runonceex.inf and put your runonceex settings in it.  Then put it into your i386 folder.  Edit txtsetup.sif and put this:

runonceex.inf = 1,,,,,,,20,0,0

That way runonceex.inf will be copied to the %windir%\inf folder.  Also add what's in bold below to txtsetup.sif:

[HiveInfs.Fresh]AddReg = hivedef.inf,AddReg

AddReg = hivesys.inf,AddReg

AddReg = hivesft.inf,AddReg

AddReg = hivecls.inf,AddReg

AddReg = hiveusd.inf,AddReg

AddReg = hivesxs.inf,AddReg

AddReg = dmreg.inf,DM.AddReg

AddReg = new.inf,newhive

Create new.inf and put it in your i386 folder.  In txtsetup.sif add this line:

new.inf = 1,,,,,,_x,,3,3

Also in dosnet.inf add these lines:

d1,runonceex.inf

d1,new.inf

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

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.