Scripting Question

MSI with prerequisites

10/17/2013 2152 views

I have an install-shield exe that I have extracted the msi etc.
>There are three Microsoft prerequisites that need to be installed before
>the MSI can be installed.
>dot net 4, visual C++ 2008 and VC ++ 2010 I think from memory
>I have tested it all manually and it works.
>With packaging what is the best approach?
>I have heard create a merge module for the 3 installs, or store them in
>the binary table, neither of which I know how to do? or do I script them
>somehow, use a batch file, vbscript etc etc?
>Basically if I want to install an MSI that has prerequisites , how should
>i do it?
>Thanks very much

0 Comments   [ + ] Show comments


All Answers


just wrap everything in to a wrapper and call the executable when u r deploying it. When u r uninstalling it you can call the uninstall command line just for the program. which would not be a hazzle.

Answered 10/31/2013 by: Sidhugadu
2nd Degree Black Belt


What is the deployment method? 

If you are using SCCM then you can chain these installations in SCCM. If they are already installed they will not install again from SCCM. You can keep a check for software as well. Depends on which version of SCCM it is. 

I am sure you can so something similar with other deployment tools as well. Or worse use a VBscript to install all of them.



~Piyush Nasa


~My Blog:  http://msiworld.blogspot.com/

Answered 10/17/2013 by: piyushnasa
Red Belt


A professional packager would also add the detection of the pre-requisites, such that the package won't install unless they're present.

Answered 10/18/2013 by: VBScab
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ