Search the Community
Showing results for tags 'detection'.
-
this is simple, I push out an application, an exe file. And of course I need to create a detection method. In this example I'm not able to use any file, as the versions don't differentiate on files, and I need to be able to tell different versions apart. So instead I turne to registry, there is a value in there that lets me differentiate versions. Here is what I do -> I confirm that the registry exists after installation, but it fails detecting the program anyway. So basicly the deployment works, but it can't see this registry. Why?, the path is correct.. I've tried using both the flag in '32'bit and without.
-
Hi, I'm having issue using custom detection scripts. More specifically how to exit the detection script to say detected or not. My application is a script that will delete two desktop icons. My detection script checks if and icon exists and if it does increment a count. If the count is 0 that is no icons exist then I want to exit the script and have the application detected as installed. This is what I ran with ... Set objFSO = CreateObject("Scripting.FileSystemObject") File1="C:\Users\Public\Desktop\HP TRIM Desktop.lnk" File2="C:\Users\Public\Desktop\HP TRIM Queue Processor.lnk" Dim count count = 0 If objFSO.FileExists(File1) then count= count + 1 End If If objFSO.FileExists(File2) then count = count + 1 End If If count = 0 then WScript.Quit(0) End If The logs showed the application not detected so ran my Script correctly. Then when it checked after the install it still showed as undetected. Can anyone explain how I can exist my scripts correctly to show presence of an application? Cheers,
- 3 replies
-
- Applications
- Detection
-
(and 2 more)
Tagged with: