This repository has been archived by the owner on Jun 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
bitbucket-backup.wxs
122 lines (109 loc) · 5.65 KB
/
bitbucket-backup.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<?define ProductId = $(env.ProductId) ?>
<?define UpgradeCode = {59B6F924-ECF4-40BD-A132-537FC1CC0695} ?>
<?define ProductName = Bitbucket Backup ?>
<?define Manufacturer = Christian Specht ?>
<?define Description = A backup tool which clones all your Bitbucket repositories to your local machine. ?>
<Product
Id='$(var.ProductId)'
Name='$(var.ProductName) $(env.VersionNumber)'
Language='1033'
Version='$(env.VersionNumber)'
Manufacturer='$(var.Manufacturer)'
UpgradeCode='$(var.UpgradeCode)' >
<Package
Description='$(var.Description)'
Manufacturer='$(var.Manufacturer)'
InstallerVersion='200'
Compressed='yes' />
<PropertyRef Id='NETFRAMEWORK40CLIENT'/>
<Condition Message='This setup requires the .NET Framework 4.0 Client Profile installed.'>
<![CDATA[Installed OR NETFRAMEWORK40CLIENT]]>
</Condition>
<Media Id='1' Cabinet='bitbucketbackup.cab' EmbedCab='yes' />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='INSTALLDIR' Name='$(var.ProductName)'>
<Directory Id='DE' Name='de' />
</Directory>
</Directory>
<Directory Id='ProgramMenuFolder' Name='Programs'>
<Directory Id='ProgramMenuDir' Name='$(var.ProductName)'>
<Component Id='ProgramMenuDir' Guid='{B1FE2182-00B0-4844-B7B7-FC99171397CF}'>
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue
Root='HKCU' Key='Software\$(var.ProductName)'
Type='string' Value='[INSTALLDIR]' KeyPath='yes'
/>
<Shortcut Id='ReadmeShortcut' Name='Readme' Target='[ARPREADME]' Directory='ProgramMenuDir' />
</Component>
</Directory>
</Directory>
</Directory>
<DirectoryRef Id='INSTALLDIR'>
<Component Id='Exe' Guid='{BAEDA8A6-4D81-43B9-AB3A-D3B201C44E60}'>
<File Id='Exe' Name='BitbucketBackup.exe' DiskId='1' Source='release\bin\BitbucketBackup.exe' KeyPath='yes'>
<Shortcut Id='BitbucketBackupExeShortcut' Directory='ProgramMenuDir' Name='Bitbucket Backup' WorkingDirectory='INSTALLDIR' Advertise='yes' Icon='logo.ico' IconIndex='0'/>
</File>
</Component>
<Component Id='Config' Guid='{66443E3E-5E8F-4224-8633-2209F00B9FBC}'>
<File Id='Config' Name='BitbucketBackup.exe.config' DiskId='1' Source='release\bin\BitbucketBackup.exe.config' KeyPath='yes' />
</Component>
<Component Id='FluentCommandLineParser' Guid='{4C488585-4F9F-44F0-A2AB-15851FB72020}'>
<File Id='FluentCommandLineParser' Name='FluentCommandLineParser.dll' DiskId='1' Source='release\bin\FluentCommandLineParser.dll' KeyPath='yes' />
</Component>
<Component Id='MercurialNet' Guid='{9FB139E7-F9EA-4DB5-BC9E-D4539D9A2EA2}'>
<File Id='MercurialNet' Name='Mercurial.Net.dll' DiskId='1' Source='release\bin\Mercurial.Net.dll' KeyPath='yes' />
</Component>
<Component Id='JsonNet' Guid='{442734E0-3D34-4FB9-AD45-FC63C495835F}'>
<File Id='JsonNet' Name='Newtonsoft.Json.dll' DiskId='1' Source='release\bin\Newtonsoft.Json.dll' KeyPath='yes' />
</Component>
<Component Id='Ninject' Guid='{7958E7FB-5586-43AF-BAE2-5EF637A0E8A6}'>
<File Id='Ninject' Name='Ninject.dll' DiskId='1' Source='release\bin\Ninject.dll' KeyPath='yes' />
</Component>
<Component Id='RestSharp' Guid='{7BE9E9C9-C742-479F-85EB-7BB3EC2245D1}'>
<File Id='RestSharp' Name='RestSharp.dll' DiskId='1' Source='release\bin\RestSharp.dll' KeyPath='yes' />
</Component>
<Component Id='License' Guid='{9DE17CBD-96F0-487E-A964-014337A62763}'>
<File Id='License' Name='License.rtf' DiskId='1' Source='release\bin\License.rtf' KeyPath='yes' />
</Component>
<Component Id='Readme' Guid='{B73CBD07-1FF2-4994-92C6-3B56068E01E3}'>
<File Id='Readme' Name='readme.txt' DiskId='1' Source='release\bin\README.md' KeyPath='yes' />
</Component>
</DirectoryRef>
<DirectoryRef Id='DE'>
<Component Id='ResDe' Guid='{20AEFC29-A683-46B2-8239-14135E250C33}'>
<File Id='ResDe' Name='BitbucketBackup.resources.dll' DiskId='1' Source='release\bin\de\BitbucketBackup.resources.dll' KeyPath='yes' />
</Component>
</DirectoryRef>
<Feature Id='Complete' Title='$(var.ProductName)' Level='1' Display='expand' ConfigurableDirectory='INSTALLDIR'>
<ComponentRef Id='ProgramMenuDir' />
<ComponentRef Id='Exe' />
<ComponentRef Id='Config' />
<ComponentRef Id='FluentCommandLineParser' />
<ComponentRef Id='MercurialNet' />
<ComponentRef Id='JsonNet' />
<ComponentRef Id='Ninject' />
<ComponentRef Id='RestSharp' />
<ComponentRef Id='License' />
<ComponentRef Id='Readme' />
<ComponentRef Id='ResDe' />
</Feature>
<MajorUpgrade
DowngradeErrorMessage='A later version of [ProductName] is already installed. Setup will now exit.' />
<Property Id='ARPCOMMENTS'>$(var.Description)</Property>
<Property Id='ARPHELPLINK'>https://christianspecht.de/bitbucket-backup</Property>
<Property Id='ARPREADME'>https://christianspecht.de/bitbucket-backup</Property>
<Property Id='ARPURLINFOABOUT'>https://christianspecht.de/</Property>
<Property Id='ARPURLUPDATEINFO'>https://christianspecht.de/bitbucket-backup</Property>
<Property Id='ARPPRODUCTICON'>logo.ico</Property>
<Property Id='WIXUI_INSTALLDIR' Value='INSTALLDIR' />
<WixVariable Id='WixUILicenseRtf' Value='License.rtf' />
<WixVariable Id="WixUIBannerBmp" Value='wix\wixbanner.bmp' />
<WixVariable Id="WixUIDialogBmp" Value='wix\wixdialog.bmp' />
<Icon Id='logo.ico' SourceFile='img\logo.ico' />
<UIRef Id='WixUI_InstallDir' />
<UIRef Id='WixUI_ErrorProgressText' />
</Product>
</Wix>