search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
Networking GroupsView
Internet Mail
Platformsdk Mapi
Platformsdk Msi
Platformsdk Security
Platformsdk Shell
Windows Networking Wireless

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Platformsdk Msi Posts  Ask A New Question 

MsiQueryProductState and INSTALLSTATE_ABSENT - dtieuf

Thursday, January 25, 2007 4:11 PM

Hi,

When a call to MsiQueryProductState returns INSTALLSTATE_ABSENT, MSDN
states that

Is there a way to (programmatically) find out for which user it is
installed ?

Thank you

dtieuf
reply
 

MsiGetProductInfoEx is probably what you're looking for. - Phil Wilson

Thursday, January 25, 2007 4:46 PM

MsiGetProductInfoEx is probably what you are looking for.
--
Phil Wilson
[Microsoft MVP Windows Installer]
reply

MsiQueryProductState and INSTALLSTATE_ABSENT - dtieuf

Friday, January 26, 2007 11:38 AM

Yes, it does exactly what I need. Unfortunately, I should have added
that I must target MSI v2 and this function requires v3+.

Thanks anyway

dtieuf
reply

MsiQueryProductState and INSTALLSTATE_ABSENT - Jeff Henkels

Friday, January 26, 2007 3:05 PM

Try enumerating the subkeys of
HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData --
per-machine installs are in the S-1-5-18 key, and per-user installs will be
in the subkey corresponding to the user's SID.  The Products subkey of each
SID subkey contains product codes in a slightly scrambled format.
reply
 
 

Previous Microsoft Platformsdk Msi conversation.