-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProduct.wxs
89 lines (78 loc) · 4.35 KB
/
Product.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
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util='http://schemas.microsoft.com/wix/UtilExtension'
xmlns:ui='http://schemas.microsoft.com/wix/UIExtension'>
<Product Id="755303bf-ad0e-47bd-b32e-51ddb8ff7dad" Name="MCS_Extractor_Installer"
Language="1033" Version="1.0.5.2" Manufacturer="Perago-Wales"
UpgradeCode="759fdfe9-5cc7-46f4-9e59-15805e3f8f64">
<Package
Id="*" Description="Installer package for the My Council Services Extractor tool"
InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<WixVariable Id="WixUILicenseRtf" Value="mit.rtf" />
<MajorUpgrade DowngradeErrorMessage="A newer version of MCS Extractor is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="MCS_Extractor_Installer" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<ComponentGroupRef Id="CommandLineComponents" />
<ComponentGroupRef Id="PGSQLComponents" />
<ComponentGroupRef Id="MSSQLComponents" />
<ComponentGroupRef Id="DownloadFolderGroup" />
</Feature>
<Property Id="POSTGRESUSERNAME" Value="postgres" />
<Property Id="POSTGRESPASSWORD" Secure="yes" Value=" " />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<Property Id="SQLPATH">$(var.MCS-Extractor.ProjectDir)\Sql\postgres\database.sql</Property>
<Property Id="MsiLogging" Value="v" />
<UIRef Id="WixUI_InstallDir" />
<UIRef Id="WixUI_ErrorProgressText" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="MCS Extractor" >
<Directory Id="SQLFolder" Name="Sql">
<Directory Id="PostgresFolder" Name="postgres" />
<Directory Id="MSSQLFolder" Name="mssql" />
</Directory>
<Directory Id="DownloadFolder" Name="Downloaded" >
</Directory>
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="ProductComponent" Guid="498CE7A5-BC35-4D4F-A086-030B190166C7">
<File Id="MCSExtractorExe" Name="MCS-Extractor.exe" DiskId="1" Source="$(var.MCS-Extractor.TargetPath)" KeyPath="yes" />
<File Id="MCSExtractorConfig" Name="MCS-Extractor.exe.config" DiskId="1" Source="$(var.MCS-Extractor.TargetDir)" KeyPath="no" />
<File Id="MCSDataImport" Name="MCSDataImport.dll" DiskId="1" Source="$(var.MCS-Extractor.TargetDir)" KeyPath="no" />
</Component>
</ComponentGroup>
<ComponentGroup Id="CommandLineComponents" Directory="INSTALLFOLDER">
<Component Id="CommandLineComponent" Guid="0cceef16-aeaf-11ec-b909-0242ac120002">
<File Id="MCSCommandLineExe" Name="MCS-Extractor-CMD.exe" DiskId="1" Source="$(var.MCS-Extractor-CMD.TargetPath)" KeyPath="no" />
</Component>
</ComponentGroup>
<ComponentGroup Id="PGSQLComponents" Directory="PostgresFolder" >
<Component Id="PGTemplateSQLComponent" Guid="666eb58a-018d-4ca2-bf55-24c4dd4edc40" >
<File Id="PGTemplateSQL" Name="template.sql" DiskId="1" Source="$(var.MCS-Extractor.ProjectDir)\Sql\postgres\template.sql" KeyPath="no" />
</Component>
<Component Id="PGDatabaseSQLComponent" Guid="678bd34f-4364-41e4-aa71-0dea0d6e00f1" >
<File Id="PGDatabaseSQL" Name="database.sql" DiskId="1" Source="$(var.MCS-Extractor.ProjectDir)\Sql\postgres\database.sql" KeyPath="no" />
</Component>
</ComponentGroup>
<ComponentGroup Id="MSSQLComponents" Directory="MSSQLFolder" >
<Component Id="MSDatabaseSQLComponent" Guid="4e259e2c-9ecb-11ec-b909-0242ac120002" >
<File Id="MSDatabaseSQL" Name="database.sql" DiskId="1" Source="$(var.MCS-Extractor.ProjectDir)\Sql\mssql\database.sql" KeyPath="no" />
</Component>
<Component Id="MSTemplateSQLComponent" Guid="F63FD18F-209D-427A-A6BC-51DA9C92DFED" >
<File Id="MSTemplateSQL" Name="template.sql" DiskId="1" Source="$(var.MCS-Extractor.ProjectDir)\Sql\mssql\template.sql" KeyPath="no" />
</Component>
</ComponentGroup>
<ComponentGroup Id="DownloadFolderGroup">
<Component Id="DownloadFolderComponent" Directory="DownloadFolder" Guid="3189febc-351d-402f-a3ae-6224b0bcb129">
<CreateFolder />
</Component>
</ComponentGroup>
</Fragment>
</Wix>