Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 8

Using _TransformView to view the registry Table

How can I view the Registry Table of a transform? I can only get a couple of columns to show using:

Set oInstaller = CreateObject("WindowsInstaller.Installer")
Set Database = oInstaller.OpenDatabase(, 0)
Database.ApplyTransform , 256
Set oView = Database.OpenView("SELECT * FROM `_TransformView` WHERE `Table`='Registry' AND `Column`='Key'")
Set oView = Database.OpenView("SELECT `Row`,`Data` FROM `_TransformView` WHERE `Table`='Registry' AND `Column`='Key'")

Set rec = oView.Fetch
If rec Is Nothing Then Exit Do
msgbox rec.StringData(0) & vbcrlf & rec.StringData(1) & vbcrlf & rec.StringData(2) & vbcrlf &_
rec.StringData(3) & vbcrlf & rec.StringData(4) & vbcrlf &rec.StringData(5)
I need to retrieve the Registry, Root, Key, Name, and Value from the Registry Table
Labels (1)
0 Kudos
2 Replies
Level 8

Figured out a way; but I would welcome any simpler way to grab the Registry Table info
0 Kudos
Level 6


Did you use Orca?

Archive: How to Edit an MST File with Orca

As far as I know, this is the simplest way to do so.
0 Kudos