
bleft1.5524940723556968E12 asked a question.
Using a .NET DLL in InstallShield
I've done a few google searches, but I cannot find a definitive answer on how exactly the DLL should be written (whether to enable ComVisible or use System.Runtime.InteropServices, etc), nor how exactly to create the object. All help would be greatly appreciated, thanks!
With an installer DLL you need to inherit from the System.Configuration.Installer class and configure the component to use the class.
If you're writing custom actions in .NET you need to write your DLL in C++/CLI (.NET 2.0) or MC++ (.NET 1.1) so that you can export functions. Note that Microsoft states that .NET custom action DLL's are not supported but there are several people on this forum that have done it successfully.
I have a scenerio where I need to query a database and return 2 pieces of information to install shield and add say check box items to a dialog then based on what is checked have that dialog use another dll that will run another script and return maybe 5 pieces of information to installshield and then the installer could walk through like normal. Is this possible.
http://community.installshield.com/showthread.php?t=168533