Changeset 40bbc09df86b…
Parent 70c37eaa91a4…
by
Changes to one file · Browse files at 40bbc09df86b Showing diff from parent 70c37eaa91a4 Diff from another changeset...
@@ -334,37 +334,38 @@ <MergeRef Id='VCRedist'/>
<MergeRef Id='VCRedistPolicy' />
</Feature>
- <?if $(var.Platform) = "x86" ?>
- <Feature Id='ShellExtension' Title='Shell Extension'
+ <?if $(var.Platform) = "x64" ?>
+ <Feature Id='ShellExtensionX64' Title='Shell Extension x64'
Level='1' AllowAdvertise='no'
- Description='Overlay icons and context menu'>
+ Description='Context menu for 64-bit processes'>
<ComponentGroupRef Id='cmenuI18n' />
- <ComponentRef Id='thgtaskbarEXE' />
- <MergeRef Id='TortoiseOverlaysMergeX86' />
- <ComponentRef Id='thgshellx86dll' />
- <ComponentRef Id='CmenuShellRegistrationX86' />
- <ComponentRef Id='OverlaysShellRegistrationX86' />
- </Feature>
- <?elseif $(var.Platform) = "x64" ?>
- <Feature Id='ShellExtension' Level='1' Display='expand' AllowAdvertise='no'
- Title='Shell Extension x64'
- Description='Overlay icons and context menu for 64 bit processes'>
- <ComponentGroupRef Id='cmenuI18n' />
- <ComponentRef Id='thgtaskbarEXE' />
- <MergeRef Id='TortoiseOverlaysMergeX64' />
<ComponentRef Id='thgshellx64dll' />
<ComponentRef Id='CmenuShellRegistrationX64' />
- <ComponentRef Id='OverlaysShellRegistrationX64' />
- <Feature Id='ShellExtensionx86' Level='1' AllowAdvertise='no'
- Title='Shell Extension x86'
- Description='Overlay icons and context menu for 32 bit processes'>
- <MergeRef Id='TortoiseOverlaysMergeX86' />
- <ComponentRef Id='thgshellx86dll' />
- <ComponentRef Id='CmenuShellRegistrationX86' />
- <ComponentRef Id='OverlaysShellRegistrationX86' />
+ <Feature Id='OverlaysX64' Title='Overlay Icons'
+ Level='1' AllowAdvertise='no'
+ Description='Overlay icons for 64-bit processes'
+ >
+ <ComponentRef Id='thgtaskbarEXE' />
+ <MergeRef Id='TortoiseOverlaysMergeX64' />
+ <ComponentRef Id='OverlaysShellRegistrationX64' />
</Feature>
</Feature>
<?endif?>
+ <Feature Id='ShellExtensionX86' Title='Shell Extension x86'
+ Level='1' AllowAdvertise='no'
+ Description='Context menu for 32-bit processes'>
+ <ComponentGroupRef Id='cmenuI18n' />
+ <ComponentRef Id='thgshellx86dll' />
+ <ComponentRef Id='CmenuShellRegistrationX86' />
+ <Feature Id='OverlaysX86' Title='Overlay Icons'
+ Level='1' AllowAdvertise='no'
+ Description='Overlay icons for 32-bit processes'
+ >
+ <ComponentRef Id='thgtaskbarEXE' />
+ <MergeRef Id='TortoiseOverlaysMergeX86' />
+ <ComponentRef Id='OverlaysShellRegistrationX86' />
+ </Feature>
+ </Feature>
<Feature Id='Locales' Level='1'
Title='Translations'
Description='Mercurial and TortoiseHg Translations'>
@@ -450,9 +451,15 @@ <RemoveExistingProducts After="InstallValidate">
INSTALLEDTORTOISEHGPRODUCTS
</RemoveExistingProducts>
- <Custom Action='StartThgtaskbarEXE' After='InstallFinalize'>
- <![CDATA[&ShellExtension=3]]>
- </Custom>
+ <?if $(var.Platform) = "x64" ?>
+ <Custom Action='StartThgtaskbarEXE' After='InstallFinalize'>
+ <![CDATA[&OverlaysX86=3 OR &OverlaysX64=3]]>
+ </Custom>
+ <?else?>
+ <Custom Action='StartThgtaskbarEXE' After='InstallFinalize'>
+ <![CDATA[&OverlaysX86=3]]>
+ </Custom>
+ <?endif?>
</InstallExecuteSequence>
<Upgrade Id='$(var.ProductUpgradeCode)'>
|
Loading...