5
I have a DLL written in C# and can’t register it using Inno Setup.
An example of how to run this process would be useful.
5
I have a DLL written in C# and can’t register it using Inno Setup.
An example of how to run this process would be useful.
5
Use the following syntax in your Inno Setup script:
[Run]
Filename: "{dotnet20}\Regasm.exe"; Parameters: "{nome da dll} /codebase"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Registrando DLL"
In place of the {dotnet20} code, it can be changed to the version of the NET Framework in question, for example: {dotnet30}, {dotnet40}, {dotnet4.5}.
The "Workingdir" parameter refers to the location of the respective dll.
Obviously the NET Framework will need to be installed. Then this command should be executed only after installing it.
2
An Assembly (.dll) from . net needs to be registered differently from other . dll’s. Inno Setup won’t know this when you mark . dll as regserver
.
In this case, try placing at the end of your script (after unzipping the installation):
[Run]
Filename: "c:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"; Parameters: "/codebase [CaminhoParaSuaDllAqui]"
Browser other questions tagged c# .net installation inno-setup
You are not signed in. Login or sign up in order to post.
You can post as you tried so far?
– Guilherme de Jesus Santos