/build/static/layout/Breadcrumb_cap_w.png

Software installed manually now a requirement to update via GPO

Now I need to install an update to the software. Ive modified the batch file and was going to set up a GPO computer startup script then I realised I need to tell the batch to only install the software if the old version is installed. I’ve looked at program files x86 and the files there are identical, only dates are different, so how do I tell my startup script to skip the install, maybe a registry entry or DLL is different, not sure if this can be written into a batch file or not?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Michelle.ashby 1 year ago
Purple Belt
0

More details so we can help properly please! Software name maybe?

If you are using SMA - you can make a label group to tag devices with the old software and add these to an MI or script to accomplish that. 


Posted by: TheyCallMeBacon 1 year ago
White Belt
0

Look for a version in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Notepad++

No version value there, so I can look in the Uninstall folder (also a great place to find uninstall strings):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++\DisplayVersion 

Some 64-bit program settings are in the WOW6432NODE folder:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge\DisplayName

Obviously, use your software name in lieu of Notepad++ or Microsoft Edge.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ