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?

Answer Summary:
Refer to http://www.itninja.com/question/registration-of-ocx
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Refer the answers to this question:

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

Answered 05/22/2012 by: akki
Fourth Degree Black Belt

Please log in to comment

Answers

0

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

 

Answered 05/21/2012 by: Estes
Second Degree Blue Belt

Please log in to comment
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"

 

Answered 05/24/2012 by: allexb
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity