Page 1 of 1

Registr .net dll in registry using Installaware

Posted: Thu Aug 29, 2013 7:22 am
by sandeepappana444
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

Re: Registr .net dll in registry using Installaware

Posted: Fri Aug 30, 2013 3:06 am
by FrancescoT
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

Re: Registr .net dll in registry using Installaware

Posted: Fri Aug 30, 2013 11:26 pm
by sandeepappana444
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

Re: Registr .net dll in registry using Installaware

Posted: Mon Sep 02, 2013 9:56 am
by FrancescoT
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