Skip to content

Need help with TS Condition

Featured Replies

Hi All,

Greetings from Malaysia.

I need your assistance with task sequence. I'm trying to create a condition. Using UninstallString as the ValueName.

I want to have the task sequence to check if the application is installed in a machine or not.

If the applcation is installed, the task sequence will exit (will not do anything) and if the application is NOT installed, then it will proceed/instruct to download the application from one of the packages that has been created in SCCM.

 

I'm using SCCM 2007

 

Thanks in advance,

Naveen

  • Author

I'm new to SCCM and this is my 1st job assigned.

I believe this can be done by checking the registry but unsure how to perform this via TS.I have been trying to do the if statement from TS but failed multiple times.

Would appreciate any assistance on this.

here's an export of a TS I've used. It checks to see if Java 1.6 is installed, and if it is, removes it and installs 1.6_45. It then installs 1.7_51.

Java.xml

  • Author

Thanks a bunch.. I will give a try and get back with results asap.

You'll need to create two queries, the first query is to see if the software is installed, the second is a sub-select query of the first query.

 

Once the second query exists you can import this into a collection and advertise to that collection to install.

 

The queries are a bit complicated and off the top of my head I cant remember the exact wording but a good link is here =

 

http://community.spiceworks.com/how_to/show/2397-deploy-software-with-sccm-based-on-query-collection

 

Hope that helps :)

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.