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
- :
- Class Needs Namespace
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
Feb 04, 2015
09:02 AM
C# DLL function in Suite/Advanced installer
Hi,
I created DLL function using c#, now I want to use this function in my Suite/Advanced installer, but could not . But am able to call this function in Installscript MSi Projects.
Details of DLL file eg: Dll file name:abc.pqr.dll , class:xyz , function:qqq()
Below are the following steps followed to call dll function in Suite/Advanced project
1)Created DLL function using c#
2)Added that dll file in Support file-->Language Independent in Suite installer
3)Under Events-->Actions , Right clicked and clicked on New managed code
On the right panel of Actions I filled the details
File:[SETUPSUPPORTDIR]abc.pqr.dll
Class:xyz
Method:qqq -------------------------even tried qqq()
I created DLL function using c#, now I want to use this function in my Suite/Advanced installer, but could not . But am able to call this function in Installscript MSi Projects.
Details of DLL file eg: Dll file name:abc.pqr.dll , class:xyz , function:qqq()
Below are the following steps followed to call dll function in Suite/Advanced project
1)Created DLL function using c#
2)Added that dll file in Support file-->Language Independent in Suite installer
3)Under Events-->Actions , Right clicked and clicked on New managed code
On the right panel of Actions I filled the details
File:[SETUPSUPPORTDIR]abc.pqr.dll
Class:xyz
Method:qqq -------------------------even tried qqq()
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 30, 2015
01:40 PM
I had the similar problem and found that the Class needs to include the namespace.
For example: MyNamspace.Myclass
Hope that helps.
For example: MyNamspace.Myclass
Hope that helps.