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

Change MSI TABLE CONTENT


1 reply to this topic

julia

julia
  • Members
  • 10 posts

Posted 17 January 2003 - 10:52

Hi
Is it possible to change with command line in an S script directly the content of a MSI Table (Tables that we see in Direct Editor)
Thanks for your response
Julia

hambone

hambone
  • Members
  • 206 posts

Posted 17 January 2003 - 14:27

(Q: is S Script IS Script ? )

it really depends on what changes you want to make...but YES

using programmes that call api routines you can do pretty much anything.  to get started you can look at the functionality provided by the MSIInfo.EXE programme...  this will allow you to change the summary stream information.

you also have the MSIDB, MSIMerg, MSITran, MSIZap, .... utilities in addition to the various Visual BASIC scripts that can be used to query the MSI Registry or the MSI Files ( WILstPrd - list products, WIFeature - List Features, ... ).

as these files are text scripts it is easy to customize them for your particular needs..

if you check in the platform sdk you will find all of these utilities and more.  the current round of installation tools ( InstallShield, Wise, Prism, Walls, ChicagoSoft, etc ) have basically built on the capabilities of these utilities...

the process model used by theses tools might be slightly different then those originally offered ( ie in the command line world transforms are generated by comparing two msi dbs and then generating the delta.  in the gui world you walk through a series of interfaces to specifiy your requirements )...

if you have a particular requirement, please post and perhaps i, or someone else, could be more specific...