Sorted out the registry settings needed to get the driver working properly on install.

This commit is contained in:
2019-05-24 00:07:29 +01:00
parent 2b5b5d7188
commit 8da41cad6f
4 changed files with 12 additions and 9 deletions
+5 -4
View File
@@ -7,11 +7,7 @@
-->
<Fragment>
<DirectoryRef Id="INSTALLFOLDER" />
<!-- <CustomActionRef Id="caPrepareAscomDeviceProfiles"/>
<CustomActionRef Id="caUnregisterDrivers"/>
<CustomActionRef Id="caRegisterDrivers"/>-->
<ComponentGroup Id="cgAscomFocuserDriver">
<ComponentGroupRef Id="cgAscomLocalServer" />
<Component Id="cmpAscomFocuserDriver"
Directory="INSTALLFOLDER"
Guid="*"
@@ -52,6 +48,11 @@
<RegistryValue Value="$(var.FocuserDriverClassId)" Type="string" />
</RegistryKey>
</RegistryKey>
<!--Register the driver with the ASCOM Profile-->
<RegistryKey Root="HKLM" Key="SOFTWARE\ASCOM\Focuser Drivers\$(var.FocuserDriverProgId)">
<RegistryValue Value="$(var.FocuserDriverDescription)" Type="string"/>
</RegistryKey>
</Component>
</ComponentGroup>
</Fragment>