jey350 Posted March 1, 2010 Posted March 1, 2010 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 ?
gora Posted March 1, 2010 Posted March 1, 2010 2 jey350All 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?
jey350 Posted March 1, 2010 Posted March 1, 2010 2 jey350All 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
gora Posted March 1, 2010 Posted March 1, 2010 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!
jey350 Posted March 1, 2010 Posted March 1, 2010 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.
gora Posted March 1, 2010 Posted March 1, 2010 (edited) 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 March 1, 2010 by gora
jey350 Posted March 1, 2010 Posted March 1, 2010 I'm using standard module in version 4.65 in x86.Here is the link:http://dl.free.fr/p0Uc6QHiRI put the sfx called test.exe and the build source in archive.
gora Posted March 1, 2010 Posted March 1, 2010 Standard modules have no parametre InstallPath. This parametre is in the modified modules only.
jey350 Posted March 2, 2010 Posted March 2, 2010 I'm using 7zS.sfx, I probably made a confusion in what I've told and it's the modified module.
gora Posted March 2, 2010 Posted March 2, 2010 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.65And 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.1672Site of the modified module:http://7zsfx.infoNew versions of the modified module:http://7zsfx.info/ru/download.htmlThe newest versions on Russian forum
jey350 Posted March 2, 2010 Posted March 2, 2010 Thank you for pointing this out !It's working perfectly now
RTK999 Posted April 2, 2010 Posted April 2, 2010 Hiwell 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.exeand de 7zsd.sfxwell i want to hide the cancel button i tried guimode 1 and others commands but seem not work.
Oleg_Sch Posted April 2, 2010 Author Posted April 2, 2010 Hiwell 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.exeand de 7zsd.sfxwell i want to hide the cancel button i tried guimode 1 and others commands but seem not work.
gora Posted April 2, 2010 Posted April 2, 2010 2 ALLModules 1.4 alpha build 1704 (x86 & x64) are updated (April 2, 2010) and are accessible on: http://7zsfx.info/ru/download.html.
RTK999 Posted April 2, 2010 Posted April 2, 2010 Hiwell 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.exeand de 7zsd.sfxwell 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now