Browse Source

Added a "graphical" dialog based on the UserExitDialog.wxs

Changed the naming for WixDialog.xft

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2306 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Justin Dearing 19 years ago
parent
commit
51a8fad9cd
  1. 2
      src/AddIns/BackendBindings/WixBinding/Project/Templates/WixDialog.xft
  2. 41
      src/AddIns/BackendBindings/WixBinding/Project/Templates/WixGraphicalDialog.xft

2
src/AddIns/BackendBindings/WixBinding/Project/Templates/WixDialog.xft

@ -13,7 +13,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<Fragment> <Fragment>
<UI> <UI>
<Dialog Id="NewDialog" Width="370" Height="270" Title="New Dialog"> <Dialog Id="${ClassName}" Width="370" Height="270" Title="${FileNameWithoutExtension}">
</Dialog> </Dialog>
</UI> </UI>
</Fragment> </Fragment>

41
src/AddIns/BackendBindings/WixBinding/Project/Templates/WixGraphicalDialog.xft

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<Template author="Justin Dearing" version="1.0">
<Config name = "${res:Templates.File.Wix.WixGraphicalDialog.Name}"
icon = "Icons.32x32.XMLFileIcon"
category = "${res:Templates.File.Categories.Setup}"
defaultname = "Dialog${Number}.wxs"
language = "XML"/>
<Description>${res:Templates.File.Wix.WixGraphicalDialog.Description}</Description>
<Files>
<File name="${FullName}" language="XML"><![CDATA[<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<Fragment>
<UI>
<Dialog Id="${ClassName}" Width="370" Height="270" Title="${FileNameWithoutExtension}">
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[Button_Next]">
<!--
<Publish Event="NewDialog" Value="ViewLicenseAgreement">1</Publish>
-->
</Control>
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="[Button_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDialog">1</Publish>
</Control>
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" FixedSize="yes" TabSkip="no" Text="dialog.bmp" />
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="[Button_Back]" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
<Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="90" Transparent="yes" NoPrefix="yes">
<Text>Your Text Goes Here</Text>
</Control>
<Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
<Text>${FileNameWithoutExtension}</Text>
</Control>
</Dialog>
</UI>
</Fragment>
</Wix>]]>
</File>
</Files>
<AdditionalOptions/>
</Template>
Loading…
Cancel
Save