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

Custom Action


1 reply to this topic

girishkumarr

girishkumarr
  • Members
  • 1 posts

Posted 16 September 2005 - 15:22

Using Custome Action Can I install another application for eg. .. a utility to backup/restore MSDE along with main application?
If it is not so,How to do so?
TIA

FrankSpierings

FrankSpierings
  • Members
  • 22 posts

Posted 30 December 2005 - 11:30

Nesting another MSI installation is a pain in the ...

My advice, use a vb script to kick of both installations in a sequence.

CODE

Install.vbs
-------------------------------
Set objShell = CreateObject("Wscript.Shell")
RetVal =  objShell.Run "Msiexec /i app1.msi /QB-!",0,True
If RetVal = 0 Then
  RetVal =  objShell.Run "Msiexec /i app2.msi /QB-!",0,True
  If RetVal <> 0 Then
     Msgbox "Error in install 2"
  End if
Else
  Msgbox "Error in install 1"
End if
-------------------------------

Edited by FrankSpierings, 30 December 2005 - 11:31.