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

Error while executing an MSI inside the Basic MSI


3 replies to this topic

tohareee

tohareee
  • Members
  • 10 posts

Posted 14 February 2006 - 15:02

I am using the below VB script for executing an MSI . This code is running fine inside an VB application.

Set msi = CreateObject("WindowsInstaller.Installer")
' set the UI level to basic
msi.UILevel = 3
' launch the installer
msi.InstallProduct "C:\Packages\Sample App\SampleApp.msi", ""
' clean up
Set msi = Nothing

Iam getting Error 1720 during Installation. Please help me resolving the issue.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 February 2006 - 13:46

Are you calling this VBScript from a custom action? If yes, in which sequence is it scheduled?

tohareee

tohareee
  • Members
  • 10 posts

Posted 15 February 2006 - 16:26

I am calling this from VB script custom action. I have scheduled it in execute Sequence of Installation before Install Services. Iam using Install shield 11.5 Premier Edition. I have tried in all position in the sequence. Iam getting the same error.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 February 2006 - 10:03

Only one MSi setup can run (in execute sequence) at any time. You cannot launch another MSI setup this way from the Execute sequence.