Registr .net dll in registry using Installaware

Got a problem you cannot solve? Try here.
sandeepappana444
Posts: 3
Joined: Tue Aug 30, 2011 1:03 am

Registr .net dll in registry using Installaware

Postby sandeepappana444 » Thu Aug 29, 2013 7:22 am

Hi,

i am new to installaware i want to register my .net dll in registry through installaware
i am using like this but it is not working

Here is the settings I used:

Run Program: $WINDIR$\\Microsoft.NET\\Framework\\v4.0.30319\\regasm.exe

Check "Hide Program Window"

Command Line: "$TARGETDIR$\\mycode.dll" /codebase

Check "Wait for Program to Finish"

That works. Before removing the file, on uninstall I call the same regasm.exe but use the command line of:

"$TARGETDIR$\\mycode.dll" /unregister
please help me

Thanks

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Registr .net dll in registry using Installaware

Postby FrancescoT » Fri Aug 30, 2013 3:06 am

Dear User,

if you are sure that the "unregister" operation it is executed before the file is removed, I may suggest you try to execute the command without setting the "Hide Program Window" flag.

Doing in this way, the CMD windows is left open and probably you are able to verify the returned info by the command execution.

Reagrds
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

sandeepappana444
Posts: 3
Joined: Tue Aug 30, 2011 1:03 am

Re: Registr .net dll in registry using Installaware

Postby sandeepappana444 » Fri Aug 30, 2013 11:26 pm

Hi


I did not work for me.I am using .net framework 2.0
how i register a dll in registry is any another way any modifications for

Run Program: $WINDIR$\\Microsoft.NET\\Framework\\v2.0.50727\\RegAsm.exe

Check "Hide Program Window"

Command Line: "$TARGETDIR$\\mycode.dll" /codebase

Check "Wait for Program to Finish"

That works. Before removing the file, on uninstall I call the same regasm.exe but use the command line of:

"$TARGETDIR$\\mycode.dll" /unregister

Thanks

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Registr .net dll in registry using Installaware

Postby FrancescoT » Mon Sep 02, 2013 9:56 am

Dear User,

I suggested you to try with UN-Checking "Hide Program Window".
This in order to leave the CMD window open and to verify if any extra message is reported by the unregister task.

Did you try it?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 109 guests