Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions share/windows/wix-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@
<ComponentRef Id="DesktopShortcut" />
</FeatureRef>

<!-- Detect VCRedist Version -->
<Upgrade Id="36F68A90-239C-34DF-B58C-64B30153CE35">
<UpgradeVersion OnlyDetect="yes" Property="VCREDISTINSTALLED" Minimum="14.38.33135.0" />
</Upgrade>
<Condition Message="The installed version of Visual Studio Redistributable is too old. Please install the latest version from: https://aka.ms/vs/17/release/vc_redist.x64.exe">
<![CDATA[Installed OR VCREDISTINSTALLED]]>
</Condition>

<!-- Action to launch application after installer exits -->
<Property Id="WixShellExecTarget" Value="[#CM_FP_KeePassXC.exe]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
Expand Down