欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

腳 本 之 家 www.dbjr.com.cn
頁(yè)面導(dǎo)航: 首頁(yè)實(shí)用技巧黑客教程 → 正文內(nèi)容

常用軟件的靜默安裝方法介紹第2/3頁(yè)

發(fā)布:dxy 字體:[增加 減小] 類型:轉(zhuǎn)載

無(wú)人值守安裝光盤最有魅力的地方之一
就是在安裝過(guò)程中可以靜默安裝好預(yù)先設(shè)計(jì)集成的一些常用軟件,安裝結(jié)束以后軟件就已經(jīng)可以使用
但是很多朋友發(fā)現(xiàn)每個(gè)軟件以及系統(tǒng)補(bǔ)丁,它們的靜默安裝參數(shù)是不一樣的
在本文就和廣大愛(ài)好者一起研究一下幾種常見(jiàn)軟件封包形式的靜默安裝方式
如有遺漏和錯(cuò)誤之處,請(qǐng)指出,大家互相交流!

常用的軟件封包形式主要有以下幾個(gè)形式
Inno Setup
InstallShield
NSIS
Microsoft Windows Installer
WISE

QUOTE:

一.Inno Setup


使用Inno技術(shù)制成的程序安裝包可以使用/SILENT 和 /VERYSILENT參數(shù)進(jìn)行靜默安裝
我不知道這兩個(gè)參數(shù)有什么分別,因?yàn)樗鼈儗?shí)現(xiàn)的功能看上去是一樣的

setup.exe /VERYSILENT

你會(huì)看到一個(gè)對(duì)話框,詢問(wèn)你是否打算繼續(xù)安裝:

我們可以通過(guò)使用一個(gè)參數(shù)跳過(guò)這個(gè)對(duì)話框:

setup.exe /VERYSILENT /SP-

有些利用Inno 技術(shù)做作的安裝包會(huì)在程序安裝完畢后自動(dòng)運(yùn)行所安裝的程序,例如ISOBuster
不過(guò)我們可以使用一個(gè)叫做Taskkill的系統(tǒng)自帶工具殺死相關(guān)的進(jìn)程。

以下是一個(gè)可以用于批處理文件安裝由Inno打包的軟件的命令的示例:

ECHO.
ECHO 正在安裝ISOBuster 1.4
ECHO 請(qǐng)稍候...
start /wait %systemdrive%installApplicationsISOBusterIsoBuster14.exe /VERYSILENT /SP-
ECHO.
ECHO Killing ISOBuster.exe process
taskkill.exe /F /IM isobuster.exe
ECHO.

我怎么知道哪個(gè)安裝程序是用Inno 技術(shù)打包的?

這種軟件安裝時(shí)第一個(gè)界面一般如下圖所示
在窗口標(biāo)題欄左側(cè)的圖標(biāo)上點(diǎn)擊鼠標(biāo)左鍵
然后再探出菜單上點(diǎn)擊“About Setup”也可以看見(jiàn)安裝類型

更多使用Inno技術(shù)打包的軟件可用的參數(shù)可以在下面看到:
E文好的朋友可以仔細(xì)研究研究
With the Inno Setup Extentions in use the following command line switches become available:

SP-
Disables the This will install... Do you wish to continue? prompt at the beginning of Setup. Of course, this will have no

effect if the DisableStartupPrompt [Setup] section directive was set to yes.

/SILENT, /VERYSILENT
Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but

the installation progress window is. When a setup is very silent this installation progress window is not displayed.

Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you

haven''t disabled it with DisableStartupPrompt or the ''/SP-'' command line option explained above)

If a restart is necessary and the ''/NORESTART'' command isn''t used (see below) and Setup is silent, it will display a

Reboot now? messagebox. If it''s very silent it will reboot without asking.

/NORESTART
Instructs Setup not to reboot even if it''s necessary.
/LOADINF="filename"
Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared

using the ''/SAVEINF='' command as explained below.

/SAVEINF="filename"
Instructs Setup to save installation settings to the specified file.

/DIR="x:dirname"
Overrides the default directory name displayed on the Select Destination Directory wizard page. A fully qualified pathname

must be specified. If the [Setup] section directive DisableDirPage was set to yes, this command line parameter is ignored.

/GROUP="folder name"
Overrides the default folder name displayed on the Select Start Menu Folder wizard page. If the [Setup] section directive

DisableProgramGroupPage was set to yes, this command line parameter is ignored.

/NOICONS
Instructs Setup to initially disable the Don''t create any icons check box on the Select Start Menu Folder wizard page.

/COMPONENTS="comma separated list of component names"
Overrides the default components settings. Using this command line parameter causes Setup to automatically select a custom

type.

QUOTE:
當(dāng)前2/3頁(yè) 上一頁(yè)123下一頁(yè)

文章評(píng)論

最 近 更 新
熱 點(diǎn) 排 行