Create a label for machines that have a specific folder
Hi guys
I'm trying to create a K1000 label based on pc's that have a certain folder installed on it
the location of the folder is...
The reason being is that the latest java is required for this to work, so I only want to update JAVA on the machines that have this folder on them
regards vince
I'm trying to create a K1000 label based on pc's that have a certain folder installed on it
the location of the folder is...
c:\Users\xxx\AppData\Roaming\foldername
(xxx is the user profile name)
The reason being is that the latest java is required for this to work, so I only want to update JAVA on the machines that have this folder on them
regards vince
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
chucksteel
9 years ago
Custom rules run in the system context so enumerating user folders is better done with a script. If you are updating Java then why not look for the version of Java installed on the machine instead of looking at folders in a user's path?
Comments:
-
Or as Chuck says, do it in a script, so sort out the installation and then call it from within a script running only if the directory is found - Hobbsy 9 years ago
-
that would have been ideal, however we use the same version of java throughout, but this folder requires the latest java v8.51 to work as it's a web app, whereas all the other machines we use v8.45 and wish to stick to it for now. - vjc 9 years ago
-
Just to understand: You have a web application that generates the folder in the user profile and you need to identify machines that are using that web application so that you can upgrade their java version. Is that correct? - chucksteel 9 years ago
-
That is correct
the folder that is generated in the user profile is what I want to detect so I can update JAVA on that machine. But I want to create a label that has that folder on the machine - vjc 9 years ago
Posted by:
chucksteel
9 years ago