clivebuckwheat Posted August 27, 2011 Share Posted August 27, 2011 (edited) I made the sfx file,self extracting exe.Is there a way when it is executing it, extract the contents to a specific folder, also after it is extracted run a batch file?. Without having to do any but double click the exe?.Thanks for any help I haven't used 7-Zip that much Edited August 27, 2011 by clivebuckwheat Link to comment Share on other sites More sharing options...
tomasz86 Posted August 27, 2011 Share Posted August 27, 2011 Maybe ? Link to comment Share on other sites More sharing options...
jaclaz Posted August 28, 2011 Share Posted August 28, 2011 (edited) I made the sfx file,self extracting exe.Is there a way when it is executing it, extract the contents to a specific folder, also after it is extracted run a batch file?. Without having to do any but double click the exe?.Thanks for any help I haven't used 7-Zip that muchYou may be interested (to get an example) in the CASBAH:http://www.911cd.net/forums//index.php?showtopic=21123Basically all the 7zipsfx part you need is this is this:http://www.911cd.net/forums//index.php?showtopic=21123&st=44The sintax is clearly explained in the download:http://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/7z920_extra.7z/downloadMind you there are "enhanced" 7-zip versions, this one adds a number of useful things:http://7zsfx.solta.ru/en/You will probably need to use the above to be able to "extract the contents to a specific folder":The modified module provides a lot of options for creating SFX archives (SFX stands for self=extracting). This is what you can do with this module:specify the path to extractuse absolute and relatives pathsselect between interactive, silent and hidden extractioncontrol the appearance of dialog prompts and textconfigure different installation options for packaged applications, and use command line switches for choosing the required installation scenariosimply extract the archive to the specified folderconsequently run several files (.exe, .msi, .reg and so on) after the extraction to install configured applicationsreplace .bat and .cmd files and eliminate the need in supplementary utilities like "StartX.exe", "msistub.exe" and so oncreate shortcuts for programs with the icons of your choiceuse archives with different compression methods (LZMA, Deflate, PPMd) supported by 7-zip archiverdelete temporary files after use as well as the SFX archiveand many more...[jaclaz Edited August 28, 2011 by jaclaz Link to comment Share on other sites More sharing options...
cmonkedo Posted August 30, 2011 Share Posted August 30, 2011 http://www.msfn.org/board/topic/99843-7-zip-sfx-extract-to-this-folder/I think this will be what you are looking for. Link to comment Share on other sites More sharing options...
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