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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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..
Answered 09/23/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
yes this is part of the msi packaging
Answered 11/28/2011 by: virtualize
Orange Senior Belt

Please log in to comment
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.
Answered 11/29/2011 by: VBScab
Red Belt

Please log in to comment
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.
Answered 12/05/2011 by: virtualize
Orange Senior Belt

Please log in to comment
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.
Answered 12/05/2011 by: VBScab
Red Belt

Please log in to comment
0
looks like someone it too lazy to fill out his packaging docs himself ;)
Answered 12/05/2011 by: weberik
Yellow Belt

Please log in to comment
0
no i just wanna understand if there is a way to write a script like this...
Answered 12/06/2011 by: virtualize
Orange Senior Belt

Please log in to comment
0
Hi Pavan,

Check out MSI Report Generator and Microsoft Word Scripts for some tips
Answered 12/06/2011 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity