如何将自定义消息退出对话框添加到wix安装程序(How to add custom message exit dialog to wix installer)

编程入门 行业动态 更新时间:2024-10-26 02:33:16
如何将自定义消息退出对话框添加到wix安装程序(How to add custom message exit dialog to wix installer)

我想在ExitDialog安装程序中向ExitDialog添加消息。 我怎样才能做到这一点?

我需要添加这样的消息 - 请重启机器进行更改。

我尝试过这样的事情。

<Feature Id="ProductFeature" Title="TFSServiceInstaller" Level="1"> <ComponentRef Id="MainExecutable" /> <ComponentRef Id="TFSShortcut" /> </Feature> <UI> <Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" /> <Property Id="WixUI_Mode" Value="Custom" /> <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="9" Bold="yes" /> <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FilesInUse" /> <DialogRef Id="FatalError" /> <DialogRef Id="UserExit" /> <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> <Publish Dialog="WelcomeDlg" Control="Next" Event="EndDialog" Value="Return" Order="2"></Publish> </UI> <UIRef Id="WixUI_Common" />

只显示该消息对我来说足够了。 (不需要复选框)

I want to add message to ExitDialog in wix installer. how can i do that?

I need to add message like this - Please restart you machine to make changes.

I have tried something like this.

<Feature Id="ProductFeature" Title="TFSServiceInstaller" Level="1"> <ComponentRef Id="MainExecutable" /> <ComponentRef Id="TFSShortcut" /> </Feature> <UI> <Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" /> <Property Id="WixUI_Mode" Value="Custom" /> <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="9" Bold="yes" /> <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FilesInUse" /> <DialogRef Id="FatalError" /> <DialogRef Id="UserExit" /> <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> <Publish Dialog="WelcomeDlg" Control="Next" Event="EndDialog" Value="Return" Order="2"></Publish> </UI> <UIRef Id="WixUI_Common" />

only display that message would be enough for me. ( no need of check box)

最满意答案

为此需要添加以下属性。

<Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="Please Restart your Computer." />

然后它会将文本添加到退出屏幕。 有关详细信息, 请参阅此处

for this need to add following property.

<Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="Please Restart your Computer." />

then it will add text to exit screen. for more details see here

更多推荐

Id,ExitDialog,Value,电脑培训,计算机培训,IT培训"/> <meta name="descripti

本文发布于:2023-08-07 11:50:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464200.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   安装程序   对话框   如何将   消息

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!