Hi
I am using
Verson: Developer 8.0
Project type: Basic
I made custom dialog wich contains two edit text boxes:
Name: Edit1
Property: USERID
and
Name:Edit2
Peoperty:PASSWORD
Now I need to write VB script that will install MTS package for me. But I need to set package user by using USERID and PASSWORD properties.
What I should do to pass property into my VB script?
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.
How to get Property in the VB script?
Started by
MIB426
, Nov 20 2003 04:08
2 replies to this topic
Posted 20 November 2003 - 04:32
You are using Developer 8, any particular reason why you don't want to use Installscript? I never use VBScript in custom actions. Here is how to get a property from Installscript:
CODE |
function DoSomething( hMSI ) NUMBER nBuffer, nvType, nvSize; STRING svResult; begin nBuffer = 256; MsiGetProperty ( hMSI, "PASSWORD", szResult, nBuffer ); end; |
The string szResult will then hold the value of the PASSWORD property.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 20 November 2003 - 05:13
I started with installscript project but some how I stuck...as problem in
http://forum.install...?showtopic=8850
But I dont have problem by using standard dialog in Basic project. Can installscript support VB script? like I have to install MTS package by VB script
http://forum.install...?showtopic=8850
But I dont have problem by using standard dialog in Basic project. Can installscript support VB script? like I have to install MTS package by VB script