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.

SFX- Remove file after extraction?

Featured Replies

Without using additional scripting (batch,vbs,etc), is it possible to add an additional command in an SFX that deletes a particular file after it runs via the setup parameter?

Basically, ive got a few sfx installers that import reg settings using "Setup=regedit /s settings.reg" and I want to have that file deleted once its been imported...

possible?

t i a

In "Run after extract" put : cmd /c del /f /q <path-to\settings.reg>

Not tested.. :D

  • Author

Thx for the cmd... I was just trying 'del' and it wasnt working... but Im still left with a problem... how can I import the reg file now that im using the Setup cmd (run file after extraction) for this delete command? I tried placing it in the presetup (run before extraction), but it doesnt seem to work...

Place the reg file like next to the sfx then in run before extract:

regedit /S %Systemdrive%\Install\bla-bla.reg

that is what your cleanup.cmd does

so if u use sfx and unpack to temp folder

your cleanup should do that all at the same time.

  • Author

Yea.. i was hoping to have it all bundled in the sfx and not have to worry about cleaning it up with other files...

thx guys

well if u want to do it that way u can but

wouldn't it be easier to just have one command do it all for u?

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.