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

后端 未结 1 809
名媛妹妹
名媛妹妹 2021-01-25 23:34

Am developing an installer for my application using wix installer.installer. Wix is really new to me . In that installer am having a custom dialog and where i have kept check b

相关标签:
1条回答
  • 2021-01-25 23:45

    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. :)

    0 讨论(0)
提交回复
热议问题