Initially I was able to add a line in my SWD that adds a entry in the registry.
I modified my appl.template to search that registry.I can now see which machines have that registry file.
Is there a way in the package builder to perform an if command for folders?
If folder c:\DepartmentSW\ <exists>
add to registry stuff
All I have seen is for files.
Custom Vulnerability woudl be the way to go. Basically you would use the detection mechanism in the CusVul to look for it, using VBS and when it finds it write something into the systems registry/file/etc... Or you can look for a file that you know is only in that folder and then do your magic to the registry.