Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 06-28-2010, 03:01 PM   #1 (permalink)
dblock
Guest
 
Posts: n/a
Default Why would MSIGetProductInfo return 0x80070645 for product obtainedvia MsiEnumRelatedProducts?

I have a piece of code that enumerates products via an upgrade code
(MsiEnumRelatedProducts). Then I call MSIGetProductInfo. Sometimes the
latter fails with 0x80070645 - "this action is only valid for products
that are currently installed".

Is this normal? Am I missing something? MSDN says that
MsiEnumRelatedProducts only returns intsalled and advertized products,
so I would expect MSIGetProductInfo not to fail.
  Reply With Quote
Old 07-02-2010, 04:01 AM   #2 (permalink)
Mayayana
Guest
 
Posts: n/a
Default Re: Why would MSIGetProductInfo return 0x80070645 for product obtained via MsiEnumRelatedProducts?



--
--
"dblock" <dblock@dblock.org> wrote in message
news:3a332766-ffba-4e9f-8655-6363f118c5e2@u26g2000yqu.googlegroups.com...
|I have a piece of code that enumerates products via an upgrade code
| (MsiEnumRelatedProducts). Then I call MSIGetProductInfo. Sometimes the
| latter fails with 0x80070645 - "this action is only valid for products
| that are currently installed".
|
| Is this normal? Am I missing something? MSDN says that
| MsiEnumRelatedProducts only returns intsalled and advertized products,
| so I would expect MSIGetProductInfo not to fail.

Why not read MSDN for that function? It says
the same thing. Maybe you're thinking of
MsiGetSummaryInformation?


  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:38 AM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com