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
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)
Please log in to answer
Posted by:
sukil_s
20 years ago
Posted by:
bkelly
20 years ago
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:
Click here for the full paper on the subject, "Accessing the MSI Database at Run Time"
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
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.
Thanks in advance for your valuable suggestions.
regards,
karthik sankaran.
Posted by:
bkelly
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.