[wpkg-users] how to get msi GUUID to the clipboard

Urs Rau (UK) urs.rau at om.org
Wed Jan 18 16:44:45 CET 2012


Hi Malte,

No sooner had I sent it, that I thought of using cscript instead of wscript. Doohh! ;-)

On 18 Jan 2012, at 15:28, Malte Starostik wrote:

> Hi Urs,
>
> different approach and maybe overkill for your case (in fact, I'll have a look
> at the script you linked).  Anyway: for all such MSI-related stuff I use the
> wonderful utility InstEd http://www.instedit.com/ (no, I'm not affiliated ;))
> Besides editing MSIs iff you know what you're doing, it allows you to view all
> the tables, including "Property" which contains the ProductCode and you can
> copy the value from within insted.

Thanks I'll keep this one on file.

> Now, after a quick glance over the page describing MSIInfo.js I guess you
> could run it from a console via cscript instead of wscript to get the output
> into the console from where you can copy:
>
> cscript /nologo PATH\TO\MSIInfo.js PATH\TO\installer.msi


But is there an easy wscript output method that would allow GUI clicking addicts to get the benefit of this as well?

But don't spend long looking for too long, but just in case there is an easy modification that would make it "selectable" in the output dialog?

if not I'll probably write a little bat file that writes the output into a file with a special extension like msiinfo.txt. ;-)

Thanks.

--
Urs Rau


  Operation Mobilisation (OM) - a company limited by guarantee - The Quinta, Weston Rhyn, Oswestry, SY10 7LT, United Kingdom
  Company reg no: 2564320 (England & Wales) - Charity reg. no: 1008196 (England & Wales) - SC040988 (Scotland)
  Web: http://www.uk.om.org



More information about the wpkg-users mailing list