I have an install script that works great at installing a new version of an app we use that req’s outlook and itself be closed when installing/updated it. The issue that I’m facing now is on machines that were manually updated to a newer version that the script is pushing, keep trying to run despite there being a new version.
Sccm thinks the install failed so it tries again…and again…and again. The pc is part of a regional collection so I can’t just remove the deployment or other machines that actually need it won’t get it installed.
I need to either place a reg entry or a file, or quit the script based on file version.
Any ideas? I’ve tried getting the file version, but can’t seem to get it into a variable to use in an if fileversion=x.xx then exit, else continue.
I’m open to any ideas, not just an if/then/else statement.
Thanks in advance.