Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > I have facing a problem in wix , I have no idea about this
 

I have facing a problem in wix , I have no idea about this

Im calling a dll called DBInstallerwhich show following exception and installer fails torun. ANy Idea

Calling custom action DBInstaller!DBInstaller.InstallUtility.Install
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Deployment.WindowsInstaller.CustomActionData.get_Item(String key)
at CRMnextDBInstaller.InstallUtility.ReadCustomData()
at CRMnextDBInstaller.InstallUtility..ctor(Session session)
at CRMnextDBInstaller.InstallUtility.Install(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, Int64 remotingDelegatePtr)


Thanks
Kunal
kunal
kunal rai  Thursday, November 06, 2008 9:03 AM
Hi Kunal,

this is a GAX/GAT related forum, please post your question in the Wix forum maybe here:


Jose Escrich - weblogs.asp.net/jescrich
  • Proposed As Answer byJose Escrich Friday, November 14, 2008 3:08 PM
  •  
Jose Escrich  Friday, November 14, 2008 3:06 PM

You can use google to search for other answers

Custom Search

More Threads

• New Editor or Not?
• XML Literal in .tt template
• How to create a folder structure before template unfolding?
• Making VS read from a txt file onto a tree list?
• An Alternate way to create a Deployment Project for a Guidance Package
• Workaround for the UnfoldTemplateAction and parameter replacements
• Can we checkout file under ClearCase as SourceControl programmacticly
• Problem Loading Package
• Call TextTemplateAction from within a "CreateProject" action
• GAX 1.4 won't install