troubleshooting Question

App install through GP and cmd shell

Avatar of cheesebugah
cheesebugahFlag for United States of America asked on
Network ManagementWindows NetworkingIT AdministrationMicrosoft Server OSWindows Batch
6 Comments1 Solution537 ViewsLast Modified:

I am attempting to install an application through group policy.  Actually, I am attempting to upgrade an application that is already installed through GP.  I have the .cmd file that was used to install the application.  It looks for an existing file on the user's C drive and either installs or does nothing depending on whether the file exists or not.  If the file exists it means the application is already installed.  The problem with the upgrade is that there is no discernable indicator to point to after the upgrade to tell the .cmd file that the program is upgraded.  There's no registry indicators and no difference in the install directory.  What I have in mind is to create a small text file with the upgrade on the user's C drive and have the .cmd file look for that to determine whether to run the upgrade or not.  I cannot figure out how to create a simple text file on the user's C drive through the .cmd file.  I will attach the existing .cmd file so you can see what I have and hopefully we can come up with an easy way to do this.

Irwin W.
There are a 1000 ways to skin the technology cat.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”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