Could someone please advise if it is possible to use the registry equals
a wildcard?
I want to compare the registry value 'computername' against a list,
CSJ*, IMM* and others
<package
id="delprofile"
name="Delete redundant profile"
revision="1"
reboot="false"
priority="20"
execute="always">
<check type="registry" condition="equals"
path="HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerN
ame\ComputerName" value="CSJ*" />
<install cmd='cmd /c rd /s /q "c:\documents and settings\csjjpm"
' >
<exit code="2" />
</install>
</package>
It deleted the contents but failed checking after install saying that
the name was CSJ-PC1234 and not CSJ*.
Anyone know how I can use a wildcard?
Thanks
Paul
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users