How to insert a Groupbox and image in setup dialog in wix Installer

拜拜、爱过 提交于 2019-12-02 10:14:22

Need to add a Binary element to the file:

<Binary Id="MainImage" SourceFile="Resources/Images/weblabel.jpg" />

...and to set the Text of the Bitmap Control to "MainImage":

        <Control Id="Bitmap"
                    Type="Bitmap"
                    X="0"
                    Y="0"
                    Width="258"
                    Height="185"
                    TabSkip="no"
                    Text="MainImage" />

and for adding a group box

    <Control Id="grpBox"  Type="GroupBox"   X="8" Y="50" Width="355" Height="210" Text="Add-in for Microsoft Office" ></Control>

and now it works. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!