cancel
Showing results for 
Search instead for 
Did you mean: 
Ashishg4u
Pilgrim

Registering COM+ .NET dll via Regsvcs.exe Using installshield 2013 BASIC MSI

Hi

I need to register COM+ .Net dll which should use Regsvcs.exe internally using installshield 2013 BASIC MSI . I do not want it to do manually. So that It will unregister automatically during uninstall without using any custom code.
Through designer I am getting error like File not found.

Thanks,

Ashish
Labels (1)
0 Kudos
1 Reply
jagadish0911
Pilgrim

Re: Registering COM+ .NET dll via Regsvcs.exe Using installshield 2013 BASIC MSI

If its COM, .NET dll, Please try below:

LaunchAppAndWait("Regasm.exe ",sztlbpath,LAAW_OPTION_HIDDEN);

Write the below code, before executing LaunchAppAndWait().
where sztlbpath, where your tlb file is being generated,


nReturn = DetermineBitVersionofOS(); //write function definition to deteremine your OS.

if nReturn = 1 then
szNetFramework = "C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727";
ChangeDirectory(szNetFramework);

else
szNetFramework = "C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727" ;
ChangeDirectory(szNetFramework);
//MessageBox("szNetFramework is : "+szNetFramework ,INFORMATION);
endif;

0 Kudos