Oleg_Sch Posted July 20, 2008 Author Posted July 20, 2008 To rilleyI'm know about this problem (always full decompression, even if it is not needed) and this is "ToDo".So far, no solutions to this problem
rilley Posted July 20, 2008 Posted July 20, 2008 @Oleg_Sch and in the future you will improve this option,? and make more stabile like, when you was make the sfx to have the priority to change the icon,( i try in the actual vers and if you change the icon from the sfx will crash out)..
Oleg_Sch Posted July 20, 2008 Author Posted July 20, 2008 @Oleg_Sch and in the future you will improve this option,? and make more stabile like, when you was make the sfx to have the priority to change the icon,( i try in the actual vers and if you change the icon from the sfx will crash out)..Now... I can promise only about "full decompression in 'Overwrite' mode".Change icon...What module that You use ? Is it compressed by UPX or other packers ? And more details about "crash out".I'm think, that this is not problems of the module.You can send me more info to email or PM
rilley Posted July 20, 2008 Posted July 20, 2008 i`ll post right here, so i use this module 7zsd_all.sfx and if you upx it and you make some sfx files, and you wanna change the icon or something with the "reshack" it change but if you wanna build an sfx if you open the builded sfx, it crush, like "don`t send".. but if you build an sfx and if you wanna change something, i use in the cmd 'upx -d' for decompressing the module, and then i change the icon, and then i compres it back with the upx, and in this method works property, another think i have been seen is, you have the builded sfx and if you open the builded sfx in res hacker, to change the icon, or even to do nothing an then save it, an then open it, it give`s an "dont` send"
Martin H Posted July 20, 2008 Posted July 20, 2008 It's not possible to change the icon of an upx'd sfx, so that's normal behaviour...Also, unless you actually use Deflate or PPMd compression in your sfx's, then you don't need the '7zsd_all.sfx' module and can just stick to '7zsd.sfx', which only supports LZMA decompression, which is 7-Zip's default compression method...
strel Posted July 22, 2008 Posted July 22, 2008 Thx for sharing your work Oleg. I found it very useful.Hope you'll get time to revive this or any other projects.NOTE: For the time being, I cannot get to the download page.
TranceEnergy Posted August 3, 2008 Posted August 3, 2008 I'm working on making batch files to be executed while installing windows, pre login, extracting save games to their paths. Typically files that lies under Documents and settings(Users directory).I also need a pre-install batch file routine to archive savegames (and also configurations). I'm archiving with winrar to extract it to a system path named variable ( %myuser% or %usersdir% f.ex).As one who re-installs regularly its a pain in the a** to have to take backup of such files all the time, along with adobe settings and so forth.Any chance of 7z sfx doing this?
TronBoRG Posted September 5, 2008 Posted September 5, 2008 I got a problem with the icon of the exe when the size of the archive is bigger than ~700mb.The problem is that the icon gets replaced to the boring "white rectangle".Is this a bug with 7zSD?If it's a known bug, is there any way to prevent it?I remember reading that this is a windows bug, common to all exe's over 700mb.
Tefole Posted October 21, 2008 Posted October 21, 2008 My installer should only run by (-ai1, ai2 ...) command line switches.If i or somebody just accidently doubleClick the Exe-File, i get an error, that setup.exe could not found.To avoid this, î insert the line below:RunProgram="hidcon:nowait:cmd /c dir"Is there a solution, if i run this SFX by doubleclick (without command line switches) to get an output (error) text, that 'this installer' could only run by command line switches?
gora Posted October 21, 2008 Posted October 21, 2008 Is there a solution, if i run this SFX by doubleclick (without command line switches) to get an output (error) text, that 'this installer' could only run by command line switches?Yes. For example:RunProgram="fm20:hidcon:cmd /c echo"...FinishMessage = "ATTENTION!!!\n\nThis installer could only run by command line switches.\n\nWork is interrupted! "
Tefole Posted October 21, 2008 Posted October 21, 2008 (edited) Yes. For example...Thx, its working great!Im again and again amazed, what great thing this 'Extractor' is... Edit: Just for the record (sorry for OT)Extractor <= self-extracting archive <=SFX Edited October 21, 2008 by Tefole
gora Posted October 21, 2008 Posted October 21, 2008 great thing this 'Extractor' is... What is ' Extractor ' !?
rkillcrazy Posted November 3, 2008 Posted November 3, 2008 Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?11-03-081204 EDT
gora Posted November 3, 2008 Posted November 3, 2008 Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?Yes. Use 7z SFX Archive splitter (http://7zsfx.info/en).
rkillcrazy Posted November 3, 2008 Posted November 3, 2008 Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?Yes. Use 7z SFX Archive splitter (http://7zsfx.info/en).Thanks, I'll give that a go....Another question:How do the commands run? Do they run in the order they are shown in the config? I ask 'cause I'm trying to make an install that may need to overwrite the destination, however, the destination may have file in use. I was thinking, I could do something like below:RunProgram="batch file to kill my task here"RunProgram="batch file to clear the destination directory"InstallPath="extract to the recently cleared destination directory"RunProgram="batch file to do something else..."RunProgram="batch file to do something else..."However, if it reads the config, upon execution and immediately begins to extract to the directory that has files in use, I I'd be screwed.11-03-081724 EDT
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now