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.

7z SFX Modified Module and Tools

Featured Replies

Hi all,

I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.

Thanks a lot in advance

Hi all,

I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.

Thanks a lot in advance

GUIMode="2"

Hi all,

I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.

Thanks a lot in advance

GUIMode="2"

hi ricktendo,

sorry I forgot to say that I'd like to have the progress bar displayed while unpacking. Thanks a lot for your help.

Hi all,

I'm trying to compile 7zsfx from sources but I'm getting an error. Han anyone compiled it succesfully before? Do you know how I can solve the following linking error?

------ Build started: Project: 7zSfxMod, Configuration: All Win32 ------
Linking...
LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
AES.obj : error LNK2019: unresolved external symbol @AesCtr_Code_Intel@12 referenced in function _AesGenTables
AES.obj : error LNK2019: unresolved external symbol @AesCbc_Decode_Intel@12 referenced in function _AesGenTables
AES.obj : error LNK2019: unresolved external symbol @AesCbc_Encode_Intel@12 referenced in function _AesGenTables
..\Output\Win32\7zsd_All.sfx : fatal error LNK1120: 3 unresolved externals
Build log was saved at "file://c:\temp\7zsd_src_160_2712\Intermediate\Win32\All\BuildLog.htm"
7zSfxMod - 4 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm using VS2008 with latest Microsoft sdk. Thanks a lot for your help.

Regards,

Riccardo

  • 1 month later...

Hello

how to modify or add pitcure in 7zsd_lzma_dialogs.sfx ?

i want to add my or replace original image in sfx to my install.

thanks

Use a resource hacker, I do the same with my .net slim installer, I add a new bmp and edit the layout so it looks like this

sHBW8q3.png

@rickendo

i try with resource hacker, but i can't modify ressource IMAGES 3001

How to ?

thanks

  • 1 month later...

Hi,

I have been using the modified 7zsfx for a while now and have come across a problem

I am re-compressing some of my old dos games and running them using dosbox. I have a problem with config.txt for every one of them.

When compiled to an SFX exe it will fail when it detects the (  "  ) symbols. These are necessary for the shortcut to work

The original version install shortcuts with them in but when I duplicate them using my own config script it fails at line 13

Here is an example of my config.txt:


;!@Install@!UTF-8!
Title="Redneck Rampage"
BeginPrompt="\nPack Includes:\n\nRedneck Rampage\nCuss Pack\nManual and Cheats"
CancelPrompt="Are you sure you want to cancel ?"
GUIFlags="4+8+16+32+64+256+2048+4096"
GUIMode="1"
OverwriteMode="0"
InstallPath="%ProgramFiles%\Redneck Rampage"
ExtractPathText="Choose your \"Redneck Rampage\" installation folder..."
ExtractPathTitle="Redneck Rampage"
ExtractCancelText="Abort"
Shortcut="Du,{%%T\\Redneck Rampage Manual.pdf},{},{Redneck Rampage},{Redneck Rampage Manual},{Manual},{%%T},{},{}"
Shortcut="Du,{%%T\\DOSBox.exe},{-conf "dosboxRR.conf" -conf "dosboxRR_single.conf" -noconsole -c exit},{Redneck Rampage},{Game},{Redneck Rampage},{%%T},{%%T/RR.ico},{}"
RunProgram="\"%%T\\unpack.bat\""
;!@InstallEnd@!


This is the original working shortcut I wish to re-create:
"%ProgramFiles%\DOSBox.exe" -conf "Redneck Rampage\dosboxRR.conf" -conf "dosboxRR_single.conf" -noconsole -c exit

How can I include the " in the line without it failing at line 13?

I would really appreciate someones help

Thanks

I'm not sure, but don't you just have to "escape" the inner quotes (") with a backslash like this -- \" -- like they are on line 14?

 

Cheers and Regards

;!@Install@!UTF-8!
Title="Redneck Rampage"
BeginPrompt="\nPack Includes:\n\nRedneck Rampage\nCuss Pack\nManual and Cheats"
CancelPrompt="Are you sure you want to cancel ?"
GUIFlags="4+8+16+32+64+256+2048+4096"
GUIMode="1"
OverwriteMode="0"
InstallPath="%ProgramFiles%\\Redneck Rampage"
ExtractPathText="Choose your \"Redneck Rampage\" installation folder..."
ExtractPathTitle="Redneck Rampage"
ExtractCancelText="Abort"
Shortcut="Du,{%%T\\Redneck Rampage Manual.pdf},{},{Redneck Rampage},{Redneck Rampage Manual},{Manual},{%%T},{},{}"
Shortcut="Du,{%%T\\DOSBox.exe},{-conf \"dosboxRR.conf\" -conf \"dosboxRR_single.conf\" -noconsole -c exit},{Redneck Rampage},{Game},{Redneck Rampage},{%%T},{%%T\\RR.ico},{}"
RunProgram="unpack.bat"
;!@InstallEnd@!

  • 1 month later...

xcopy does not create directory structure!

;!@Install@!UTF-8!RunProgram="Setup_%%P.msi /qr"RunProgram="hidcon:xcopy config.xml \"%appdata%\Mythicsoft\FileLocatorPro\config\" /s /y"GUIMode="2";!@InstallEnd@!
C:\Users\Forseti\AppData\Roaming\Mythicsoft\FileLocatorPro\config

please help!

  • 2 weeks later...

hi,

 

only on 64bit i have a problem with a 1 line .bat script running from/under sfx (as admin)
i'm using 7zsd.sfx version 1.6 1.5 (stable build 2712), it works fine on 32bit
the .bat itself also works fine on 64bit if i start it directly as admin - from %temp% or whereever:

echo onattrib -s -h -r %SYSTEMROOT%\system32\drivers\etc\hostspause

but when i run it from an sfx archive (as admin) it ALWAYS results in
Path not found - C:\Windows\system32\drivers\etc

i have tried many things (also in combination, all working if started directly):

attrib -s -h -r c:\windows\system32\drivers\etc\hostsattrib -s -h -r %SYSTEMROOT%\sysnative\drivers\etc\hostsattrib -s -h -r %SYSTEMROOT%\system32\..\system32\drivers\etc\hostscd /d %SYSTEMROOT%\system32\drivers\etcattrib -s -h -r hosts

i have also tried an attrib.exe copied from a 32bit version - same

in sysinternals' process monitor then i saw that attrib.exe was searching in
C:\Windows\SysWOW64\drivers\etc

which is definetely wrong. how is this possible?
 

 

EDIT: a similar problem occures if i use the variable %programfiles% on 64bit - it resolves to

C:\Program Files (x86)

but here i can use the simple workaround

"%programfiles%\..\Program Files\whatever"

Edited by nova-s

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.