Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have just begun experimenting with and using SCCM for software deployments. I have recently written a new Windows Service (in C#) to be deployed to our lab machines. I am wondering what the best approach is to get this service installed from SCCM. Locally I have been installing the service with InstallUtil provided by MS. If the machines do not have InstallUtil this will need to be packaged with my service EXE correct? Along with a batch script to actually do the installation.

This is not my usual area of expertise (I'm a developer) but we have recently lost our sysadmin and I have been asked to assist our new person with this. Just want to have my facts straight and ducks in a row.

thanks

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

You're probably much better off packaging the application into an .msi to allow it to be deployed natively via SCCM, without any third-party dependencies. If that's not an option, I'd prefer using a .bat and a start up or logon script to deploy my .exe to trying to shove it through SCCM with a second installation utility to make it actually install.

share|improve this answer
    
thanks. this is a much better idea. –  Alex Ciarlillo Jan 2 '13 at 21:07
add comment

The SCCM deployment tool effectively just copies files and then (optionally, if I remember rightly) runs a command line of your choice.

The command line doesn't need to be one of the files that has copied, and it doesn't have to be an installer program. If copying files into place is all you need to do then SCCM can take care of this 'as is'.

If you need to run pretty much any installer wrapper of your choice then you can, as long as it can be executed silently.

SCCM's software deployment is actually pretty simple - it just allows you to build complex things by repeating variations on 'copy this group of files' and 'execute that program/script' until you're happy.

For example, you could create a task sequence that runs two installer packages, one to install the installutil thing and then another package for the thing you're trying to deploy. However, as Hopeless Noob says, I'd agree with using the MSI packaging where I could, unless a package was simple enough to deploy without resorting to that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.