/build/static/layout/Breadcrumb_cap_w.png

Registering a DLL in a MSI

I created a MSI that copies 8 dll to the MS Office Directory. These dll are for a internally devolped application. So far so good.

2 of the dll need need to be registered. I know I have to use a CUSTOM ACTION but haven't a clue how to do this, I really could use a hand, I just dont understand how to do custom actions. These CA should execute right after the files are installed.

the commands I need to execute are 

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm.exe /codebase xxxx.dll

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm.exe /codebase xxxx.dll

 

I am using Installshield 2009 and ORCA. Could someone get me started of where I am supposed to begin?


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Refer to http://www.itninja.com/question/registration-of-ocx
Posted by: akki 11 years ago
4th Degree Black Belt
2

Refer the answers to this question:

http://www.itninja.com/question/registration-of-ocx

Posted by: Estes 11 years ago
Second Degree Blue Belt
0

Have you tried capturing the registry entries that get created when registering them and just importing that into your package?

 

Posted by: allexb 11 years ago
Senior Yellow Belt
0

You have create Custom Action

type: 3170

source: SystemFolder

target: cmd /c "%WINDIR%\Microsoft.NET\Framework\v4.0.30319\regasm.exe /codebase xxxx.dll /silent"

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ