/build/static/layout/Breadcrumb_cap_w.png

check before deploy

I'm not so sure how to start this, but I will try my best so you can help me out. We have some computers with software already installed, but not all. I want to write a script that would check on each machine if the software already install then skip, but if not then install the software. How would I do that from windows 2003 server R2 via gpo? If you know where I can get further information or you have experience before, please post here. Thank you,

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 15 years ago
Red Belt
0
"This is a job for.......Windows Installer!"

An MSI can be authored to check for file, folder or registry entry presence and set a property accordingly. The package can then check the properties value and branch accordingly. The same can be done in script (I have presumed you meant a scripting language - but lots of people refer to 'packaging' as 'scripting'), of course but that will involve you in building the script, accounting for uninstall, recording the install state and so on. MSI does all that out of the box.
Posted by: ditch_nz 15 years ago
Purple Belt
0
You could use WMI or VB Script to query the registry on each machine for the values\keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall...
Posted by: AngelD 15 years ago
Red Belt
0
Just add the software (MSI packages) to a GPO and make sure the GPO applies to the computer(s), then these applications will be deployed to the computers by default. No need to check if installed or not as it will be handled by the group policy.
Posted by: anonymous_9363 15 years ago
Red Belt
0
Strictly speaking, GP checks whether the policy has been applied, not whether the product has been installed. The Windows Installer engine does the latter. Of course, in practise, they're the same thing but the distinction is important.
Posted by: AngelD 15 years ago
Red Belt
0
Good point Ian!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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