Need a VB script to import the .reg file in the msi
Hi,
I have a requirement to add a file and registry information of that file in the MSI (or) MSM.
Can we do it through VB script?
If Yes, can you please provide me a sample script to import the file and registry information in the MSI (or ) MSM.
Thanks,
Kumar
1 Comment
[ + ] Show comment
Answers (1)
Please log in to answer
Posted by:
nikegv@gmail.com
10 years ago
If that's the case, you can use InstEdit or Orca to add the entries directly to the Registry table, either to the MSI (if it's "yours") or via a transform (if it's a vendor MSI).
I doubt you'd find a ready-built script to do the job (given the above) but, if you want to persist, the Windows Installer part of the Platform SDK (or whatever MS is calling it this week) contains a few sample scripts of how to "talk" to the Installer.Installer object. - anonymous_9363 10 years ago