cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

Adding New Managed Code - Installed with product failed in 2011!![Bug ??]

Managed Code Custoom Action -> installed with product

I had made a Managed Code Custoom Action with selecting the dll which was installed along with the product. When i tried to call the method the setup failed. This worked fine with IS2009. Is there any special setting in 2011 or is this a bug!!
CA was executed in Immediate mode and was called after install finalize.

The log doesnt give much information other than it returned a value 3 and failed...anyone had this problem!!
Labels (1)
0 Kudos
4 Replies
Highlighted
Flexera
Flexera

Re: Adding New Managed Code - Installed with product failed in 2011!![Bug ??]

Hi,

I tried running the Managed Code sample dll provided with InstallShield in a custom action of type installed with product. It ran fine.

When are you running this custom action? Do you have two Sql Connections in your project?

Thanks!
0 Kudos
Highlighted
Pilgrim

Re: Adding New Managed Code - Installed with product failed in 2011!![Bug ??]

i am running this CA in the immediate execution sequence and sequenced just after install finalize. But this is just a sample and i am not using any sql connection or anything....

i did some searching.....and found out that its an issue that is present along with IS2011..

Please see the Link

http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q...
0 Kudos
Highlighted
Pilgrim

Re: Adding New Managed Code - Installed with product failed in 2011!![Bug ??]

Have you applied the hotfix available in the KB article that you found?
0 Kudos
Highlighted
Pilgrim

Re: Adding New Managed Code - Installed with product failed in 2011!![Bug ??]

Yes!! the hot fix and the workaround works just fine....

Thank you ....
0 Kudos