/build/static/layout/Breadcrumb_cap_w.png

To read msi and update registry value from msi into word

Hi,

I need to write a vb script that reads registry value from the msi/ism/mst and updates that entry in the microsoft word.

***may be we need to openthe database.


thanks...

0 Comments   [ + ] Show comments

Answers (8)

Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
0
there is a myriad of ways to do this. Is this part of a packaging team setup? Can you detail more about your requirements I have stacks of scripts for automating word / excel from msi. not sure what it is your asking for..
Posted by: virtualize 13 years ago
Orange Senior Belt
0
yes this is part of the msi packaging
Posted by: anonymous_9363 13 years ago
Red Belt
0
John, I think the OP wants things the other way round, probably to document MSIs.

@OP, look up 'WindowsInstaller.Installer' on MSDN, there's everything you need to know there, in terms of the object model. Then download the Platform SDK (I don't think the Windows Installer SDK is available separately any more). There are sample scripts in there which shoud you how to access the various tables. Bear in mind that, in general, they are quick-and-dirty scripts with no worthwhile error-handling, etc., etc.
Posted by: virtualize 12 years ago
Orange Senior Belt
0
Do u have a vb script for this. Please help me with an example...

1) First u read property value from property table say "ALLUSERs=1"

2) Temp.doc already contains a word "ALLUSERS"

Here the vbscript need to find the property "ALLUSERS" from the msi table and write the value "1" of the property in the temp.doc.

Thanks.
Posted by: anonymous_9363 12 years ago
Red Belt
0
No, I don't. I have a *ton* of similar scripts but, as you will have read in post #4, you can get scripts which would form the shell of what you want from the Platform SDK.
Posted by: weberik 12 years ago
Yellow Belt
0
looks like someone it too lazy to fill out his packaging docs himself ;)
Posted by: virtualize 12 years ago
Orange Senior Belt
0
no i just wanna understand if there is a way to write a script like this...
Posted by: AngelD 12 years ago
Red Belt
0
Hi Pavan,

Check out MSI Report Generator and Microsoft Word Scripts for some tips
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