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
- :
- Register a DLL with .NET Framework?
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
‎Apr 21, 2015
08:06 PM
Register a DLL with .NET Framework?
From my developer:
For SISWeb we need to register the COM component(SISCommon.dll) on the machine where SISWeb is deployed. This needs to follow the specific steps that are given below:
1) Go to the path where the .NET framework 4.0 is installed. By default it will be "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319"
2) Open the command window and type the command "Regasm /Codebase". Below is the screenshot for your reference.
Does anyone know how to do this or the equivelent with InstallShield?
For SISWeb we need to register the COM component(SISCommon.dll) on the machine where SISWeb is deployed. This needs to follow the specific steps that are given below:
1) Go to the path where the .NET framework 4.0 is installed. By default it will be "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319"
2) Open the command window and type the command "Regasm /Codebase
Does anyone know how to do this or the equivelent with InstallShield?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2015
08:14 AM
RatBoyGL,
If you have an InstallScript project, you could try something like this:
http://helpnet.flexerasoftware.com/installshield19helplib/Subsystems/installshield19langref/helplibrary/LaunchApplication.htm
http://lifehacker.com/256474/pipe-commands-to-cmdexe-with-switches
http://helpnet.flexerasoftware.com/installshield19helplib/Subsystems/installshield19langref/helplibrary/LangrefLaunchAppAndWait.htm
HTH
If you have an InstallScript project, you could try something like this:
LaunchAppAndWait( WINSYSDIR ^ "cmd.exe", "/c " + WINDIR ^ "Microsoft.NET" ^ "Framework" ^ "v4.0.30319" ^ "RegAsm.exe /Codebase " + YOUR_PATH, WAIT | LAAW_OPTION_HIDDEN );
http://helpnet.flexerasoftware.com/installshield19helplib/Subsystems/installshield19langref/helplibrary/LaunchApplication.htm
http://lifehacker.com/256474/pipe-commands-to-cmdexe-with-switches
http://helpnet.flexerasoftware.com/installshield19helplib/Subsystems/installshield19langref/helplibrary/LangrefLaunchAppAndWait.htm
HTH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2015
08:45 AM
If you are using a Windows Installer-based project type such as a Basic MSI project, you can select the .NET COM Interop setting on your file's component to perform this registration the Windows Installer way.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2015
07:49 AM
Thanks you both for the replies.