cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
needer
Level 4

How to pack existed .msi file?

Hello every one, there is my question:

I already have some .msi files build by VS2005, i want to know how to pack it in to the InstallShield project. you can select it in CustomSetup dialog. Thx

PS. My InstallShield Project type is Basic MSI Project.
Labels (1)
0 Kudos
(7) Replies
jedimaster_mark
Level 7

You can't really do this, at least not in a sound way. Windows Installer will not allow you to run two MSIs at once. You can nest MSIs, but this is a deprecated feature and generally advised against. Your best bet is to change your VS installers into merge modules and include them in your project.
0 Kudos
Christopher_Pai
Level 16

I would strongly disagree. Merge modules are not a best practice, setup prerequisites are. You get around the MSI concurrency mutex by running the package before your core MSI.

For a brief tutorial, checkout:

http://blog.deploymentengineering.com/2006/11/using-installshield-12-to-install-net.html
0 Kudos
jedimaster_mark
Level 7

Well, yes, that is probably a sounder method still. I have problems getting those approved though. Our customers do not want setup.exe and multiple files in their distribution. The single biggest request I have is to make all the installers single MSIs. Most of our customers refuse to use anything that isn't a single MSI, so I get into the rut of never thinking outside those terms.

I wish our customers were smarter. 😉
0 Kudos
Christopher_Pai
Level 16

Time to educate your customers on the nightmares of servicing merge modules. If you abstract it into a standalone prereq it's easy to patch if there is a security problem found. Otherwise it's not so pretty.

Either that or educate them to roll low level code with 0 dependencies so you don't have any third party redists. 🙂
0 Kudos
needer
Level 4

Thanks for all reply, but i still can't understand how should i do about this.
So anyone can give some material suggestion.:confused:

i am so crash on this question.:(
0 Kudos
DebbieL
Level 17

You could use the Setup Prerequisite Editor to create a setup prerequisite for each .msi file that you want to be installed. Then you'd use the Redistributables view to add each prerequisite to your Basic MSI project.

Here are some links to related help topics that contain more information (and more links to additional help topics):

I hope that helps.

Debbie Landers
Macrovision Corporation
0 Kudos
needer
Level 4

DebbieL wrote:
You could use the Setup Prerequisite Editor to create a setup prerequisite for each .msi file that you want to be installed. Then you'd use the Redistributables view to add each prerequisite to your Basic MSI project.

Here are some links to related help topics that contain more information (and more links to additional help topics):

I hope that helps.

Debbie Landers
Macrovision Corporation



Thanks Debbie, i think this is the immense idear:rolleyes: , why can't i find out it before, i will try, thanks again.:) Your so nice........:D
0 Kudos