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
- :
- Basic MSI installing or uninstall to Gobal Assembly Cach
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
‎Apr 06, 2017
04:08 PM
Basic MSI installing or uninstall to Gobal Assembly Cach
I created a very small installer for installing three dll's to global assembly cache. For some reason we are seeing errors on a totally unrelated module. The error is Error 1905. Module C:\WINODWS\SysWOW64\cwbunapi.dll failed to unregister. HRESULT -2147220472. Contact your support personnel. Nowhere in our msi project file is this dll referenced at all. It is a bit of a mystery to me why this error is displayed on uninstall. The error does not affect the results of the install or uninstall, but it is a bit annoying to see any strange error at all. Is there a way to fix this issue?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2017
04:24 PM
What I'd try is to go into each of those Components and find the entry called ".NET Scan at Build" and change those to "None" and rebuild and try again, if you haven't tried that yet. The default is "Dependencies and Properties" which can cause the resulting MSI to include extra things beyond what you know you authored. It's one thing to try, at least. That would be my top suspect sort of loosely based on what you are describing.
Chad
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2017
04:32 PM
Here's info from the relevant control context. The other one to try is "Properties Only" lie they mention below.
Indicate whether you want the key file of this component to be scanned for .NET dependencies, properties, or both at build time. Available options are:
None: InstallShield does not scan the key file of this component for .NET dependencies or properties.
Properties Only: At build time, InstallShield scans the key file of this component for .NET properties. InstallShield populates the MsiAssembly and MsiAssemblyName tables with the assembly properties, as needed.
Dependencies and Properties: At build time, InstallShield scans the key file of this component for .NET dependencies and properties. InstallShield populates the MsiAssembly and MsiAssemblyName tables with the assembly properties, as needed. In addition, InstallShield adds the missing files, components, and merge modules that are required by the .NET assembly to the release.
The build-time scan does not scan the key file of a component if the key file is not a .NET assembly file.
Note: To install an assembly to the Global Assembly Cache, select the Properties Only option or the Dependencies and Properties option.
For more information, see Identifying Properties and Dependencies of .NET Assemblies (help topic: IdentifyingDotNetDepProp.htm).
Chad
Indicate whether you want the key file of this component to be scanned for .NET dependencies, properties, or both at build time. Available options are:
None: InstallShield does not scan the key file of this component for .NET dependencies or properties.
Properties Only: At build time, InstallShield scans the key file of this component for .NET properties. InstallShield populates the MsiAssembly and MsiAssemblyName tables with the assembly properties, as needed.
Dependencies and Properties: At build time, InstallShield scans the key file of this component for .NET dependencies and properties. InstallShield populates the MsiAssembly and MsiAssemblyName tables with the assembly properties, as needed. In addition, InstallShield adds the missing files, components, and merge modules that are required by the .NET assembly to the release.
The build-time scan does not scan the key file of a component if the key file is not a .NET assembly file.
Note: To install an assembly to the Global Assembly Cache, select the Properties Only option or the Dependencies and Properties option.
For more information, see Identifying Properties and Dependencies of .NET Assemblies (help topic: IdentifyingDotNetDepProp.htm).
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2017
09:04 AM
chad.petersen wrote:
What I'd try is to go into each of those Components and find the entry called ".NET Scan at Build" and change those to "None" and rebuild and try again, if you haven't tried that yet. The default is "Dependencies and Properties" which can cause the resulting MSI to include extra things beyond what you know you authored. It's one thing to try, at least. That would be my top suspect sort of loosely based on what you are describing.
Chad
Thank you Chad, this resolved our issue with the random error messages. I installed and uninstall several times on a machine that always displayed errors before and now it is clean. No more errors. Thank you for your fast and accurate resolution to our issue.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)