|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
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. |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
-- -- "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? |
|