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

String table access from VBScript?


2 replies to this topic

paulp

paulp
  • Members
  • 1 posts

Posted 21 May 2001 - 18:10

I'm trying to write all of my CAs in VBScript (a formidable task I'm finding) and cannot find a way to access string table entries from the script. Any insights?

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 22 May 2001 - 08:37

You can not get at the string table from VBScript because it does not exist in the msi file it is just a convenience when building your project with Installshield.

So you need to make the strings you want available to VBScript.  One way to do this is to include the strings in the property table eg.

Name:  MyPropertyString
Value:  ##MyStringTableEntry##

A name between ## instructs installshield to substitute the string when building the project.