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.

Batch for .reg file

Featured Replies

I want to run a .reg file from SFX, after installation, without confirmation.

This can be done with a batch?

Edited by Nic303

regedit /s MYREG.reg

pack the reg file right next to the cmd and when it expands in the temp folder it should run.

Something like this maybe?

In WinRAR

;The comment below contains SFX script commands

Setup=regedit /s MYREG.reg

TempMode

Silent=1

Overwrite=1

question. What software are you using to create your SFX file ?

Right-click the .reg file, select Add to archive..., click Create SFX Archive. In the Comment tab paste the lines I posted:

;The comment below contains SFX script commands

Setup=regedit /s NameOfYourRegFile.reg

TempMode

Silent=1

Overwrite=1

click OK to create the SFX and test it.

Paste yur regedit command in the box "Run After Extraction" from section "Customize Basic Installer :" of this how to

  • Author

Right-click the .reg file, select Add to archive..., click Create SFX Archive. In the Comment tab paste the lines I posted:

;The comment below contains SFX script commands

Setup=regedit /s NameOfYourRegFile.reg

TempMode

Silent=1

Overwrite=1

Works - add entries to registry.

But can WinRAR make this .reg file run automatically after main SFX installation?

Paste yur regedit command in the box "Run After Extraction" from section "Customize Basic Installer :" of this how to

I tried with this command: regedit /s MYREG.reg ... still not working.

Edited by Nic303

Yes, call it from RunOnce or RunOnceEx with no silent switches (it's already silent, right?)

BTW, are you using a software like nLite or WPI?

Edited by Sp0iLedBrAt

  • Author

Not in this case.

I have a folder with some files and .reg file inside.

I want to "merge" this .reg file automatically to registry, without confirmation, after SFX installation.

That's the tricky part.

Edited by Nic303

It is very doable to add the files and the .reg in the SFX and they will extract and execute (merge), but how do you want to automate the procedure? What is so tricky? Do you want to start the installation in some special way?

  • Author

Nothing special.

But i can't make .reg file to execute after installation.

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.