tags:

views:

231

answers:

0

I have project in C# to modify the contents of an msi programmatically. Sometimes(I suspect when the size of the msi exceeds 10 MB) during the updation i am getting Interop Runtime exception which is as following.

System.Runtime.InteropServices.COMException was unhandled HelpLink="Msi.chm#9502" Message="SummaryInformation,UpdateCount" Source="Msi API Error" ErrorCode=-2147467259 StackTrace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Interop.msi.Database.get_SummaryInformation(Int32 UpdateCount) at SSMSIPropertyChange.SSMsiPoker.SetSummaryInfo(String guid, String title) in e:\sdc\trunk\ridev\backend\DynamicContent\SSMSIModify\SSMSIChange.cs:line 1603 at SSMSIPropertyChange.msieditor.Main(String[] args) in e:\sdc\trunk\ridev\backend\DynamicContent\SSMSIModify\SSMSIChange.cs:line 328 InnerException:

I tried to find msi.chm and installed some SDK's also as pointed in some forums but was unsuccessful.

Can please somebody give me some pointers for resolving this issue?