Thanks,
Hank
The WiLstPrd.vbs sample script provided in the Windows Installer SDK
illustrates how to do this. For example:
"cscript wilstprd.vbs {E1EA0AF7-6522-459C-9C0F-A1362E1286F9} c" gave me the
list of installed components (and their paths) for MsiVal2 on my machine.
The short form would be something like below:
Dim installer
Set installer = Wscript.CreateObject("WindowsInstaller.Installer")
Wscript.Echo
installer.ComponentPath("{E1EA0AF7-6522-459C-9C0F-A1362E1286F9}",
"{60B9C714-90C8-11D2-88AC-00A0C981B015}")
The output is the installed location for the keypath of the evalcom
component in msival2.
Hope this helps,
- Carolyn Napier (MS)
Microsoft Windows Installer Team
Check out the Windows Installer FAQ at:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.a
sp>
Please do not send email directly to the alias used to post to the
newsgroup. The alias is for newsgroup purposes only. This posting is
provided "AS IS" with no warranties, and confers no rights. Use of included
script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"marble" <mar...@drizzle.com> wrote in message
news:1034472422.917756@yasure...
"Carolyn Napier (MS)" <cna...@online.microsoft.com> wrote in message
news:ew$Ep3LdCHA.1376@tkmsftngp12...