-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SkiaSharp requires Visual C++ 2015 redistributable to be installed. Add a WIX bootstrapper exe that installs Visual C++ 2015 dlls and then installs the Voxels.Installer.msi file. Add Voxels.CommandLine.exe to installer and allow it to process multiple files and report usage if no files are present. Remove unused nuget packages.
- Loading branch information
Showing
16 changed files
with
488 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" | ||
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" | ||
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> | ||
|
||
<!-- Source: https://gist.github.com/nathancorvussolis/6852ba282647aeb0c5c00e742e28eb48 --> | ||
<Bundle Name="Voxels Shell Extensions" Version="1.1.0.0" Manufacturer="Arlorean" | ||
Copyright="© 2017 Adam Davidson" AboutUrl="https://github.com/Arlorean/Voxels" | ||
UpgradeCode="{1823F323-C07E-4502-A4BA-CA8EDCA46161}" Condition="VersionNT >= v5.1" | ||
IconSourceFile="Voxels.ico"> | ||
|
||
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"> | ||
<bal:WixStandardBootstrapperApplication | ||
LicenseFile="License.rtf" ShowVersion="yes" SuppressOptionsUI="yes" | ||
LogoFile="Voxels.ico"/> | ||
</BootstrapperApplicationRef> | ||
|
||
<!-- v6.0 Service Pack 2 --> | ||
<bal:Condition Message="This application requires Service Pack 2 for Windows Vista / Server 2008."> | ||
(VersionNT <> v6.0) OR (VersionNT = v6.0 AND ServicePackLevel >= 2) | ||
</bal:Condition> | ||
|
||
<!-- v6.1 Service Pack 1 --> | ||
<bal:Condition Message="This application requires Service Pack 1 for Windows 7 / Server 2008 R2."> | ||
(VersionNT <> v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1) | ||
</bal:Condition> | ||
|
||
<!-- v6.3 KB2919355 --> | ||
<util:FileSearch Id="HAL.DLL" Path="[WindowsFolder]System32\hal.dll" | ||
Result="version" Variable="NT603HALVER" Condition="VersionNT = v6.3" /> | ||
<bal:Condition Message="This application requires S14 Update (KB2919355) for Windows 8.1 / Server 2012 R2."> | ||
(VersionNT <> v6.3) OR (VersionNT = v6.3 AND NT603HALVER > v6.3.9600.16500) | ||
</bal:Condition> | ||
|
||
<!-- Visual C++ 2015 Redistributable (x64) version --> | ||
<util:ProductSearch | ||
Id="VCRedist2015x64" | ||
Result="version" | ||
Variable="VCRedist2015x64" | ||
UpgradeCode="C146EF48-4D31-3C3D-A2C5-1E91AF8A0A9B" | ||
Condition="VersionNT64" /> | ||
|
||
<!-- Visual C++ 2015 Redistributable (x86) version --> | ||
<util:ProductSearch | ||
Id="VCRedist2015x86" | ||
Result="version" | ||
Variable="VCRedist2015x86" | ||
UpgradeCode="F899BAD3-98ED-308E-A905-56B5338963FF" /> | ||
|
||
<!-- Visual C++ 2015 Redistributable version --> | ||
<Variable Name="VCRedist2015" Type="version" Value="14.0.24215.1" /> | ||
|
||
<Chain> | ||
|
||
<!-- Visual C++ 2015 Redistributable Update 3 (x64) --> | ||
<ExePackage | ||
Id="vc_redist.x64.exe" | ||
Name="vc_redist.x64.14.0.24215.1.exe" | ||
DisplayName="Visual C++ 2015 Redistributable Update 3 (x64)" | ||
Cache="no" | ||
Compressed="no" | ||
PerMachine="yes" | ||
Permanent="yes" | ||
InstallCondition="VersionNT64" | ||
DetectCondition="VCRedist2015x64 >= VCRedist2015" | ||
DownloadUrl="https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x64.exe" | ||
InstallCommand="/install /quiet /norestart" | ||
RepairCommand="/repair /quiet /norestart" | ||
UninstallCommand="/uninstall /quiet /norestart" > | ||
<RemotePayload | ||
ProductName="Visual C++ 2015 Redistributable Update 3 (x64)" | ||
Version="14.0.24215.1" | ||
Description="https://www.microsoft.com/en-us/download/details.aspx?id=53840" | ||
Hash="10B1683EA3FF5F36F225769244BF7E7813D54AD0" | ||
Size="15301888" /> | ||
</ExePackage> | ||
|
||
<!-- Visual C++ 2015 Redistributable Update 3 (x86) --> | ||
<ExePackage | ||
Id="vc_redist.x86.exe" | ||
Name="vc_redist.x86.14.0.24215.1.exe" | ||
DisplayName="Visual C++ 2015 Redistributable Update 3 (x86)" | ||
Cache="no" | ||
Compressed="no" | ||
PerMachine="yes" | ||
Permanent="yes" | ||
InstallCondition="VersionNT" | ||
DetectCondition="VCRedist2015x86 >= VCRedist2015" | ||
DownloadUrl="https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x86.exe" | ||
InstallCommand="/install /quiet /norestart" | ||
RepairCommand="/repair /quiet /norestart" | ||
UninstallCommand="/uninstall /quiet /norestart" > | ||
<RemotePayload | ||
ProductName="Visual C++ 2015 Redistributable Update 3 (x86)" | ||
Version="14.0.24215.1" | ||
Description="https://www.microsoft.com/en-us/download/details.aspx?id=53840" | ||
Hash="72211BD2E7DFC91EA7C8FAC549C49C0543BA791B" | ||
Size="14456872" /> | ||
</ExePackage> | ||
|
||
<MsiPackage Id="Voxels.Installer" DisplayName="$(var.Voxels.Installer.TargetFileName)" ForcePerMachine="yes" Compressed="yes" | ||
SourceFile="$(var.Voxels.Installer.TargetPath)" /> | ||
|
||
</Chain> | ||
|
||
</Bundle> | ||
|
||
</Wix> |
Oops, something went wrong.