Merge branch '#77-DisableCardReaderInstallIfSmartCardServiceIsDisabled' into Release0.2
This commit is contained in:
commit
e97b0217ce
@ -30,8 +30,18 @@
|
||||
<Component Id="SmartCardServiceConfig" Guid="{73D2E31D-F256-457C-AFD5-EC456CDAD7E8}" KeyPath="yes">
|
||||
<ServiceControl Id="SmartCardServiceStarter"
|
||||
Start="install"
|
||||
Stop="install"
|
||||
Name="SCardSvr"
|
||||
Wait="yes" />
|
||||
<ServiceConfig Id="SmartCardServiceSetToAuto"
|
||||
DelayedAutoStart="0" OnInstall="yes" ServiceName="SCardSvr"/>
|
||||
</Component>
|
||||
<Component Id="SCardAutoStart" Permanent="yes" KeyPath="yes" Guid="{75582D3C-C985-4BC9-A0A8-621A52C7E95E}">
|
||||
<RegistryKey Root="HKLM"
|
||||
Key="SYSTEM\CurrentControlSet\Services\SCardSvr"
|
||||
Action="create">
|
||||
<RegistryValue Type="integer" Name="Start" Value="2"/>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
<Component Id="CardReaderServiceExe" Guid="{24C9D834-21E2-476D-8302-EF35730D0BA8}">
|
||||
<File Id="CardReaderService.exe"
|
||||
@ -61,6 +71,7 @@
|
||||
ThirdFailureActionType="restart"
|
||||
ResetPeriodInDays="1"
|
||||
RestartServiceDelayInSeconds="10" />
|
||||
<ServiceDependency Id="SCardSvr" Group="no"/>
|
||||
</ServiceInstall>
|
||||
</Component>
|
||||
<Component Id="CardReaderServiceExeConfig" Guid="{E20D23BC-C8E7-49F8-962C-DE856A84258E}">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user