Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How do I invoke other MSI files from setup


3 replies to this topic

rhmorrison

rhmorrison
  • Members
  • 13 posts

Posted 21 May 2002 - 16:37

We have a setup that needs to invoke another setup using InstallShield Express v 3.53.  We know that we can use a custom action to invoke a 'setup.exe', but how can we execute an MSI file directly.  VBScript maybe?
Robert H. Morrison
"Luke, use the source"

hteichert

hteichert
  • Members
  • 158 posts

Posted 24 May 2002 - 11:27

There are special Custom Actions for nested installations. Look for "Custom Action Type 7", "Custom Action Type 23", "Custom Action Type 39" and "Nested Installation Actions" in the windows installer documentation.
h.teichert-ott

rhmorrison

rhmorrison
  • Members
  • 13 posts

Posted 27 May 2002 - 08:39

That information was helpful - it looks like MSI custom action 7 is what I am looking for but, the question remains, how do I invoke this using InstallShield Express v3.53?

Is it necessary to create a DLL that uses the MSI library to perform this custom action or what?  From within ISX I can only invoke a function in a DLL, an EXE, or VBScript.  How can I invoke MSI custom action 7?

Any help is greatly appreciated.
Robert H. Morrison
"Luke, use the source"

rhmorrison

rhmorrison
  • Members
  • 13 posts

Posted 29 May 2002 - 10:16

So, I believe that I found the answer in a post to the InstallShield ISX - General forum, specifically "You could create a Custom Action to launch Msiexec.exe and pass the path to the msi file as a parameter."

This means that using ISX 3.5x that one can use the EXE custom action, and specify:

Program:  [SystemFolder]/msiexec.exe
Parameter: /I <name>.msi

to invoke an MSI setup from within a setup.
Robert H. Morrison
"Luke, use the source"