I want to specify property as restricted property in Wix installer, in wix .wxs file.
<Property Id="PROP1">
<RegistrySearch Id="Prop1"
Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\mysvc"
Name="installers"
Type="raw" />
</Property>
<Property Id="PROP2">
<RegistrySearch Id="Prop2"
Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\mysvc"
Name="DisplayName"
Type="raw" />
</Property>
Any idea?
Wanted to make PROP1
, PROP2
private / secured.
Tried with making them as lowercase but RegistrySearch doesn't accept it:
error CNDL0012 : The Property/@Id attribute's value, 'Prop1', cannot contain lowercase characters.
Since this is a search property, it must also be a public property. This means the Property/@Id value must be completely uppercase.