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.

I have a few applications that are installed using InstallShield -- during the installation one or two parts of the application are installed with msi's. I've tried recording an iss file to instruct the installation process, but these installations always seem to freeze up. I've also tried installing in a sequence, first installing the msi's, but this doesn't prevent the main installation from trying to install these.

Any tips/suggestions/ideas?

Thanks!

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

This is going to be highly dependent on the specific installer you're trying to run. Most vendors couldn't care less about making unattended deployment easy for admins. Your best bet is to try and find someone who's already done the work for you. The Package KB at AppDeploy.com is a great place to start in addition to their forums. You can also try searching the wiki at WPKG.org.

If all that fails, you will unfortunately have to dig in and figure out the problems yourself. Enable logging everywhere you can and be prepared to spend a lot of time scouring for specific errors. Tools like Orca for MSI editing and ProcMon can be invaluable.

SCCM packages run as SYSTEM by default. You should try manually running your package as local admin on a test box to see if it even works at all first. If that is successful without any user interaction, try it again running as SYSTEM using something like PsExec. Some installers make dumb assumptions about who will be running the installer or what pieces of that user's profile will exist.

Repackaging tools that create a new installer based on pre and post snapshots exist, but they can be expensive. They can also introduce their own problems.

share|improve this answer
add comment

For Installshield, the command line setup.exe /s /v/qn is your friend.

This has both the /s switch that tells the Installshield setup to run silently (and use your ISS file), and also /v/qn that tells Installshield to pass a /qn silent install switch onto the MSI(s) when it runs it.

See this page in InstallShield's documentation that lists its command line options Setup.exe and Update.exe Command-Line Parameters for further options.

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.