Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit f57df51

Browse files
committed
Build materials for Windows installer
1 parent 3faa254 commit f57df51

File tree

6 files changed

+47
-0
lines changed

6 files changed

+47
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ profile
2323
# Build results
2424
[Dd]ebug/
2525
[Rr]elease/
26+
*.msi
27+
*.wixobj
28+
*.wixpdb
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3+
<Product Id="*" Name="Hap QuickTime Component" Language="1033" Version="2.0.1" Manufacturer="Vidvox" UpgradeCode="36A1CCCB-8DF7-40F9-A6AB-D900C873ED9B">
4+
<Package Description="A QuickTime component to permit creating and playing Hap movies." Comments="Hap QuickTime Component" InstallerVersion="405" Compressed="yes" />
5+
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
6+
<Property Id="INSTALLDIR">
7+
<RegistrySearch Id='QTComponentsRegistry' Type='directory' Root='HKLM' Key='SOFTWARE\Apple Computer, Inc.\QuickTime' Name='QTComponentsDir' Win64="no" />
8+
</Property>
9+
<Condition Message="QuickTime for Windows must be installed to install the Hap QuickTime component."><![CDATA[Installed OR INSTALLDIR]]></Condition>
10+
<Directory Id="TARGETDIR" Name="SourceDir">
11+
<Directory Id="INSTALLDIR" Name="Component Directory">
12+
<Component Id="HAP.QTX" DiskId="1" Guid="7BAC52F0-ED51-4065-9C08-74121BDDBEB6">
13+
<File Id="HAP.QTX" Name="Hap.qtx" Source="..\Release\Hap.qtx" />
14+
</Component>
15+
</Directory>
16+
</Directory>
17+
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
18+
<ComponentRef Id="HAP.QTX" />
19+
</Feature>
20+
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
21+
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" />
22+
<WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" />
23+
<UI>
24+
<UIRef Id="WixUI_Minimal" />
25+
</UI>
26+
<Condition Message="The Hap QuickTime component is only supported on Windows Vista, Windows Server 2008, or higher."><![CDATA[Installed OR (VersionNT >= 600)]]></Condition>
27+
<DirectoryRef Id="TARGETDIR">
28+
<Merge Id="VCRedist" SourceFile="C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC110_CRT_x86.msm" DiskId="1" Language="0" />
29+
</DirectoryRef>
30+
<Feature Id="VCRedist" Title="Visual C++ 11.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1">
31+
<MergeRef Id="VCRedist" />
32+
</Feature>
33+
<MajorUpgrade
34+
AllowDowngrades="no"
35+
AllowSameVersionUpgrades="no"
36+
Schedule="afterInstallInitialize"
37+
DowngradeErrorMessage="A later version of [ProductName] is already installed."
38+
/>
39+
<Property Id="ARPNOREPAIR" Value="yes" Secure="yes" />
40+
</Product>
41+
</Wix>
7.33 KB
Binary file not shown.
3.69 KB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSBuild "..\Hap Codec.sln" /p:Configuration=RELEASE
2+
"C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe" HapQuickTimeSetup.wxs
3+
"C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe" -ext WixUIExtension HapQuickTimeSetup.wixobj
19.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)