File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
crates/tauri-bundler/src/bundle/windows/msi Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ tauri-bundler : ' patch:bug'
3+ ---
4+
5+ Fixed an issue that caused the ` .msi ` installer not to lookup the ` INSTALLDIR ` set in the ` nsis ` installer.
Original file line number Diff line number Diff line change 7070 <Property Id =" ARPURLUPDATEINFO" Value =" {{homepage}}" />
7171 {{/if}}
7272
73- <!-- initialize with previous InstallDir -->
7473 <Property Id =" INSTALLDIR" >
75- <RegistrySearch Id =" PrevInstallDirReg" Root =" HKCU" Key =" Software\\{{manufacturer}}\\{{product_name}}" Name =" InstallDir" Type =" raw" />
74+ <!-- First attempt: Search for "InstallDir" -->
75+ <RegistrySearch Id =" PrevInstallDirWithName" Root =" HKCU" Key =" Software\\{{manufacturer}}\\{{product_name}}" Name =" InstallDir" Type =" raw" />
76+
77+ <!-- Second attempt: If the first fails, search for the default key value (this is how the nsis installer currently stores the path) -->
78+ <RegistrySearch Id =" PrevInstallDirNoName" Root =" HKCU" Key =" Software\\{{manufacturer}}\\{{product_name}}" Type =" raw" />
7679 </Property >
7780
7881 <!-- launch app checkbox -->
You can’t perform that action at this time.
0 commit comments