简体   繁体   中英

Run another MSI from C# setup installer

I have a set up project which installs my program just fine. However, my project also requires crystal reports. So what I am trying to do is somehow get my installation to call the MSI that will install the runtime while running my setting . I have tried adding crystal reports as a prep requite in the build but that is causing the entire file to be downloaded...i actually do not want that and just want to jump from my install to the install of the other MSI. Any help setting this up or pointing to a resource that helps would be appreciated...thanks

What you want to do is called "nested installation". The following link describes how this is done: http://support.microsoft.com/kb/306439

Please be aware of the disadvantages of creating a nested installation:

  • Nested Installations cannot share components.
  • An administrative installation cannot contain a nested installation.
  • Patching and upgrading will not work with nested installations.
  • The installer will not correctly cost a nested installation.
  • Integrated ProgressBars cannot be used with nested installations.
  • Resources that are to be advertised cannot be installed by the nested installation.
  • A package that performs a nested installation of an application should also uninstall the nested application when the parent product is uninstalled.

I would create a Legacy Bootstrapper which installs the two MSI files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM