Skip to content

Commit

Permalink
docs(msi): update InstallDir lookup explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
don41382 committed Jan 13, 2025
1 parent 16a7c82 commit de0cbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tauri-bundler/src/bundle/windows/msi/main.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<!-- First attempt: Search for "InstallDir" -->
<RegistrySearch Id="PrevInstallDirWithName" Root="HKCU" Key="Software\\{{manufacturer}}\\{{product_name}}" Name="InstallDir" Type="raw" />

<!-- Second attempt: If the first fails, search for the default value (which is how the old nsis installer stored the value) -->
<!-- Second attempt: If the first fails, search for the default key value (this is how the nsis installer currently stores the path) -->
<RegistrySearch Id="PrevInstallDirNoName" Root="HKCU" Key="Software\\{{manufacturer}}\\{{product_name}}" Type="raw" />
</Property>

Expand Down

0 comments on commit de0cbad

Please sign in to comment.