Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

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. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Oleg_Sch

7z SFX Modified Module and Tools

Recommended Posts

jey350    0

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 ?

Share this post


Link to post
Share on other sites
gora    6

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?

Share this post


Link to post
Share on other sites
jey350    0

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 :)

Share this post


Link to post
Share on other sites
gora    6

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!

Share this post


Link to post
Share on other sites
jey350    0

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.

Share this post


Link to post
Share on other sites
gora    6
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

Share this post


Link to post
Share on other sites
gora    6

Standard modules have no parametre InstallPath. This parametre is in the modified modules only.

Share this post


Link to post
Share on other sites
gora    6

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

Share this post


Link to post
Share on other sites
RTK999    0

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

Share this post


Link to post
Share on other sites
Oleg_Sch    5

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.

Share this post


Link to post
Share on other sites
RTK999    0

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.

Share this post


Link to post
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


  • Recently Browsing   0 members

    No registered users viewing this page.

×