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

Launch CA in Binary Table


2 replies to this topic

tgebbie

tgebbie
  • Members
  • 26 posts

Posted 26 June 2001 - 02:14

I am trying to run a vb script CA and it is stored in the binary table, when I run the installation I receive the following error:

Internal Error: 2740. SQLQuery, -2146827864,
Microsoft VBScript run time error.

If I run the script on the command line and pass the correct parameters it works fine.  

The script is located in the User Interface sequence after MigrateFeatureStates and the condition to run is set to 1.

The custom action settings are

Type: 6
Source: New_Binary1 (this entry is in the binary table)
Target: SQLSrvNames.vbs -p "[INSTALLDIR]" -f "SRVNAMES.TXT"

Thanks for any help in advance.


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 26 June 2001 - 03:02

The installer service is quite restrictive when it comes to passing parameters to a VBScript.  It is so restrictive, I don't think that you can pass any.

Instead, assign you parameters as values of a property, then use session.property("PropName") to retrieve the values from within your VBScrip.