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 not working correctly!

Featured Replies


your RunonceEx code is here:

ps:you can post the code directly to your topic,if it's not long.

cmdow @ /HID
@Echo Off

rem PP=%SystemDrive%\Install\

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

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

REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\prepare.cmd" /f

REG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0.1" /f
REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\AdobeRdr\Rdr601.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\002 /VE /D "Acrobat Reader 6.0.2" /f
REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\AdobeRdr\Install\rdr602up.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\003 /VE /D "Sun Java VM 1.4.2" /f
REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\Java\Java_142.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"" /f

REG ADD %KEY%\004 /VE /D "Symantec Antivirus Corporate 9" /f
REG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\SAV\SAVC.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f

REG ADD %KEY%\005 /VE /D "Importing Registry Tweaks..." /f
REG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\Registry\regtweaks.reg" /f

REG ADD %KEY%\006 /VE /D "Testing USB 2.0..." /f
REG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\Registry\USB2Test.vbs" /f

REG ADD %KEY%\007 /VE /D "Cleaning Up and Rebooting..." /f
REG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /f

EXIT

oh,i can't find any error . waiting for expert ...

perhaps,can .reg file and .vbs files run directly?

A .vbs file can run directly, but a .reg file will ask if you want to import it into the registry. Use this instead:

REGEDIT /S %SystemDrive%\Install\Registry\regtweaks.reg

So long as you have OemPreinstall = Yes in winnt.sif. The software you have in $oem$\$1\Install will be copied to %systemdrive%.

I'm unsure if your adobe upgrade address is correct. I think you mixed up AdobeRdr folder with install folder?

Double check your cmdlines.txt, to ensure that it is addressed to execute this batch file in it's location.

and you have a few un-escaped quote's there too, which would cause problems. Try...

cmdow @ /HID

@Echo Off

rem PP=%SystemDrive%\Install\

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

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

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

REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\prepare.cmd" /f

REG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0.1" /f

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\AdobeRdr\Rdr601.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\002 /VE /D "Acrobat Reader 6.0.2" /f

REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\AdobeRdr\rdr602up.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\003 /VE /D "Sun Java VM 1.4.2" /f

REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\Java\Java_142.exe /s /v /qn ADDLOCAL=jrecore IEXPLORER=1" /f

REG ADD %KEY%\004 /VE /D "Symantec Antivirus Corporate 9" /f

REG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\SAV\SAVC.msi /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f

REG ADD %KEY%\005 /VE /D "Importing Registry Tweaks..." /f

REG ADD %KEY%\005 /V 1 /D "REGEDIT /S %SystemDrive%\Install\Registry\regtweaks.reg" /f

REG ADD %KEY%\006 /VE /D "Testing USB 2.0..." /f

REG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\Registry\USB2Test.vbs" /f

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

REG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /f

EXIT

And make sure all the paths are correct.

  • Author

OK, i added the "regedit" --- Thanks works great. :thumbup

Fixed the reader update command line -- thanks, i feel dumb for overlooking.

The list shows up, but still runs thru them like they werent there and none of the applications install.

Do i need to do like a batch file, and list a "start /wait " line in there???

PS: When i was making my RunOnceEX file... I used an utomated tool. I don't remember the website where i got it, but it made the code for me when i seleted the program i wanted installed. If anyone would like the program, email me. It's 1.16MB.

Edited by BrandonS_Mil

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.