I think the sample VBScripts in the SDK are useful to the extent that they 
describe the flow for folks that aren't familiar with how to use the APIs. 
Exporting an MSI table with no guidance at all is a pain, but I can see from 
WiExport.vbs that I open the database, do an OpenView with a Select query, do a 
View fetch, and then get each record's string data. 

In this particular SummaryInfo case, WiSumInf.vbs is quite instructive on how 
to get the SummaryInfo for the Platform. I'm not a language purist to the 
extent that I'll ignore a working example, whatever language it might be!

Phil W 

-----Original Message-----
From: Christopher Painter [mailto:chr...@iswix.com] 
Sent: Friday, December 30, 2011 5:56 PM
To: g...@gocek.org; General discussion for Windows Installer XML toolset.; 
General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Querying the package and installed productarchitecture



It's nearly 2012 and I'd much rather use C# and DTF.  Perhaps in 1999 those 
VBScript files were interesting and useful.  I can understand the msi.h / 
msi.lib is still good for the unmanaged C++ guys out there and is certainly 
the foundation for DTF but the whole VBScript / ActiveScript / COM / 
Automation Interface world can RIP for all I care.  Same goes for the POS 
Win32_Product class.  

----------------------------------------

From: "Gary Gocek" <g...@gocek.org>

Sent: Friday, December 30, 2011 7:28 PM

To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>

Subject: Re: [WiX-users] Querying the package and installed 
productarchitecture


There are tools in the Windows SDK (I am currently using v7) that can 
query

an MSI database. Look especially at the vbs scripts, you can invoke them

with SQL to query properties and tables.


http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as


px


Gary


> -----Original Message-----

> From: Alex Ivanoff [mailto:aivan...@vmware.com] 

> Sent: Friday, December 30, 2011 11:19 AM

> To: 'General discussion for Windows Installer XML toolset.'

> Subject: Re: [WiX-users] Querying the package and installed 

> productarchitecture

> 

> 

> I need to be able to do it programmatically.

> 

> 

> -----Original Message-----

> From: McCain, Jon [mailto:jon.mcc...@inin.com]

> Sent: Friday, December 30, 2011 07:31

> To: General discussion for Windows Installer XML toolset.

> Cc: McCain, Jon

> Subject: Re: [WiX-users] Querying the package and installed product 

> architecture

> 

> 1. Open the install in Orca

> 2. Click View -> Summary Information

> 3. The architecture type is listed under Platform.

> 

> Jon

> 

> -----Original Message-----

> From: Alex Ivanoff [mailto:aivan...@vmware.com]

> Sent: Thursday, December 29, 2011 6:17 PM

> To: 'General discussion for Windows Installer XML toolset.'

> Subject: [WiX-users] Querying the package and installed 

> product architecture

> 

> Is there a way to query the MSI package and/or installed product 

> architecture (x86 vs. x64)?


----------------------------------------------------------------------------
--

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

infrastructure or vast IT resources to deliver seamless, secure access to

virtual desktops. With this all-in-one solution, easily deploy virtual 

desktops for less than the cost of PCs and save 60% on VDI infrastructure 

costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to