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.

Can REGEDIT /S run in an addon

Featured Replies

Using Addon Maker for nLite to create addons for HFSLIP, I have several addons that use a custom batch file as the installation program. They all work fine after I correct simple user errors, but I have one addon in particular that has a line like

REGEDIT /S IZArcFileAssocs.reg

This doesn't seem to be working, now I am wondering if REGEDIT can even run in an addon. Is it possible? (I know about REG.EXE so I'll use if I have to, assuming that works)

Are you sure that your REG file is valid?

For instance having anything other than "Windows Registry Editor Version 5.00" in the first line will cause REGEDIT to fail without any error popping up. It's happened to me before when I added a comment on the first line rather then further on down the file...

  • Author
Are you sure that your REG file is valid?

Yep, it does what I want if I double click on it manually.

I think I'll take out the /S for troubleshooting purposes and see if I get any useful errors.

If you're using Win2K, you need full paths.

%SYSTEMROOT%\REGEDIT /S IZArcFileAssocs.reg

  • Author
If you're using Win2K, you need full paths.

%SYSTEMROOT%\REGEDIT /S IZArcFileAssocs.reg

Ah, thank you!

You can put reg files in the HFSVCPACK folder too.

  • Author
You can put reg files in the HFSVCPACK folder too.

I know, but keeping it with the app seemed like the right thing to do -- for now.

  • Author

tomcat76:

Not only did the full path to REGEDIT fix my addon problem, you got me thinking I should put the full path to REGEDIT in my CMDLINES.TXT batch file as well, and this fixed a hair-pulling issue with my HKCU.reg..

So double thanks!

Thanks to all for the other suggestions, too.

Edited by daddydave

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.