/build/static/layout/Breadcrumb_cap_w.png

MSI API programming

Greetings all!

I have recently had some GREAT success in programming the modification of values in MSI files using the MSI API in MSI.dll.

Mostly I am using these functions: MsiOpenDatabase, MsiDatabaseOpenView, MsiViewExecute, etc.

I'm writing a little QA tool to so I can batch process MSI files to check for values that should be there as part of our company's standards.

However, while I can generate a transform, I don't know how to actually edit a transform like I am an MSI.

Has anyone worked with these API calls?

If so, has anyone had success in editting MSTs?

Thanks in advance,

- Sean Roberts

0 Comments   [ + ] Show comments

Answers (1)

Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
Hi Sean,

There's a script called "WiGenXfm.vbs" in the SDK that demonstrates the use of MsiDatabaseGenerateTransform.

Hope this helps.
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