Why does 7zip Ignore my InstallPath when making a SFX installer?

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-04-02T20:09:58Z Indexed on 2010/04/02 20:13 UTC
Read the original article Hit count: 540

Filed under:
|
|
|

Currently, I am making a SFX with 7zip using the following config:

;!@Install@!UTF-8!
InstallPath="C:\\test"
GUIMode="2"
RunProgram="7z465.exe"
;!@InstallEnd@!

Which is used in:

copy /b "C:\Program Files\7-Zip\7zSD.sfx" + config.txt + ".\Release\Setup.7z" .\Release\Setup.exe

When I run the resulting Setup.exe, It extracts fine and launches the 7z465.exe as well, but it is still extracting to some 7zip temp folder for the current user! Anyone have any idea why?

© Stack Overflow or respective owner

Related posts about 7zip

Related posts about sfx