更新属性以进行升级

由于升级更改了 .msi 文件的名称,并更改了部分组件的组件代码,因此升级的产品代码必须在原始产品的产品代码的基础上进行更改。 有关需要升级以更改 ProductCode 属性的情况的说明,请参阅更改产品代码。 更改 ProductCode 的升级称为重大升级

升级包的 ProductName 属性、ProductVersion 属性、ProductLanguage 属性和 UpgradeCode 属性可能与原始产品不同,也可能保持不变。 Windows Installer 可以根据这些属性的值来确定是否将未来的升级包应用于当前升级。

Upgrade 表的 ActionProperty 列中指定的属性必须添加到 SecureCustomProperties 属性中。

使用数据库编辑器打开 MNP2001.msi,并在 Property 表中输入以下数据。 该列表提供了内置安装程序属性的参考主题的链接。 不是链接的属性名称是创作者定义的属性。 许多属性是从 SDK 附带的 Uisample.msi 导入的。 有关详细信息,请参阅导入用户界面

Property 表

属性
ARPHELPLINK https://www.microsoft.com/management
BannerBitmap bannrbmp
ButtonText_Back < 上一步(&B)
ButtonText_Browse 浏览(&O)
ButtonText_Cancel 取消
ButtonText_Exit &退出
ButtonText_Finish &完成
ButtonText_Ignore 忽略(&I)
ButtonText_Install &安装
ButtonText_Next 下一步(&N) >
ButtonText_No &否
ButtonText_OK 确定
ButtonText_Remove &删除
ButtonText_Reset &重置
ButtonText_Resume &继续
ButtonText_Retry &重试
ButtonText_Return 返回(&R)
ButtonText_Yes &是
CompleteSetupIcon completi
ComponentDownload ftp://anonymous@microsoft.com/components/
CustomSetupIcon custicon
DefaultUIFont DlgFont8
DialogBitmap dlgbmp
DlgTitleFont {&DlgFontBold8}
ErrorDialog ErrorDlg
ExclamationIcon exclamic
False 0
Iagree
InfoIcon info
InstallerIcon insticon
INSTALLLEVEL 3
InstallMode 典型
制造商 Microsoft
PIDTemplate 12345<###-%%%%%%%>@@@@@
ProductCode {34CF587C-1D8F-4DD5-ADFE-440F4B593987}
ProductID
ProductLanguage 2052
ProductName MNP2001
ProductVersion 01.50.0000
Progress1 安装
Progress2 installs
PROMPTROLLBACKCOST P
RemoveIcon removico
RepairIcon repairic
设置 设置
True 1
UpgradeCode {908E378A-9551-4772-BF1D-5CFAF6FD9CB4}
向导 安装向导
SecureCustomProperties OLDAPPFOUND

 

继续