Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

7z SFX Modified Module and Tools


Oleg_Sch
 Share

Recommended Posts

Hi all,

I have an issue with InstallPath in 7zip sfx config file.

In the script below, "Hello World" is well diplayed, but sfx is extracted to default tmp file instead of InstallPath.

;!@Install@!UTF-8!
BeginPrompt="Hello World"
InstallPath="BSY"
;!@InstallEnd@!

My system is Vista home x64.

Any idea ?

Link to comment
Share on other sites


2 jey350

All works. The folder is created near to SFX archive. Where there is your SFX archive? Can be on CD, or OS (or the antivirus) does not allow to create a folder?

Link to comment
Share on other sites

2 jey350

All works. The folder is created near to SFX archive. Where there is your SFX archive? Can be on CD, or OS (or the antivirus) does not allow to create a folder?

I put my SFX in "C:\Users\Me\AppData\Local\Temp" a folder I am sure I have write premission.

Thanks to spend time for me :)

Link to comment
Share on other sites

Your archive test.exe is in C:\Users\Me\AppData\Local\Temp\test.exe. After its start and pressing button "OK" in a dialog box folder C:\Users\Me\AppData\Local\Temp\BSY is created? If "yes", all is correct!

Link to comment
Share on other sites

Your archive test.exe is in C:\Users\Me\AppData\Local\Temp\test.exe. After its start and pressing button "OK" in a dialog box folder C:\Users\Me\AppData\Local\Temp\BSY is created? If "yes", all is correct!

C:\Users\Me\AppData\Local\Temp\BSY isn't created, sfx is extracted to default 7zip temp directory (ex: 7zOD15B.tmp) instead of InstallPath.

Link to comment
Share on other sites

default 7zip temp directory (ex: 7zOD15B.tmp) instead of InstallPath.

You used modified modules? x64 or x86? Version modules?

Give the link to your test SFX archive.

Edited by gora
Link to comment
Share on other sites

I'm using 7zS.sfx, I probably made a confusion in what I've told and it's the modified module.

No, you use the standard module. Look properties of the module, at standard (which you use) so:

CompanyName : Igor Pavlov

FileDescription : 7z Setup SFX

FileVersion : 4.65

InternalName : 7zS.sfx

LegalCopyright : Copyright © 1999-2009 Igor Pavlov

OriginalFilename : 7zS.sfx.exe

ProductName : 7-Zip

ProductVersion : 4.65

And at the modified module so:

CompanyName : Oleg N. Scherbakov

FileDescription : 7z Setup SFX (x86)

FileVersion : 1.4.0.1672

InternalName : 7ZSfxMod

LegalCopyright : Copyright © 2005-2010 Oleg N. Scherbakov

OriginalFilename : 7ZSfxMod_x86.exe

PrivateBuild : February 25, 2010

ProductName : 7-Zip SFX

ProductVersion : 1.4.0.1672

Site of the modified module:http://7zsfx.info

New versions of the modified module:http://7zsfx.info/ru/download.html

The newest versions on Russian forum

Link to comment
Share on other sites

  • 5 weeks later...

Hi

well i'm using the last stable release of 7zip with extra to make sfx.

My problem is this i cant make a totally quiet sfx see the attach file.

well my config is the normally know.

config:

;!@Install@!UTF-8!

GUIMode="2"

RunProgram="Exec.exe"

;!@InstallEnd@!

and command:

copy /b 7zSD.sfx + config.txt + ProgramCompress.7z ProgramInstaller.exe

and de 7zsd.sfx

well i want to hide the cancel button i tried guimode 1 and others commands but seem not work.

post-165505-127018170288_thumb.jpg

Link to comment
Share on other sites

Hi

well i'm using the last stable release of 7zip with extra to make sfx.

My problem is this i cant make a totally quiet sfx see the attach file.

well my config is the normally know.

config:

;!@Install@!UTF-8!

GUIMode="2"

RunProgram="Exec.exe"

;!@InstallEnd@!

and command:

copy /b 7zSD.sfx + config.txt + ProgramCompress.7z ProgramInstaller.exe

and de 7zsd.sfx

well i want to hide the cancel button i tried guimode 1 and others commands but seem not work.

Link to comment
Share on other sites

Hi

well i'm using the last stable release of 7zip with extra to make sfx.

My problem is this i cant make a totally quiet sfx see the attach file.

well my config is the normally know.

config:

;!@Install@!UTF-8!

GUIMode="2"

RunProgram="Exec.exe"

;!@InstallEnd@!

and command:

copy /b 7zSD.sfx + config.txt + ProgramCompress.7z ProgramInstaller.exe

and de 7zsd.sfx

well i want to hide the cancel button i tried guimode 1 and others commands but seem not work.

sorry i didnt notice fixed it and working thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...