forked from QL-Win/QuickLook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProduct.wxs
77 lines (68 loc) · 3.07 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
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="QuickLook" Language="1033"
Version="!(bind.FileVersion.fil22F7B7F07E63622AD2451459086A3CF2)" Manufacturer="Paddy Xu"
UpgradeCode="c83b9c02-87d6-494e-9f5f-cf4c3900a54d">
<Package InstallerVersion="500" Compressed="yes" Platform="x86" InstallScope="perUser" />
<MajorUpgrade Schedule="afterInstallValidate" AllowDowngrades="yes" />
<MediaTemplate EmbedCab="yes" CompressionLevel="low" />
<Property Id='ALLUSERS' Value='2' />
<Property Id='MSIINSTALLPERUSER' Value='1' />
<WixVariable Id="WixUILicenseRtf" Value="gpl.rtf" />
<Feature Id="ProductFeature" Title="QuickLook.Installer" Level="1">
<ComponentGroupRef Id="QuickLookComponents" />
<ComponentRef Id="ApplicationShortcutDesktop" />
<ComponentRef Id="ApplicationShortcutProgramMenu" />
</Feature>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramMenuFolder">
<Component Id="ApplicationShortcutProgramMenu" Guid="4F3E84DA-0E8B-44E9-B59D-B3AFAE70519E">
<Shortcut Id="ApplicationProgramMenuShortcut"
Name="QuickLook"
Description="QuickLook lets you preview any file by pressing the space bar."
Target="[INSTALLFOLDER]QuickLook.exe"
WorkingDirectory="INSTALLFOLDER" />
<RemoveFolder Id="ProgramMenuFolder" On="uninstall" />
<RegistryValue
Root="HKCU"
Key="Software\QuickLook"
Name="installed"
Type="integer"
Value="1"
KeyPath="yes" />
</Component>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop">
<Component Id="ApplicationShortcutDesktop" Guid="9ECBF18A-F3C7-495A-9327-02A2E79ABBD7">
<Shortcut Id="ApplicationDesktopShortcut"
Name="QuickLook"
Description="QuickLook lets you preview any file by pressing the space bar."
Target="[INSTALLFOLDER]QuickLook.exe"
WorkingDirectory="INSTALLFOLDER" />
<RemoveFolder Id="DesktopFolder" On="uninstall" />
<RegistryValue
Root="HKCU"
Key="Software\QuickLook"
Name="installed"
Type="integer"
Value="1"
KeyPath="yes" />
</Component>
</Directory>
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="QuickLook" />
</Directory>
</Directory>
<CustomAction Id="LaunchApplication"
FileKey="fil22F7B7F07E63622AD2451459086A3CF2"
ExeCommand="/first"
Execute="immediate"
Impersonate="yes"
Return="asyncNoWait" />
<UI>
<UIRef Id="WixUI_InstallDir" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<Publish Dialog="ExitDialog" Control="Finish" Order="1" Event="DoAction" Value="LaunchApplication">NOT Installed</Publish>
</UI>
</Product>
</Wix>