If that requirement is not met using command line utilities is rather tedious.ĭ:\portable\z7\z7 -a c:\to\archive\folder*.* The reason people don't do much command line stuff in portable applications is that the OS (windows in your case) requires that executables be added to the %path% inclusion list. Now the will extract in %temp% and run the Install.vbs that is present inside it.I've not looked into this but shooting from the hip I'd say that they dropped command line support in the portable. To silently install your exe, from a command prompt, type the following: In the Taks tab, add the following line: RunProgram=”\”cmd.exe\” /c”Īnd voila, you now have your. In the Cancel Promp sub-tab, uncheck the Cancel Prompt checkbox. In the Finish Message sub-tab, uncheck the Finish message checkbox. In the Progress sub-tab, check the Hide extraction progress checkbox. In the Extract Path sub-tab, uncheck the Allow users to change path checkbox. In the Begin Promp sub-tab, uncheck the Begin Promp checkbox. In the General sub-tab be sure to set the Overwrite mode to Overwrite all files and make sure the checkbox Extract to temporary folder is checked. Lets start with the dialogs tab and all its sub-tabs. Now, there are a few more changes to be done to the SFX. In the files tab, add your previously created Archive.7z. Right-Click the 7Zip SFX Maker shortcut and Run as Administrator. Note: When you create the archive, be sure to select the Compression Method to LZMA! Select the MSI and VBS, right-click>7zip>Add to archive. In this example, i created an MSI and an Install.vbs that installs the MSI. Once you have it downloaded and installed there are a few steps to take to create your EXE. Exe that runs a command after installation with 7Zip SFX Maker. If you don’t have a tool for packaging, like Advanced Installer for example, you can create a self-extracting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |