Skip to content

Commit 0b409cf

Browse files
committed
final adjustments in wix config
1 parent 0911c6b commit 0b409cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

installer/cli.wxs

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040

4141
<!-- Determine the directory of a previous installation (if one exists). If not INSTALLDIR stays empty -->
4242
<Property Id="INSTALLDIR">
43-
<RegistrySearch Id="InstallDir" Root="HKLM" Key="SOFTWARE\Arduino\CLI" Name="InstallDir" Type="directory"/>
43+
<RegistrySearch Id="InstallDir" Root="HKLM" Key="SOFTWARE\Arduino CLI" Name="InstallDir" Type="directory"/>
4444
</Property>
4545

4646
<!-- Features define which parts of the application can be installed in a custom installation -->
4747
<Feature Id="DefaultFeature" ConfigurableDirectory="INSTALLDIR">
48-
<Component Directory="INSTALLDIR">
49-
<File Name="arduino-cli.exe"/>
48+
<Component Directory="INSTALLDIR" Guid="0c407434-5d0f-428a-a855-d823f6acce8d">
49+
<File Name="arduino-cli.exe" KeyPath="yes"/>
5050
<Environment Id="Path" Action="set" Name="PATH" Part="last" System="yes" Value="[INSTALLDIR]"/>
5151
</Component>
5252

5353
<!-- Persist the INSTALLDIR and restore it in subsequent installs -->
5454
<Component Directory="INSTALLDIR">
55-
<RegistryValue Root="HKLM" Key="SOFTWARE\Arduino\CLI" Name="InstallDir" Type="string" Value="[INSTALLDIR]"/>
55+
<RegistryValue Root="HKLM" Key="SOFTWARE\Arduino CLI" Name="InstallDir" Type="string" Value="[INSTALLDIR]"/>
5656
</Component>
5757
</Feature>
5858

0 commit comments

Comments
 (0)