paulw
New Member
Posts: 1
|
Post by paulw on Jul 5, 2019 18:30:31 GMT
When trying to read a registry value, and it doesn't exist, it returns "Unsupported" instead of the specified default value.
<Action Type="RegRead" Hive="HKLM" Key="SOFTWARE\MyCompanySysINfo" Value="Upgrade-SkipEventCheck" Variable="SkipEventCheck" Default="0"/>
If I read the documentation correctly, then, %SkipEventCheck% should equal 0 when the value doesn't exist.
My current workaround is adding another action:
<Action Type="TSVar" Name="SkipEventCheck" Condition='"%SkipEventCheck%" = "Unsupported"'>0</Action>
|
|