cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ashishg4u
Level 2

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
Level 3

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