Sorted out the registry settings needed to get the driver working properly on install.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user