Skip to content

Commit fb846c5

Browse files
committed
Add NanaZipLegacyShell MSI installer.
1 parent ec0c029 commit fb846c5

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed

NanaZip.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "K7Pal", "K7Pal\K7Pal.vcxpro
5353
EndProject
5454
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NanaZipLegacyShell", "NanaZip.UI.Classic\NanaZipLegacyShell.vcxproj", "{F5C18E0D-AE2D-494D-9D28-0C435C8ED5C2}"
5555
EndProject
56+
Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "NanaZipLegacyShellSetup", "NanaZipLegacyShellSetup\NanaZipLegacyShellSetup.wixproj", "{C86BA390-0452-4D92-8B37-067F1553BFA4}"
57+
EndProject
5658
Global
5759
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5860
Debug|ARM64 = Debug|ARM64
@@ -271,6 +273,18 @@ Global
271273
{F5C18E0D-AE2D-494D-9D28-0C435C8ED5C2}.Release|x64.Build.0 = Release|x64
272274
{F5C18E0D-AE2D-494D-9D28-0C435C8ED5C2}.Release|x86.ActiveCfg = Release|Win32
273275
{F5C18E0D-AE2D-494D-9D28-0C435C8ED5C2}.Release|x86.Build.0 = Release|Win32
276+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|ARM64.ActiveCfg = Debug|ARM64
277+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|ARM64.Build.0 = Debug|ARM64
278+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|x64.ActiveCfg = Debug|x64
279+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|x64.Build.0 = Debug|x64
280+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|x86.ActiveCfg = Debug|x86
281+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Debug|x86.Build.0 = Debug|x86
282+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|ARM64.ActiveCfg = Release|ARM64
283+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|ARM64.Build.0 = Release|ARM64
284+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|x64.ActiveCfg = Release|x64
285+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|x64.Build.0 = Release|x64
286+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|x86.ActiveCfg = Release|x86
287+
{C86BA390-0452-4D92-8B37-067F1553BFA4}.Release|x86.Build.0 = Release|x86
274288
EndGlobalSection
275289
GlobalSection(SolutionProperties) = preSolution
276290
HideSolutionNode = FALSE
@@ -297,6 +311,7 @@ Global
297311
{249B9FCE-0114-4EE9-A31E-C8A36EEA2279} = {1B20CAF2-FCA3-490D-BDD7-2D7DD439787A}
298312
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0} = {1B20CAF2-FCA3-490D-BDD7-2D7DD439787A}
299313
{F5C18E0D-AE2D-494D-9D28-0C435C8ED5C2} = {6666CFC3-1986-469A-9266-0FD8C2674DF6}
314+
{C86BA390-0452-4D92-8B37-067F1553BFA4} = {6666CFC3-1986-469A-9266-0FD8C2674DF6}
300315
EndGlobalSection
301316
GlobalSection(ExtensibilityGlobals) = postSolution
302317
SolutionGuid = {DE2C16C4-5306-4103-9C2A-749DC32B5CA6}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project Sdk="WixToolset.Sdk/5.0.2">
2+
<ItemGroup>
3+
<ProjectReference Include="..\NanaZip.UI.Classic\NanaZipLegacyShell.vcxproj" />
4+
</ItemGroup>
5+
</Project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--
2+
This file contains the declaration of all the localizable strings.
3+
-->
4+
<WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US">
5+
6+
<String Id="DowngradeError" Value="A newer version of [ProductName] is already installed." />
7+
8+
</WixLocalization>

NanaZipLegacyShellSetup/Package.wxs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<Wix
2+
xmlns="http://wixtoolset.org/schemas/v4/wxs"
3+
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
4+
<Package
5+
Name="NanaZip Legacy Shell Extensions"
6+
Manufacturer="M2-Team"
7+
Version="5.0.0.0"
8+
UpgradeCode="{49A00978-12FB-4443-A816-4F10D29C4B12}"
9+
Scope="perUserOrMachine">
10+
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
11+
<MediaTemplate EmbedCab="yes" />
12+
<ComponentGroupRef Id="NanaZipLegacyShellComponents" />
13+
</Package>
14+
15+
<Fragment>
16+
<StandardDirectory Id="ProgramFiles6432Folder">
17+
<Directory Id="INSTALLFOLDER" Name="NanaZipLegacyShell" />
18+
</StandardDirectory>
19+
</Fragment>
20+
21+
<Fragment>
22+
<ComponentGroup Id="NanaZipLegacyShellComponents" Directory="INSTALLFOLDER">
23+
<Component>
24+
<File
25+
Source="$(SolutionDir)Output\Binaries\$(Configuration)\$(Platform)\NanaZipLegacyShell.dll" />
26+
<Class Id="{542CE69A-6EA7-4D77-9B8F-8F56CEA2BF16}" Context="InprocServer32"
27+
ThreadingModel="apartment" Advertise="yes" />
28+
<Class Id="{23170F69-40C1-278A-1000-00FE00020000}" Context="InprocServer32"
29+
ThreadingModel="apartment" Advertise="yes" />
30+
</Component>
31+
<Component>
32+
<RegistryKey Root="HKCR" Key="Directory\shellex\CopyHookHandlers\NanaZipLegacyShell">
33+
<RegistryValue Value="{542CE69A-6EA7-4D77-9B8F-8F56CEA2BF16}" />
34+
</RegistryKey>
35+
</Component>
36+
<Component>
37+
<RegistryKey Root="HKCR" Key="Directory\shellex\DragDropHandlers\NanaZipLegacyShell">
38+
<RegistryValue Value="{23170F69-40C1-278A-1000-00FE00020000}" />
39+
</RegistryKey>
40+
</Component>
41+
<Component>
42+
<RegistryKey Root="HKCR" Key="Drive\shellex\DragDropHandlers\NanaZipLegacyShell">
43+
<RegistryValue Value="{23170F69-40C1-278A-1000-00FE00020000}" />
44+
</RegistryKey>
45+
</Component>
46+
</ComponentGroup>
47+
</Fragment>
48+
</Wix>

0 commit comments

Comments
 (0)