Can kace find where the software is installed?
Is there a way to pull a report of which directory the software is installed under? For example, we have salesforce for outlook add-on which I can search for under software and know who has it installed but I would like to pull a report of the location of this software for each user. The reason behind this is, we have some users who installed this software add-on as "Just Me" and some installed as "Everyone" option on the computer which changes the directory location. For users who installed the software as "Just Me" software gets installed under Userprofile\Appdata\Local where as who choose "Everyone" it gets installed under C:\Program Files (x86) folder.
Thanks
Thanks
1 Comment
[ + ] Show comment
Answers (2)
Please log in to answer
Posted by:
SMal.tmcc
7 years ago
Create a CIR using wmic. I do not know the real name of the process for sales force so you will need to open task manager and look that up.
ShellCommandTextReturn(cmd /c wmic process where name="salesforce.exe" get command)
the registry key to tell you this would be found under:
here if a user installed it
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Software Name\InstallLocation
here if the system install it
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Software Name\InstallLocation
Posted by:
gkiedrowski
7 years ago
You can create a script that verifies a file exists in a directory. You already know which machines have the add-on installed so now just create a script to those machines.
1. First task - Choose "verify a file exists..."
2. Directory: - C:\Program Files (x86)\
3. File: - salesforce(one of the file names associated with the add-on)
If the file exists, then you know which machines have it in the Program Files directory. If the file does not exist then the add-on must be installed in the AppData directory.
That is something you may have to research and see if it can be done with a script or something that outputs to a text file and the use Custom Inventory Rules (CIR) to read that file and bring that information into the KBOX.
Once there you can then report on it.
If you know the flag in the registry that says for everyone or just for me then you can again use CIR to look at that key and bring that data back. - nshah 7 years ago