This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Registering COM+ .NET dll via Regsvcs.exe Using installshield 2013 BASIC MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- 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
- 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;