Solved

Creating a microsoft sms deployment package with installshield

Posted on 2006-10-30
5
931 Views
Last Modified: 2013-11-23
I have been tasked with finding someone to create a SMS deployment package with either installshield (Which we currently have licenses for) or wise install packager.  These apps will be commercial apps that are already packaged but we will need to create a package that will automate the install via SMS.  I was told this was a developer/engineer type issue so I am posting it here.  As with all of my other issues this is last minute and I have a meeting about it in 4 hours so it will be max points.
Thanks!
0
Comment
Question by:Gizneek
  • 2
  • 2
5 Comments
 
LVL 4

Assisted Solution

by:programmer1024
programmer1024 earned 75 total points
ID: 17835233
0
 
LVL 8

Expert Comment

by:Shakti109
ID: 17835782

Are you looking for a person to actually create the install packages and then transfer the installers (.msi) to your company, or are you looking for technical information about windows installer, .msi's, installshield, Wise pacakge studio, how they integrate with the SMS architecture, etc?

From having deployed applications through SMS basically since it's inception and trying to piece together what you have described, it sounds more like you are looking for the deployment scripts (wise script, sms installer script, etc).

A large number of commerical applications that are sold today are already pacakged into .MSI format. There are a few cardinal sins of packaging and one of them is : "Thou shalt not re-package an .MSI".

That is to say, you wouldnt do an install-capture of an .msi based application, you instead create what is called a transform and apply this (which has your custom settings, etc) to the .msi as part of the install process.

Usually, a very common sequence of events to deploy applications through SMS is :

1) Create an installation script that automates the installation. This can be anything that can be "executed" by SMS as an application. The most common forms of installation scripts are either SMS installer scripts (which is really a stripped down version of WISE script), WISE scripts, etc etc that are compiled into executables. This script contains logic to execute the application installer in an automated fashion, provide error handling and logging, etc.

2) Create a package definition that references the above insatllation script.

3) Create an advertisement to a collection that references the above pacakge.


You can even directly call an .MSI based application as a pacakge definition and pass it command line parameters to make it "silent", require no user input, and even customize pieces of the installer itself (server i.p's, default configurations, etc).

There is a ton of detail left out there, but basically depending on what you are asking for, the person doing the "work" will at the very least need admin access to the SMS console on your network, and unless there is a group that handles network resources like installation points/shares, central package stores, etc they will need access to all of those resources on the network.

Can you clarify what you are looking for, a human to do "the work", or help as to how this kind of thing works?
0
 
LVL 1

Author Comment

by:Gizneek
ID: 17835849
Help as to how it works.  It will need to be silent so there is no interaction at all.  And the access to the other "admin" areas will be no problem.
Much appreciated so far!
0
 
LVL 8

Accepted Solution

by:
Shakti109 earned 425 total points
ID: 17836779

Ah, in that case :

SMS works by way of a client (that runs as a service) on each local machine that is part of its coverage area (called a site, either primary or secondary).

Depending on the version of SMS (1.0-2.0 or the newer versions) this client will act on the instructions sent by the advertisements (the name for an automated job sent by the SMS servers) using either an "installation" account, or a machine account that SMS creates.

The instructions can be anything from an inventory (hardware or software, etc), a script that then calls an installation, or just about anything that can be "executed".

As to how to make an installation silent, there are several subtelties with using SMS (any deployment mechanism really). You can force an .msi pacakge to be silent by way of command line switches that most install packages obey.

A common syntax is :

MSIEXEC.EXE /I "path to .MSI" /QN- /LWAMOE c:\temp\Appname-InstallLog.txt

The /I flag tells it to install, the /QN switch says perform the installation with no user-interface or intervention, /LWAMOE c:\temp\appname-installLog.txt tells the installer to write out a "log" file of everything it did to the location/name you specify.

This is essentially what the wise-script / sms-script would call inside of the script. Because the script is being executed by the SMS service, you want the "wrapper script" (which is the wise-script/sms installer script that then calls the .msi) itself to display no user-interface as it runs, so when the package is created you supply it with the /S flag.

0
 
LVL 1

Author Comment

by:Gizneek
ID: 17837952
thanks a bunch!  
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
word0 challenge 4 52
How to debug For loops? 3 33
index Out OF Range Exception error 4 28
ESXCLI upgrade command 1 0
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
If you don't know how to downgrade, my instructions below should be helpful.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now