五.WISE Installer
用WISE技術(shù)打包的軟件在安裝的時(shí)候可以選擇使用 /s參數(shù)進(jìn)行自動(dòng)安裝:
Setup.exe /s
更多的其他參數(shù):
You can run Wise Installation .EXE with command line options to automate many of the tasks you would normally do in the User
Interface. The list of options is as follows.
/c file.wse -- creates executable file from wise script
/r -- opens Wise in SetupCapture window
/u -- runs the upgrade wizard that checks for any upgrades online
/d CompVar=Value -- defines a single compiler variable in Enterprise Edition. Multiple definitions require multiple /d
/d=filename -- uses filename to define compiler variables. Each line in file is CompVar=Value
Example: installbuilder.exe /c /d _MYVAR_="Test" c:mysource ilessetup.wse
Wise Installations:
/T -- test mode
/X pathname -- extracts files into pathname
/Z pathname -- extracts files into pathname and reboots
/S -- silent install
/M -- prompts for windows, system, temp directories
/M=filename -- specifies a value file similar to /d above, but for standard variables (See NOTE below).
/M1 -- same as /m plus it prompts before any file that is self-registered
/M2 -- reserved for internal use by Wise during debugger sessions
Example: setup.exe /T
Unwise:
/Z -- remove empty directories, including one with unwise itself in it.
/A -- automatic mode, no user choices other than cancel.
/S -- silent mode, automatic mode with no user choices
/R -- rollback mode, selects option to rollback on uninstall
/U -- like automatic mode, but gives all choices other than custom/automatic title window title can be at the end of the
command line
Example: unwise.exe /S c:myprogramdirectoryinstall.log
NOTE: The values file is a simple text file with variables listed, one per line, in VARIABLE="VALUE" format. If the variable
is found in the values file, the specified value is used; otherwise, its value is unchanged. The file containing the
variables can be up to 32K.
我怎么知道哪些程序是使用Wise技術(shù)打包的?
使用Wise技術(shù)打包的大部分程序都會(huì)在開(kāi)始運(yùn)行的時(shí)候顯示一個(gè)啟動(dòng)界面:
但是也有一些會(huì)最小化這個(gè)窗口,只顯示一個(gè)深藍(lán)色的背景,還有安裝窗口在屏幕的中央