Tag Archives: inno

Running Regasm from InnoSetup

Sometimes you have to register at install time various components for .Net Framework 2.0, using regasm.exe, but the path depends on where the framework is installed on the system. So, to save time for you, here is how can be done, using InnoSetup: Registration: Filename:”{reg:HKLM\SOFTWARE\Microsoft\.NETFramework, InstallRoot}\{reg:HKCR\CLSID\{{61b3e12b-3586-3a58- a497-7ed7c4c794b9%7D\InprocServer32\2.0.0.0, RuntimeVersion}\RegAsm.exe”; Parameters: /codebase Your.dll;WorkingDir: {app}; StatusMsg: “Registering controls [...]