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
- :
- Re: Error 1935 during installing dlls to GAC
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 08, 2008
12:11 AM
Error 1935 during installing dlls to GAC
Hi,
I looked to this error in the forum. Most of the posts for this error are related to installshield version less than 12.
Any way What Im trying to do is so simple. I created a component and set the destination to "[GlobalAssemblyCash]", then I added two staightforward .Net dlls to the component. The following images shows the component's porperties and the attached dll files:
![](/legacyfs/online/vb/6841_error1935_1.JPG)
![](/legacyfs/online/vb/6843_error1935_2.JPG)
After the package is successfully built, I run the setup.exe file to ge the following error:
Error 1935: An error occurred during the installation of the assembly component.
If I only have one dll file and its set as Key File, things work fine.
If that can go wrong, what else can go wrong ???!!!!
I appreciate the Help
I looked to this error in the forum. Most of the posts for this error are related to installshield version less than 12.
Any way What Im trying to do is so simple. I created a component and set the destination to "[GlobalAssemblyCash]", then I added two staightforward .Net dlls to the component. The following images shows the component's porperties and the attached dll files:
After the package is successfully built, I run the setup.exe file to ge the following error:
Error 1935: An error occurred during the installation of the assembly component.
If I only have one dll file and its set as Key File, things work fine.
If that can go wrong, what else can go wrong ???!!!!
I appreciate the Help
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2008
08:45 AM
I have had this problem many times, and the only solution I could find was to create a component for each file.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2008
08:49 AM
The issue is that GAC information is only extracted from the keyfile of a component, so the other file doesn't get properly registered since Windows Installer only references keyfiles.
You definitely want to split these in to two components.
You definitely want to split these in to two components.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 19, 2009
09:05 PM
So if you create a solution with over 100 binaries that you want to GAC and NGen you will have to create a Component for each of them???
Is there another way to do this?
Also would this work on Vista?
Is there another way to do this?
Also would this work on Vista?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2011
01:43 PM
Have any of you found a solution to this. We have an assembly that works find in one project installer, but will produce this 1935 error in another project installer. And so far have not figured out why....
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)