Calling a managed .NET dll
Updated: 21 May 2010 | 5 comments
Can the dll custom actions in IS 7 handle calling a managed .NET dll?
discussion Filed Under:
Can the dll custom actions in IS 7 handle calling a managed .NET dll?
Comments
I believe the answer is yes, but there are also blog postings where using managed DLLs is explicitly described as something to be avoided. (Kim - if you remember which link I'm thinking of, please post it here). Personally, I believe that if you are in a controlled environment with the right version of .NET installed on all target machines then it should not be an issue.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Managed Code CustomActions, no support on the way and here's why
But with WiX and DTF C# custom action should be "easy".
Deployment Tools Foundation joins the WiX toolset
Thanks for posting those links Kim - certainly gives the packaging world more options now that the DTF stuff is integrated into Wix, but I wonder how much practical help that will give to the Wise product - not being a programmer...
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
I don't think using a managed custom action through Wise product(s) should be a problem as long as the required .NET version is pre-installed.
I only throw in the DTF link as it could be interesting for a programmer and I guess only could just use WiX & DTF to generate a MSI and then migrate the info.
Hi, When I try to point to a
Hi,
When I try to point to a managed dll in the "Call custom dll" custom action from WIS 7, I get a "error in custom action" during runtime. Has anyone seen this? Also, has anyone used a managed dll in this type of custom action successfully? I would really like to use the C# dll that I have, and don't want to re-write it in c++.
Thanks!
Uma-
Would you like to reply?
Login or Register to post your comment.