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
- :
- Any way to exclude type library dll
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
Mar 21, 2012
10:47 PM
Any way to exclude type library dll
Hi,
I am creating my first installer project using the LE for Visual Studio 2010.
The project references a typelibrary SAPbobsCOM88.dll which is referenced by an Interop dll Interop.SAPbobsCOM.dll. I only want the interop file copied to the output folder when the application is installed as the referenced type library must already exist for the application to work correctly.
However, the created installer is copying and then failing to reference the type library. Is there any way to prevent this file from automatically being copied whilest ensuring the interop file does copy?
I have tried manually specifying the files from the network instead of copying via Primary Output options.
Regards,
Sean
I am creating my first installer project using the LE for Visual Studio 2010.
The project references a typelibrary SAPbobsCOM88.dll which is referenced by an Interop dll Interop.SAPbobsCOM.dll. I only want the interop file copied to the output folder when the application is installed as the referenced type library must already exist for the application to work correctly.
However, the created installer is copying and then failing to reference the type library. Is there any way to prevent this file from automatically being copied whilest ensuring the interop file does copy?
I have tried manually specifying the files from the network instead of copying via Primary Output options.
Regards,
Sean
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 22, 2012
09:32 AM
Hi Sean,
I understand from your description that you would like to configure the settings of SAPbobsCOM88.dll. I hope I have understood that right.
In InstallShield Limited Edition there are a few settings that could be made to a DLL file by right clicking the same and selecting the “Properties” option.Kindly navigate to the “COM & .NET Settings” tab and please note the options.
Kindly refer the below document that would help you understand this:
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=InstallShield2011Express-IDlgFilePropertiesComNetSettingshtm&
Please do let me know if this is what you are looking for.
I understand from your description that you would like to configure the settings of SAPbobsCOM88.dll. I hope I have understood that right.
In InstallShield Limited Edition there are a few settings that could be made to a DLL file by right clicking the same and selecting the “Properties” option.Kindly navigate to the “COM & .NET Settings” tab and please note the options.
Kindly refer the below document that would help you understand this:
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=InstallShield2011Express-IDlgFilePropertiesComNetSettingshtm&
Please do let me know if this is what you are looking for.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 25, 2012
06:00 PM
Hi Keerthana,
Thanks for the reply. I ended up figuring it out and it is precisely as you have indicated.
I needed to manually add the files rather use the generic project output option. Then I was able to select Properties on the Interop DLL and flag it as a COM Interop and changed scan at build to properties only which has successfully excluded the unwanted DLL from the installer.
Thanks,
Sean
Thanks for the reply. I ended up figuring it out and it is precisely as you have indicated.
I needed to manually add the files rather use the generic project output option. Then I was able to select Properties on the Interop DLL and flag it as a COM Interop and changed scan at build to properties only which has successfully excluded the unwanted DLL from the installer.
Thanks,
Sean