Jump to content

7z SFX Modified Module and Tools


Oleg_Sch

Recommended Posts


  • 5 months later...
  • 1 month later...

Hi,

Please help me to provide solution for the following scenario:

 

Self extracted 7z archive, after extraction, will copy result file to directory where 7z archive (exe) file was executed.

I have created following configuration file for 7zS.sfx.

 
;!@Install@!UTF-8!
GUIMode="2"
RunProgram="run.cmd %%S" 
;!@InstallEnd@!
 
Problem that cmd environment don't see variable %%S and not replace with source directory variable.
 
When I replace %%S by %%T, "run.cmd" work properly, but I need instead temp directory the source directory.
 
Thank you very much and best regards.
  
 
Link to comment
Share on other sites

 

Problem that cmd environment don't see variable %%S and not replace with source directory variable.

 

 

Config:

;!@Install@!UTF-8!GUIMode="2"SetEnvironment="Var=%%S"RunProgram="run.cmd %%S";!@InstallEnd@!

run.cmd:

@Echo OffEcho %*Echo %Var%Pause

No problems :)

Edited by gora
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Sorry, but 3807 was bugged and I have delete it.

And now new updates

1.5.3.3819 Stable:

 

 

* First chance exception 0x0EEDFADE from Delphi library fixed (may be raised by some auto-loaded DLLs into our process)
* Taskbar yellow icon for warnings
# The source code of 7-Zip 15.14 (December 31, 2015) is used
+ Delta filter support

 

 

 

1.6.0.3819 Beta:

 

 

# The source code of 7-Zip 15.14 (December 31, 2015) is used
# Some changes in VisualStudio project

 

 

 

Actual versions only on Russian page http://7zsfx.info/ru/download.html   or SVN http://svn.7zsfx.info

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...