共用方式為


更新升級的屬性

因為升級會變更 .msi 檔案的名稱,並變更某些元件的元件程式代碼,因此升級的產品名稱必須從原始產品變更。 如需需要升級才能變更 ProductCode 屬性之案例的描述,請參閱變更 Product Code 變更 ProductCode 的升級稱為 「主要升級」。

升級套件的 ProductName 屬性、ProductVersion 屬性、ProductLanguage 屬性和 UpgradeCode 屬性可能會從原始產品變更或保持不變。 根據這些屬性的值,Windows Installer 可能會判斷是否要將未來的升級套件套用至目前的升級。

Upgrade 數據表之 ActionProperty 數據行中指定的屬性必須新增至 SecureCustomProperties 屬性。

使用您的資料庫編輯器開啟 MNP2001.msi,並在 Property 數據表輸入下列數據。 此清單提供內建安裝程式屬性參考主題的連結。 不是連結的屬性名稱是作者定義的屬性。 許多屬性都是從 SDK 隨附的 Uisample.msi 匯入。 如需詳細資訊,請參閱 匯入使用者介面

屬性表

屬性
ARPHELPLINK https://www.microsoft.com/management
BannerBitmap bannrbmp
ButtonText_Back < &Back
ButtonText_Browse Br&owse
ButtonText_Cancel 取消​​
ButtonText_Exit &Exit
ButtonText_Finish &Finish
ButtonText_Ignore &Ignore
ButtonText_Install &Install
ButtonText_Next &Next >
ButtonText_No &否
ButtonText_OK 確定
ButtonText_Remove &Remove
ButtonText_Reset &Reset
ButtonText_Resume &Resume
ButtonText_Retry &Retry
ButtonText_Return &Return
ButtonText_Yes &是
CompleteSetupIcon completi
ComponentDownload ftp://anonymous@microsoft.com/components/
CustomSetupIcon custicon
DefaultUIFont DlgFont8
DialogBitmap dlgbmp
DlgTitleFont {&DlgFontBold8}
ErrorDialog ErrorDlg
驚嘆號Icon 驚嘆號
False 0
Iagree No
InfoIcon info
InstallerIcon insticon
INSTALLLEVEL 3
InstallMode 一般
製造商 Microsoft
PIDTemplate 12345<###-%%%%>@@@@@
ProductCode {34CF587C-1D8F-4DD5-ADFE-440F4B593987}
ProductID none
ProductLanguage 1033
ProductName MNP2001
ProductVersion 01.50.0000
Progress1 正在安裝
Progress2 安裝
PROMPTROLLBACKCOST P
RemoveIcon removico
RepairIcon repairic
安裝程式 安裝程式
True 1
UpgradeCode {908E378A-9551-4772-BF1D-5CFAF6FD9CB4}
精靈 安裝精靈
SecureCustomProperties OLDAPPFOUND

 

繼續