I am new to scripting and never done it in the past and now have a test environment to play with it and once successful deploy this for about 100 computers running mix of windows 7 64 bit OS and windows 10 64 bit OS.
What I need to accomplish: Uninstall Bluebeam 2016 and 2015 versions from about 100 computers and install the new BB 2017 on these domained machines. I need to get it done efficiently and to be able to show message to users that currently this upgrade is performed and once it finished display its now completed and thank you for your patience.
Got BB 2016 installed on Windows 10 x64 domained machine.
Built a test GPO and have this test computer in there.
Two scripts are in the startup sectiion: 1. UninstallPreviousversions.bat 2 BB2017silentinstall.bat They are setup in order.
As I am testing by rebooting this machine, looks like the script works after the login :
It uninstalls the older version 2016
and installs 2017 version silently
This takes about 15 minutes which is expected but the echo messages are not showing up for user to know that this process is going on.
Can someone help me to make my scripts better so that when the users log in to their windows 10 or windows 7 computers, its little graphical and the prompt "stays there" until the uninstall and new install is completed and if it fails for some reason, it gives a message that the changes were unable to be done.
Attached are my current two scripts. Hopefully this is simple enough but as I said I am new to this.
Secondly, I wanted to know why does the script only run one time and not again after the computer restarts. This is as per my tests, the script ran and uninstalled old versions and then installed the new version silently, however when I manually installed old version again and uninstalled new version, for my second test on the same PC, the scripts are not running.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.