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

I have a sfx extraction question. Does anyone know of a way to supress pop-up error messages and have them write out the cmd prompt or txt instead?

 

I use the sfx with automated deployments of unattended installs and every once in a while I get an install that hangs. Since the installs are being done under a deployment account, we can't access the desktop to see the error message. This makes troubleshooting hard and time consuming. So far the hanging seems to be typically caused by a locked files or an invalid path.

 

Example of extraction command:

 

mySfx.exe" -y -gm2 -InstallPath="C:\\mySfxPath\\location"

 

Thank you,

ThePackager

 

  • 1 month later...

Hi,

 

I'm trying to pass a parameter containing spaces when calling the installer, but it doesn't seem to work. For example :

installer.exe -! firstParam "C:\some path with space\test"

This is supposed to call a .bat file and pass it the two parameters. The .bat is declared as :

RunProgram="cmd /C \"%%T\test.bat\""

It doesn't work. It seems that as soon as there is a quote in the parameters passed to "installer.exe", then "test.bat" is not called correctly.

 

When I do not use spaces or quotes :
 

installer.exe -! firstParam secondParam

Then "test.bat" correctly receives "secondParam" as the second parameter!

 

How can I pass a parameter containg spaces? I've tried without success :
 

installer.exe -! firstParam "C:\some path with space\test"installer.exe -! firstParam \"C:\some path with space\test\"installer.exe -! firstParam \\"C:\some path with space\test\\"

Even that doesn't work :

installer.exe -! firstParam "secondParam"

Thanks in advance!

Edited by electrotype

config:

;!@Install@!UTF-8!RunProgram="test.bat";!@InstallEnd@!

test.bat:

@Echo OffEcho %1Echo %2Pause

start line:

test.exe -! firstParam "C:\\some path with space\\test"

out console:

firstParam"C:\\some path with space\\test"Для продолжения нажмите любую клавишу . . .

Well, I'll have to find what is different for me then!

 

I guess it has something to do with :

RunProgram="cmd /C \"%%T\test.bat\""

vs.

RunProgram="test.bat"

I'll check that tomorrow. Thanks for your help!

RunProgram="cmd /C \"%%T\test.bat\""

This is ERROR, correct as follows:

RunProgram="cmd /C \"%%T\\test.bat\""

Ok, so when launching using params with quotes, for example :

test.exe -! firstParam "secondParam"

This works :

RunProgram="cmd /C test.bat"

But this doesn't work :

RunProgram="cmd /C \"test.bat\""

The problem is that I need to put "test.bat" inside quotes because it is, in fact, more something like this in my case :

RunProgram="cmd /C \"%%T\\some path\\test.bat\""

The workaround is to remove "cmd /C" completely and then it works :

RunProgram="\"%%T\\some path\\test.bat\""

I'm not sure if there is a difference when launching the .bat directly or using "cmd /C" though...

RunProgram="cmd /C \"%%T\\some path\\test.bat\""

In this line you want to remove unnecessary:

cmd /C

and

%%T\\

RunProgram="\"some path\\test.bat\""

Verry nice tool, thanks!!

 

 

But how can i change the language for the defgault "Yes" and "No" buttons e.g. for the Begin Prompt?

 

 

Thanks so much!

config:

SetEnvironment="SfxString25=Button OK"SetEnvironment="SfxString26=Button Cancel"SetEnvironment="SfxString27=Button Yes"SetEnvironment="SfxString28=Button No"

module version - 1.6 develop (build 2797) 25.03.13
 

 

YesNo.PNG

Thanks for that quick answer!

 

Do i have to set the variables in the config.txt?

 

I tried but it doesn't work.

 

Thanks again!

Do i have to set the variables in the config.txt?

 

Yes

 

 

I tried but it doesn't work.

 

I have everything working

Gora, thanks sooo much!

 

 

It works, awesome.

 

Happy weekend!

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.