This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom action in managed code (c#)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 15, 2009
05:09 PM
Custom action in managed code (c#)
I have added some custom actions that are written in C#. They are called at the correct points and execute as expected until I call code in other DLLs in the assembly. IS can't resolve the reference, i.e. can't load the other DLL.
How do I make this happen?
Thanks,
Charles
How do I make this happen?
Thanks,
Charles
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 17, 2009
03:22 PM
There's also some options you can set in the ISCLRWrap table to have InstallShield's managed custom actions explicitly pull in dependent assemblies. The sample document http://community.installshield.com/attachment.php?attachmentid=7220&d=1217951981 talks about this - search for Dependency0 within the document for an example.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2009
05:29 AM
Thank you MichaelU for your post it was just what I was looking for.
And thank you ACBeddoe for posting the question.
And thank you ACBeddoe for posting the question.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2009
10:26 AM
With DTF you simply add your dependencies as assembly references or project items. If you need your files nested, you just create project folders and put them in there. Managed or unmanaged it doesn't matter, you'll have all of your files right there with your CA and the working directory set to the root.
I'm glad Installshield pioneered the Managed Custom Action support, but the reality is Microsoft's DTF solution is far superior, free, open source, integrates with InstallShield easily and yet doesn't lock you into InstallShield.
The choice is simple.
I'm glad Installshield pioneered the Managed Custom Action support, but the reality is Microsoft's DTF solution is far superior, free, open source, integrates with InstallShield easily and yet doesn't lock you into InstallShield.
The choice is simple.