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 to call MsiInstallProduct in vbScript


1 reply to this topic

georgef

georgef
  • Members
  • 10 posts

Posted 30 May 2001 - 12:05

Could you please advise me (by eg) on how to call & define the MsiInstallProduct in a
vbScript. I am unsure (and unsuccessfull) up to now.

Kind regards
George Furnell
Development Bank of Southern Africa


Joe Fegan

Joe Fegan
  • Members
  • 38 posts

Posted 31 May 2001 - 13:02

If you're using VB script it would probably be easier to use the installer automation objects instead of the API e.g.

Set installer = Wscript.CreateObject"WindowsInstaller.Installer")
call installer.InstallProduct("Whatever.MSI")