locked
Software Distribution RRS feed

  • Question

  • Hi Team,

    Need one help regarding packaging of software distribution . Script will be like the following way .

    1. 5 software need to install in the system . (need to check if the system is having the software then it will skip the step )


    Subhayu Chattopadhyay

    Thursday, November 29, 2012 11:38 AM

Answers

  • You would want to create a collection to identify whether or not the software is installed or not. SMS 2003 does not natively identify if the software is already installed or not before running an advertisement. There are many posts in these forums on how to create a query based collection to identify if software is installed or not.

    The other option would be to create your own wrapper program (.exe) that would run and check to see if the software is installed. If so, it would exit, if not, it would continue.


    Wally Mead

    Monday, December 10, 2012 5:11 AM

All replies

  • You would want to create a collection to identify whether or not the software is installed or not. SMS 2003 does not natively identify if the software is already installed or not before running an advertisement. There are many posts in these forums on how to create a query based collection to identify if software is installed or not.

    The other option would be to create your own wrapper program (.exe) that would run and check to see if the software is installed. If so, it would exit, if not, it would continue.


    Wally Mead

    Monday, December 10, 2012 5:11 AM
  • Imo, the better solution would be to create 5 seperate packages and have each one of them have a wrapper (a simple VBScript that would return an error code) to check whether or not if the software is present on the system.

    If some of those softwares are pre-requirements to another, I would suggest to daisy chain them in SMS (Execute another program before) as that would make sure the pre-requirement is present before the second software gets on the computer.

    The main advantage of keeping each software package seperate is that they may be reused by other applications if needed, especially if they're known common packages (Such as the Microsoft Visual C++ Runtime for example). That will not only save you the work to recode the installation sequence, but also save space on your servers since you won't be keeping double copies of things.

    Tuesday, December 18, 2012 2:09 PM