- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jun 05, 2014
04:52 AM
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
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
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jul 22, 2014
08:44 AM
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.
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;
