Skip to content

CMD

Featured Replies

Hello

 

I have a CMD-file that need to run prior installation of installing Office 2013.

This CMD-file will kill processes, uninstall LIP's and LYNC and so on. Then when finished the office 2013 will be installed.

However I have trouble of making a detection rule.

How do I detect the presence of this application when all it do is remove software?

 

Should I copy a "dummy"-file to let SCCM know its there? Other solutions?

Knut

  • Author

Nevermind, I got it to work. In the CMD I copied a dummy file to the client, and in the detection rule I said if that file existed the program installed ok. Then everything work on as planned :)

Personally, I have run into some issues in the past doing things like that. In particular, you have no way of knowing whether or not the script worked because you can't pull reports on something like that. If your only detection method is that the file copied, you can't be guaranteed that it runs.

 

In your case, since you are uninstalling software, I would recommend doing things a little differently. I would create an application for Lync (assuming you don't have one yet) and ensure that the detection method is fully functional. At that point, I would create a deployment to uninstall the software and assign that to whatever collection you are deploying Office 2013 to. Set this deployment to go out before the installation.

 

What that is going to get you is confirmation as to whether or not the application was uninstalled on all computers. It will give you actual metrics so you can measure what machines had an issue and what machines didn't.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.