markus / MarkusAutoUpdate / SetupWix / Product.wxs @ d952e1d5
이력 | 보기 | 이력해설 | 다운로드 (10.4 KB)
1 | 2013a5bd | taeseongkim | <?xml version="1.0" encoding="UTF-8"?> |
---|---|---|---|
2 | |||
3 | <!-- The name of the product --> |
||
4 | <?define Name = "Markus Auto Update" ?> |
||
5 | <!-- The Description of the product --> |
||
6 | <?define Description = "Automatic update when running Markus." ?> |
||
7 | <!-- The manufacturer, for setup package publisher and folder info --> |
||
8 | <?define Manufacturer = "Doftech (c)" ?> |
||
9 | <!-- The version number of this setup package--> |
||
10 | a7bee7cf | taeseongkim | <?define Version = "1.6.0" ?> |
11 | 2013a5bd | taeseongkim | <!-- UpgradeCode must be unique and not changed once the first version of the program is installed. --> |
12 | a7bee7cf | taeseongkim | <?define UpgradeCode = "{DAD69AEE-3912-4DCA-BF2E-FDF900C30AD0}" ?> |
13 | 2013a5bd | taeseongkim | <!-- The name of the Cabinet --> |
14 | <?define CabName = "MarkusUpdate.cab" ?> |
||
15 | |||
16 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:utilExt="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"> |
||
17 | 74b0f4b1 | taeseongkim | <!-- Projects Build Path--> |
18 | 2013a5bd | taeseongkim | <?define NetSparkle.Samples.NetFramework.WPF_TargetDir=$(var.NetSparkle.Samples.NetFramework.WPF.TargetDir)?> |
19 | <?define NetSparkle_TargetDir=$(var.NetSparkle.Samples.NetFramework.WPF.TargetDir)?> |
||
20 | <?define NetSparkle.UI.WPF_TargetDir=$(var.NetSparkle.Samples.NetFramework.WPF.TargetDir)?> |
||
21 | <?define IIpc_TargetDir=$(var.NetSparkle.Samples.NetFramework.WPF.TargetDir)?> |
||
22 | <?define Kcom_TargetDir=$(var.Kcom.TargetDir)?> |
||
23 | <?define MarkusUpdateExtract_Net_TargetDir=$(var.MarkusUpdateExtract_Net.TargetDir)?> |
||
24 | <!--<?define NetSparkle_TargetDir=$(var.NetSparkle.UI.WPF.TargetDir)net452\?> |
||
25 | <?define NetSparkle.UI.WPF_TargetDir=$(var.NetSparkle.UI.WPF.TargetDir)net452\?> |
||
26 | <?define IIpc_TargetDir=$(var.IIpc.TargetDir)?> |
||
27 | <?define Kcom_TargetDir=$(var.Kcom.TargetDir)?>--> |
||
28 | |||
29 | <Product Id="*" Name="$(var.Name)" Language="1033" Version="$(var.Version)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> |
||
30 | <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Manufacturer="$(var.Manufacturer)" /> |
||
31 | <!--<Media Id="1" Cabinet="$(var.CabName)" EmbedCab="yes" />--> |
||
32 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
||
33 | <!--Embed Cabinet into single msi file--> |
||
34 | <Media Id="1" Cabinet="$(var.CabName)" EmbedCab="yes" /> |
||
35 | 14917dae | taeseongkim | <WixVariable Id="WixUILicenseRtf" Value="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Resources/license.rtf" /> |
36 | <WixVariable Id="WixUIBannerBmp" Value="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Resources/DOFTECH_LOGO.bmp" /> |
||
37 | 017cb0c5 | taeseongkim | <WixVariable Id="WixUIDialogBmp" Value="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Resources/DialogImage.bmp" /> |
38 | 2013a5bd | taeseongkim | <!--<Condition Message="This application requires .NET Framework 4.5.2 Please install the .NET Framework then run this installer again."> |
39 | <![CDATA[Installed OR WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED]]> |
||
40 | </Condition>--> |
||
41 | <PropertyRef Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" /> |
||
42 | <Condition Message="This application requires .NET Framework 4.5.2 Please install the .NET Framework then run this installer again."> |
||
43 | <![CDATA[Installed OR WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED]]> |
||
44 | </Condition> |
||
45 | <Feature Id="ProductFeature" Title="$(var.Name)" Level="1"> |
||
46 | <ComponentGroupRef Id="ProductComponents" /> |
||
47 | </Feature> |
||
48 | <Feature Id="Complete"> |
||
49 | <ComponentRef Id="REG_PROTOCOL_WRITE"/> |
||
50 | <ComponentRef Id="REG_WARNONOPEN_WRITE"/> |
||
51 | </Feature> |
||
52 | 75f6ff19 | taeseongkim | <UI> |
53 | <UIRef Id="WixUI_Minimal"/> |
||
54 | </UI> |
||
55 | 2013a5bd | taeseongkim | </Product> |
56 | <Fragment> |
||
57 | <Directory Id="TARGETDIR" Name="SourceDir"> |
||
58 | <Directory Id="ProgramFiles64Folder"> |
||
59 | <Directory Id="ROOTDIRECTORY" Name="DOFTECH"> |
||
60 | <!-- Create a folder inside Company Name folder with Product Name--> |
||
61 | <Directory Id="INSTALLFOLDER" Name="MarkusUpdate"> |
||
62 | <Directory Id="EXTRACT_INSTALLFOLDER" Name="MarkusExtractUpdate"/> |
||
63 | </Directory> |
||
64 | </Directory> |
||
65 | </Directory> |
||
66 | </Directory> |
||
67 | </Fragment> |
||
68 | <Fragment> |
||
69 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
||
70 | <!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --> |
||
71 | <!-- <Component Id="ProductComponent"> --> |
||
72 | <!-- TODO: Insert files, registry keys, and other resources here. --> |
||
73 | <!-- </Component> --> |
||
74 | <ComponentGroupRef Id="ProgramFilesFolder_files"/> |
||
75 | <ComponentGroupRef Id="MarkusUpdateExtract_files"/> |
||
76 | </ComponentGroup> |
||
77 | </Fragment> |
||
78 | <!--<Fragment> |
||
79 | <DirectoryRef Id="TARGETDIR"> |
||
80 | <Component Id="cmp67889FD2219FCD1ECDA0BD9FE906CD7A" Guid="57D045D4-AFC0-4874-8BA9-A1E8B9C348F9" KeyPath="yes"> |
||
81 | <RegistryKey ForceCreateOnInstall="yes" Key="KCOM\shell\open" Root="HKCR" /> |
||
82 | </Component> |
||
83 | </DirectoryRef> |
||
84 | </Fragment>--> |
||
85 | |||
86 | <!--Kcom:// url open--> |
||
87 | <Fragment> |
||
88 | <DirectoryRef Id="INSTALLFOLDER"> |
||
89 | <Component Id="REG_PROTOCOL_WRITE" Guid="D8795ADA-D3EC-4F34-86C3-7D6BE54420EA" KeyPath="yes"> |
||
90 | <RegistryKey Key="KCOM" Root="HKCR" Action="createAndRemoveOnUninstall"> |
||
91 | <RegistryValue Name="URL Protocol" Value="" Type="string" /> |
||
92 | </RegistryKey> |
||
93 | <RegistryKey ForceCreateOnInstall="yes" Key="KCOM\shell" Root="HKCR" /> |
||
94 | <RegistryKey Key="KCOM\shell\open\command" Root="HKCR" Action="createAndRemoveOnUninstall"> |
||
95 | cac7cac2 | taeseongkim | <RegistryValue Value=""[INSTALLFOLDER]Markus.AppUpdate.exe" "%1"" Type="string" /> |
96 | 2013a5bd | taeseongkim | </RegistryKey> |
97 | </Component> |
||
98 | </DirectoryRef> |
||
99 | </Fragment> |
||
100 | <Fragment> |
||
101 | <DirectoryRef Id="INSTALLFOLDER"> |
||
102 | 75f6ff19 | taeseongkim | <Component Id="REG_WARNONOPEN_WRITE" Guid="171260E2-66FC-4088-9F1F-3FAEB29250CA"> |
103 | 2013a5bd | taeseongkim | <RegistryKey Key="Software\KCOM" Root="HKCU" Action="createAndRemoveOnUninstall" /> |
104 | <RegistryKey Key="Software\Microsoft\Internet Explorer\KCOM" Root="HKCU" Action="createAndRemoveOnUninstall"> |
||
105 | <RegistryValue Name="WarnOnOpen" Value="0" Type="integer" /> |
||
106 | </RegistryKey> |
||
107 | <RegistryKey Key="Software\KCOM" Root="HKLM" Action="createAndRemoveOnUninstall" /> |
||
108 | </Component> |
||
109 | </DirectoryRef> |
||
110 | </Fragment> |
||
111 | <Fragment> |
||
112 | <ComponentGroup Id="ProgramFilesFolder_files" Directory="INSTALLFOLDER"> |
||
113 | <Component Id="Log.config" Guid="9bac7a56-e2be-41d4-b869-fc9730d89dfc"> |
||
114 | <File Id="Log.config" Name="Log.config" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Log.config" /> |
||
115 | </Component> |
||
116 | <Component Id="Markus.AppUpdate.ini" Guid="531ed1f4-148c-4849-9fb8-b45425f028be"> |
||
117 | d9c0cdb8 | taeseongkim | <RemoveFile Id="remove_comp_12D9BA535F5443E0B23AF72ED10A3385" Name="Markus.AppUpdate.ini" On="install"/> |
118 | <File Id="Markus.AppUpdate.ini" Name="Markus.AppUpdate.ini" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Markus.AppUpdate.ini" /> |
||
119 | 2013a5bd | taeseongkim | </Component> |
120 | <Component Id="MARKUS.ini" Guid="406e6027-fcfc-47e9-bff8-868bae6b9498"> |
||
121 | <File Id="MARKUS.ini" Name="MARKUS.ini" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)MARKUS.ini" /> |
||
122 | </Component> |
||
123 | <Component Id="Markus.AppUpdate.exe" Guid="7855cf56-af12-40f8-8a44-3740268876e3"> |
||
124 | <File Id="Markus.AppUpdate.exe" Name="Markus.AppUpdate.exe" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Markus.AppUpdate.exe" /> |
||
125 | </Component> |
||
126 | <Component Id="Markus.AppUpdate.exe.config" Guid="992bc69f-c3c5-4e68-9e61-933017300ec7"> |
||
127 | <File Id="Markus.AppUpdate.exe.config" Name="Markus.AppUpdate.exe.config" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Markus.AppUpdate.exe.config" /> |
||
128 | </Component> |
||
129 | <Component Id="NetSparkle.dll" Guid="75b25671-7b5f-478f-9cc2-6190b9266e09"> |
||
130 | <File Id="NetSparkle.dll" Name="NetSparkle.dll" Source="$(var.NetSparkle_TargetDir)NetSparkle.dll" /> |
||
131 | </Component> |
||
132 | <Component Id="ConfigParser.dll" Guid="9ea73b97-bd10-489d-8fff-c4cdb94ef8eb"> |
||
133 | <File Id="ConfigParser.dll" Name="ConfigParser.dll" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)ConfigParser.dll" /> |
||
134 | </Component> |
||
135 | <Component Id="log4net.dll" Guid="28e72c39-3ded-4042-8679-394f23e19341"> |
||
136 | <File Id="log4net.dll" Name="log4net.dll" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)log4net.dll" /> |
||
137 | </Component> |
||
138 | <Component Id="NetSparkle.UI.WPF.dll" Guid="74deb7fa-1d41-4bee-9713-c47eb970f3a8"> |
||
139 | <File Id="NetSparkle.UI.WPF.dll" Name="NetSparkle.UI.WPF.dll" Source="$(var.NetSparkle.UI.WPF_TargetDir)NetSparkle.UI.WPF.dll" /> |
||
140 | </Component> |
||
141 | <Component Id="IIpc.dll" Guid="996e8122-db02-4132-9de0-144dcb8635d9"> |
||
142 | <File Id="IIpc.dll" Name="IIpc.dll" Source="$(var.IIpc_TargetDir)IIpc.dll" /> |
||
143 | </Component> |
||
144 | <Component Id="BouncyCastle.Crypto.dll" Guid="4c7cf6c2-b024-48c3-bad1-c6af9d16c3af"> |
||
145 | <File Id="BouncyCastle.Crypto.dll" Name="BouncyCastle.Crypto.dll" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)BouncyCastle.Crypto.dll" /> |
||
146 | </Component> |
||
147 | <Component Id="Newtonsoft.Json.dll" Guid="8d3bdd17-ae86-4686-a51a-153143f29a76"> |
||
148 | <File Id="Newtonsoft.Json.dll" Name="Newtonsoft.Json.dll" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Newtonsoft.Json.dll" /> |
||
149 | </Component> |
||
150 | <Component Id="Kcom.exe" Guid="eb074842-fe01-4ee4-8440-ba6630a65e50"> |
||
151 | <File Id="Kcom.exe" Name="Kcom.exe" Source="$(var.Kcom_TargetDir)Kcom.exe" /> |
||
152 | </Component> |
||
153 | <Component Id="Kcom.exe.config" Guid="01d01d56-6de0-4844-b8f3-b1fae4a4bdae"> |
||
154 | <File Id="Kcom.exe.config" Name="Kcom.exe.config" Source="$(var.Kcom_TargetDir)Kcom.exe.config" /> |
||
155 | </Component> |
||
156 | </ComponentGroup> |
||
157 | </Fragment> |
||
158 | <Fragment> |
||
159 | <ComponentGroup Id="MarkusUpdateExtract_files" Directory="EXTRACT_INSTALLFOLDER"> |
||
160 | <Component Id="MarkusUpdateExtract.exe" Guid="8f9a8aeb-d455-4c95-8730-63bafefe9541"> |
||
161 | <File Id="MarkusUpdateExtract.exe" Name="MarkusUpdateExtract.exe" Source="$(var.MarkusUpdateExtract_Net_TargetDir)MarkusUpdateExtract.exe" /> |
||
162 | </Component> |
||
163 | <Component Id="MarkusUpdateExtract.exe.config" Guid="72c14e98-001a-41ff-b81e-f2a2fe733175"> |
||
164 | <File Id="MarkusUpdateExtract.exe.config" Name="MarkusUpdateExtract.exe.config" Source="$(var.MarkusUpdateExtract_Net_TargetDir)MarkusUpdateExtract.exe.config" /> |
||
165 | </Component> |
||
166 | <Component Id="log4net.dll2" Guid="28e72c39-3ded-4042-8679-394f23e19343"> |
||
167 | <File Id="log4net.dll2" Name="log4net.dll" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)log4net.dll" /> |
||
168 | </Component> |
||
169 | <Component Id="IIpc.dll2" Guid="996e8122-db02-4132-9de0-144dcb8635d1"> |
||
170 | <File Id="IIpc.dll2" Name="IIpc.dll" Source="$(var.IIpc_TargetDir)IIpc.dll" /> |
||
171 | </Component> |
||
172 | <Component Id="Log.config2" Guid="9bac7a56-e2be-41d4-b869-fc9730d89dfa"> |
||
173 | <File Id="Log.config2" Name="Log.config" Source="$(var.NetSparkle.Samples.NetFramework.WPF_TargetDir)Log.config" /> |
||
174 | </Component> |
||
175 | </ComponentGroup> |
||
176 | </Fragment> |
||
177 | </Wix> |