/build/static/layout/Breadcrumb_cap_w.png

Regarding Transforms

hi guys,
I need to query the Transform Database during installation of my application. It is a basic MSI developed using Installshield Developer 8.x. Can you suggest a way to do this using VBScript?

Thanks in advance for your valuable suggestions.........

regards,
karthik sankaran

0 Comments   [ + ] Show comments

Answers (4)

Posted by: sukil_s 20 years ago
Senior Yellow Belt
1
hey guys
even i need to know the same even i came across this problem and i am waiting for the solution
i appreciate if somebody could help me out in this
thanks
sukil.s
Posted by: bkelly 20 years ago
Red Belt
1
You should be able to address properties as variables within the MSI. With Wise products you simply reference the property in brackets:

If [MyProperty] <> "TRUE"
// take action
End Condition

There is no "else" which can be a bit limiting, but it is pretty straight-forward. I'm not sure if doing similar would require you to use InstallShield Script- when working to deploy silently I know use of InstallShield Script can be something to avoid.

InstallShield offers this on their site:

Const IDOK = 1

Function ReadProductName( )

' open and execute the view
Set oView = Database.OpenView("SELECT `Value` FROM `Property` WHERE `Property`='ProductName'")
oView.Execute

' fetch the one and only ProductName record
Set oRecord = oView.Fetch

' display the string data from the fetched record
MsgBox "ProductName = " & oRecord.StringData(1)

' clean up
oView.Close

' return success to MSI
ReadProductName = IDOK
End Function


Click here for the full paper on the subject, "Accessing the MSI Database at Run Time"
Posted by: KarthikS 20 years ago
Senior Yellow Belt
1
Thanks Bob. We are able to access or get the values from the MSI database. All that we need is to read/access the Transform database(MST). so if you could give me suggestion as to where to look in regarding this query. We have searched the installshield site, Wise solutions site, and all other similar sites. Do let me know where we can do this. We require this for an urgent application that is pending in our queue.


Thanks in advance for your valuable suggestions.

regards,
karthik sankaran.
Posted by: bkelly 20 years ago
Red Belt
1
Because the MST is merged with the MSI at install-time, you should be able to access any of its properties in the same way you would when querying the MSI alone.

...or am I misunderstanding what it is you are trying to do?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ