你好,
我想自定义维护类型对话框,即维护欢迎对话框,维护类型对话框,这就是我所做的:
我将MaintenanceWelcomeDlg从wix源复制到我的当前目录将
对话框名称更改为MymaintenanceWelcomeDlg在WixUI_InstallDIr中添加了一个对话框引用使用light.exe将对话框链接到installer.msi但是它仍然显示上一个对话框,唯一的我所做的更改是将位图添加到它。
安装 UI 序列如下所示:
<InstallUISequence>
<ShowDialog="MyMaintenanceWelcomeDlg"Before="MaintenanceWelcomeDlg"Overridable="yes">Installed AND NOT RESUME AND NOT Preselected AND NOT PATCH</Show>
</InstallUISequence>
谢谢。在 WixUI_InstallDir
<Publish Dialog="MyMaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MyMaintenanceTypeDlg">1</Publish>
<Publish Dialog="MyMaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="MyVerifyReadyDlg">1</Publish>
<Publish Dialog="MyMaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="MyVerifyReadyDlg">1</Publish>
<Publish Dialog="MyMaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MyMaintenanceWelcomeDlg">1</Publish>
<Property Id="ARPNOMODIFY" Value="0" />
但是,当我双击安装程序的图标时,它仍然显示默认对话框。
请帮忙!!!。
艾玛