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

postinstall to script to modify msi


1 reply to this topic

alex@zoosmart.us

alex@zoosmart.us
  • Members
  • 4 posts

Posted 13 May 2005 - 01:33

Hello again,

After creating a default msi from vs c++ .net 2003 from the build menu, I want to insert some custom actions that aren't exposed through the visual studio interface.

What is the best way to do that, do I need to program an executable which calls MsiOpenDatabase, runs sql commands etc and call from a custom build step, or is there an easier way to do this through the vs c++ .net 2003 gui and I just didn't notice it?

Thx

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 May 2005 - 08:17

EXE or Script that's up to you. There a sample VBScript in the SDK to execute SQL commands on the msi file.
How to call it from Visual Studio, integating it in your build process, is more a Visual Studio question, not related to MSI, and I'm not sure how to do it.