File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 40
40
41
41
<!-- Determine the directory of a previous installation (if one exists). If not INSTALLDIR stays empty -->
42
42
<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" />
44
44
</Property >
45
45
46
46
<!-- Features define which parts of the application can be installed in a custom installation -->
47
47
<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 " />
50
50
<Environment Id =" Path" Action =" set" Name =" PATH" Part =" last" System =" yes" Value =" [INSTALLDIR]" />
51
51
</Component >
52
52
53
53
<!-- Persist the INSTALLDIR and restore it in subsequent installs -->
54
54
<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]" />
56
56
</Component >
57
57
</Feature >
58
58
You can’t perform that action at this time.
0 commit comments