~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/BackendBindings/WixBinding/Project/Templates/WixUIInstallDirProject.xpt

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<Template originators="Matt Ward">
 
3
        <TemplateConfiguration>
 
4
                <Name>${res:Templates.Project.SetupProject.Name} - WixUI Install Dir</Name>
 
5
                <Category>${res:Templates.File.Categories.Setup}</Category>
 
6
                <Icon>Icons.32x32.EmptyProjectIcon</Icon>
 
7
                <Description>${res:Templates.Project.SetupProject.Description}</Description>
 
8
        </TemplateConfiguration>
 
9
        
 
10
        <!-- Actions -->
 
11
        <Actions>
 
12
                <Open filename="Setup.wxs"/>
 
13
        </Actions>
 
14
        
 
15
        <!-- Template Content -->
 
16
        <Project language="Wix">
 
17
                <PropertyGroup>
 
18
                        <SupressIces>ICE45</SupressIces>
 
19
                        <WixVariables>WixUILicenseRtf=license.rtf</WixVariables>
 
20
                </PropertyGroup>
 
21
                <ProjectItems>
 
22
                        <WixExtension Include="$(WixToolPath)\WixUIExtension.dll"/>
 
23
                </ProjectItems>
 
24
                <Files>
 
25
                        <File name="Setup.wxs"><![CDATA[<?xml version="1.0"?>
 
26
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
 
27
        <Product Id="*"
 
28
                Name="Your Application"
 
29
                Language="1033"
 
30
                Version="1.0.0.0"
 
31
                UpgradeCode="${GUID}"
 
32
                Manufacturer="Your Company">
 
33
                <Package Description="#Description"
 
34
                        Comments="Comments"
 
35
                        InstallerVersion="200"
 
36
                        Compressed="yes"/>
 
37
                <!--
 
38
                        Source media for the installation. 
 
39
                        Specifies a single cab file to be embedded in the installer's .msi. 
 
40
                -->
 
41
                <Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/>
 
42
                
 
43
                <!-- Installation directory and files are defined in Files.wxs -->
 
44
                <Directory Id="TARGETDIR" Name="SourceDir"/>
 
45
                
 
46
                <Feature Id="Complete"
 
47
                         Title="Your Application"
 
48
                         Description="Your description"
 
49
                         Level="1">
 
50
                         <ComponentRef Id="MyComponent"/>
 
51
                </Feature>
 
52
                
 
53
                <!-- 
 
54
                        Using the Wix UI library
 
55
 
 
56
                        WixUI_InstallDir does not allow the user to choose 
 
57
                        features but adds a dialog to let the user choose a 
 
58
                        directory where the product will be installed
 
59
                -->
 
60
                <Property Id="WIXUI_INSTALLDIR">INSTALLDIR</Property>
 
61
                <UIRef Id="WixUI_InstallDir"/>
 
62
        </Product>
 
63
</Wix>
 
64
]]></File>
 
65
                        <File name="Files.wxs"><![CDATA[<?xml version="1.0"?>
 
66
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
 
67
        <Fragment>
 
68
                <DirectoryRef Id="TARGETDIR">
 
69
                        <Directory Id="ProgramFilesFolder" Name="PFiles">
 
70
                                <Directory Id="INSTALLDIR" Name="Your Application">
 
71
                                        <Component Id="MyComponent" Guid="${GUID}" DiskId="1">
 
72
                                                <File Id="LicenseFile" Name="license.rtf" Source="license.rtf"/>
 
73
                                        </Component>
 
74
                                </Directory>
 
75
                        </Directory>
 
76
                </DirectoryRef>
 
77
        </Fragment>
 
78
</Wix>
 
79
]]></File>
 
80
                        <File name="license.rtf" src="DefaultLicense.rtf" buildAction="None" />         
 
81
                </Files>
 
82
        </Project>
 
83
</Template>