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

Command line utilities for MSI?


2 replies to this topic

John O

John O
  • Members
  • 11 posts

Posted 24 February 2004 - 19:56

Hi-
I'm using Visual Studio Installer to create a number of installs and it has suited my needs very well until recently. I need to add an immediate custom action. VSI supports only deferred actions. I can modify my MSI file easily with Orca to add my new action, but I would like to do this as part of a build process.

Are there any utilities that can simply add rows to a table through a command line interface?

Thanks-
John

John O

John O
  • Members
  • 11 posts

Posted 24 February 2004 - 23:49

Partial answer to my own question.

I believe msidb.exe in the SDK may do what I need.
Also, the WiRunSQL.vbs script in the SDK may work as well - samples commands are on MSDN.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 25 February 2004 - 09:36

You can also write a VBS script, that uses the WindowsInstaller.Installer object to modify your MSI.
In the makefile, use CScript.exe to execute the VBS file.