PDA

View Full Version : MsiSummaryInfoGetProperty no longer works



RayKode
09-15-2011, 11:55 AM
Hello everyone,
I currently use IS 2011 Professional.
I have installed IS 2012 professional and am testing it.

In my basic msi, I have an InstallScript custom action that executes MsiSummaryInfoGetProperty so that I may access the "Subject" value data in the Summary Information Stream.

This works fine with IS2011 Professional.
But seems to fail after I have migrated the basic msi project to IS 2012 Professional.

Has anyone heard of this with IS 2012 ?
Has anyone heard if this is no longer supported ?

Anyone have ideas as to how I might access the "Subject" value data OTHER than using MsiSummaryInfoGetProperty ?

Other than this particular issue, IS 2012 seems to work well.

Thanks in advance for any responses.

DebbieL
09-15-2011, 01:32 PM
This may be related to the changes that are described in the "Changes in Behavior for Some MSI APIs That Are Called in InstallScript Custom Actions" section of KB Q211163, Upgrading Projects to InstallShield 2012 (http://support.installshield.com/kb/view.asp?articleid=Q211163).

You may need to change your code slightly to ensure that a large enough buffer size is specified.