Jump to content

Recommended Posts

Posted

hi your module is great , but can you help with return code from runprogramm in sfx,

i would like to maintain error code, but sfx return or 0 or 9009, can u provide example how to, thanks, looking forward for your answer


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

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.
  
 
Posted (edited)

 

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
  • 2 weeks later...
  • 2 weeks later...
Posted

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

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...