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.

Running regsvr32 during unattended install

Featured Replies

Hi,

I've been searching the forum but not come across a how to for this. I'm wanting to add the regsvr32 command to my install to remove zipflr.dll but I'm not sure where to put it or what the exact syntax should be. I'm currently looking to use the RunOnceEx in my setup and I'm guessing I can put it here. :unsure:

Thanks for any assistance.

Jase

:)

You could try

REGSVR32 /S /U Zipfldr.DLL

No paths needed as it'll find the right file in System32

This silently (/S) unregisters (/U) the DLL

Cheers, Dan.

  • Author

Thanks for replying, but my question was exactly where would I put that. Would it go into this RunOnceEx command file as is or do I need to use the %system% variables to run it or put it somewhere else?

Cheers

well, you can put it in RunOnceEx if you want. Operations like this I usually put in a cleanup script and call it through RunOnceEx as the last option, so various files get deleted and additional DLLs get registered.

You could probably also put it in CMDLines.TXT if you wanted.

  • Author

Thanks I'll give that a go. I tried using the nLite option but for some reason my install kept blue screening with 7f after it had done its initial file copy. So the gloves are off and its time to use the deploy tools plus some old fashioned know-how :thumbup

Here's an example using the pertinent portions of an inf file.

[Version]
Signature = $Windows NT$

[DefaultInstall]
AddReg = RunOnEx
Needs = MyProgs

[RunOnEx]
HKLM,"%RunOnceEx%\",Title,0,"Installing Applications"
HKLM,"%RunOnceEx%\",Flags,0x10001,20

[MyProgs]
AddReg = 7Zip

[7Zip]
HKLM,"%RunOnceEx%\install05",,,"7-Zip"
HKLM,"%RunOnceEx%\install05",1,,"%11%\regsvr32.exe /u /s %11%\zipfldr.dll"
HKLM,"%RunOnceEx%\install05",2,,"%11%\REG DELETE HKCR\.zip\CompressedFolder /f"
HKLM,"%RunOnceEx%\install05",3,,"%11%\REG DELETE HKCR\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31} /f"
HKLM,"%RunOnceEx%\install05",4,,"%11%\REG DELETE HKCR\CompressedFolder /f"
HKLM,"%RunOnceEx%\install05",5,,"%24%\install\7-Zip\7z420.exe /S"
HKLM,"%RunOnceEx%\install05",6,,"%11%\%RunAnInf% DefaultInstall 132 %24%\install\7-Zip\7Zip.inf"

[Strings]
RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
RunAnInf = "rundll32.exe setupapi.dll,InstallHinfSection"

It should give you the general idea.

  • Unregister the dll
    Remove compressed folders registry entries
    Install new compression utility
    Add new compression utility specific stuff

I find keeping it all together helps with my poor memory retention.

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.