How to extract WinZip Self-Extracting exe in silent mode

為{幸葍}努か 提交于 2019-12-10 15:59:49

问题


I have create a exe file using WinZip Self-Extractor. It extracts the file in UI mode, that is while dobule click the setup a new window opened that shows unzipping setupname.exe. I need to extract the same exe in silent mode which should not show unzipping UI info.

Is it possible to extract the exe using WinZip Self-Extractor in both UI mode and Silent mode? Please share the steps if available to do this.


回答1:


For WinZip you can use the /auto flag followed by the directory you would like to unzip it to.

For example:

myWinZipSelfExtract.exe /auto C:\whereever\you\want

where myWinZipSelfExtract.exe is your self-extracting exe

Source: http://kb.winzip.com/kb/entry/115/




回答2:


I had a similar problem but found Powershells Expand-Archive command worked.

e.g. Expand-Archive C:\\path_to_exe.exe -DestinationPath C:\\path_to_extract_to -Force




回答3:


This extracts the self-extracting exe file's content in silent mode.

Syntax: <self-extract-exe-name>.exe -unzipDir <Destination-Folder>

Example: Test.exe -unzipDir C:\my-files\test



来源:https://stackoverflow.com/questions/29512194/how-to-extract-winzip-self-extracting-exe-in-silent-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!