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.

7-Zip v4.42

Featured Replies

Hello,

I am installing 7-Zip using RunOnceEx.

REG ADD %KEY%\046 /V 1 /D "\"%systemdrive%\install\7zip\7z442.exe /S /D=%systemdrive%\program files\7-Zip\"" /f

The program installs itself and using the software i can extract and create archives.

The problem lies with the right-click context menu, 7-Zip is added, but it will not expand.

Any ideas?

laze.

Regardless of whether your commands are correct, should your code not read,

REG ADD %KEY%\046 /V 1 /D "%systemdrive%\install\7zip\7z442.exe /S /D=\"%systemdrive%\program files\7-Zip\"" /f

?

Or better still,

REG ADD %KEY%\046 /V 1 /D "%systemdrive%\install\7zip\7z442.exe /S /D=\"%programfiles%\7-Zip\"" /f

?

  • Author

Quite possibly,

It installs to 'C:\program files\7-Zip f\' which suggests it's ignoring the surrounding speech marks and including /f as part of the destination folder.

The context-menu error also occurs when 7-Zip is installed on my current installation of XP through normal methods, so i'm beginning to think it's an issue with 7-Zip not my method of install.

laze.

Well from the information contained here, you may not need the additional double quotes in your 'output directory'.

REG ADD %KEY%\046 /V 1 /D "%SYSTEMDRIVE%\install\7zip\7z442.exe /S /D=%PROGRAMFILES%\7-Zip" /F

<Edit>

Additionally, because only you are writing to the runonceex key and therefore not overwriting that particular value name, there is no need at all for the /f switch

REG ADD %KEY%\046 /V 1 /D "%SYSTEMDRIVE%\install\7zip\7z442.exe /S /D=%PROGRAMFILES%\7-Zip"

</Edit>

Use a regfile after install

REGEDIT4
[HKEY_CURRENT_USER\Software\7-Zip\Options]
"ContextMenu"=dword:00000537

  • Author

Hello Sonic,

Thank you, but this only adds "Open Archive", is there a registry tweak for "Add to Archive" too?

laze.

That's odd!

From that entry you should be getting

Extract files…

Extract Here

Extract to <Folder>

Test Archive

Open archive

Add to archive…

Compress and email

Here is the options list I have!
Extract files…
1 (0x00000001)

Extract Here
2 (0x00000002)

Extract to <Folder>
4 (0x00000004)

Test Archive
16 (0x00000010)

Open archive
32 (0x00000020)

Add to archive…
256 (0x00000100)

Add to <Archive>
512 (0x00000200)

Compress and email
1024 (0x00000400)

Compress to <Archive> and email
2048 (0x00000800)

All of the Context Menu items above
3895 (0x00000f37)

Select the ones you want and either

  • add the decimal values and convert to hex using Microsoft Calculator
  • add the (hex values) together directly using Microsoft Calculator

  • Author

Hello,

Idealy I'd like "All of the Context Menu items above3895 (0x00000f37)" but have no idea how to perform the conversions you list.

laze.

REGEDIT4

[HKEY_CURRENT_USER\Software\7-Zip\Options]
"ContextMenu"=dword:00000f37

You could, as I would also have it as a cascaded menu item

REGEDIT4

[HKEY_CURRENT_USER\Software\7-Zip\Options]
"CascadedMenu"=dword:00000001
"ContextMenu"=dword:00000f37

Use a regfile after install
REGEDIT4
[HKEY_CURRENT_USER\Software\7-Zip\Options]
"ContextMenu"=dword:00000537

The problem is that Sonic put 537 instead of f37 in his example.. That would be why the menu added items but not all of them....

Use a regfile after install


Extract files… | 1 | 0x00000001
Extract Here | 2 | 0x00000002
Extract to <Folder> | 4 | 0x00000004
Test Archive | 16 | 0x00000010
Open archive | 32 | 0x00000020
Add to archive… | 256 | 0x00000100
Compress and email | 1024 | 0x00000400
______________________ | ____ | _________
Total(s) | 1335 | 0x00000537

just_laze said that only Open archive was added, but as you can see from the lists I've provided, Open archive only would be achieved by dword:00000020

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.