473,756 Members | 7,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment problem with framework 1.1 SP1

I am reposting in this group after getting no response for a week in the
deployment group.

I have a setup project that uses custom actions. The project installs and
runs fine on machines that have the .NET framework 1.1, but fails on machines
that have .NET framework 1.1 SP1. The specific error message is:

"Unable to get installer types in the <assembly path> assembly. One or more
of the types in the assembly unable to load"

Any ideas?

Thanks,
Pat

--
Pat
Nov 21 '05 #1
2 1323
I would bet that it is a versioning problem. I have seen that message
outside the context of MSI installations and it was in the following
scenario: you make a .NET application that supports assemblies plug-ins, all
managed code. The plugin needs a reference to the application in order run,
so it is compiled referencing a specific version of the host application. If
later you recompile the application and give it a new version, when it tries
to load the assembly plugins via managed Load, LoadFrom, etc. functions, you
get that error.

I warn you right now that custom actions on .NET assemblies and MSI
installations are a source of problems. Now, combine the previous with the
following article that I wrote:

BUG: Visual Studio .NET Setup Projects Execute Custom Action of Previous
Version when Upgrading
http://support.microsoft.com/?id=555184

So, if you are doing tests reinstalling and you are changing versions
between tests, you get a mess.

The following thread gives some insight about how the Windows installer
works internally:

http://groups.google.com/groups?hl=e...3DN%26tab%3Dwg

--

Carlos J. Quintero (Visual Developer - .NET MVP)

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
"pmcguire" <pm******@discu ssions.microsof t.com> escribió en el mensaje
news:86******** *************** ***********@mic rosoft.com...
I am reposting in this group after getting no response for a week in the
deployment group.

I have a setup project that uses custom actions. The project installs and
runs fine on machines that have the .NET framework 1.1, but fails on machines that have .NET framework 1.1 SP1. The specific error message is:

"Unable to get installer types in the <assembly path> assembly. One or more of the types in the assembly unable to load"

Any ideas?

Thanks,
Pat

--
Pat

Nov 21 '05 #2
Hi Carlos,

Thanks for the reply. I've read the threads you provided, and, although I'm
not ENTIRELY clear on everything going on in them, I'm pretty sure that my
situation is a little different. In my case, no previous versions exist.
Let me go through the steps:

1) Create an application and deployment package with custom actions on a
development machine. It does not appear to matter whether the development
machine (machine A) has SP1 or not.

2) Use the Bootstrap configurator to make a boostrap install package for
some theoretical, non-MSDE endowed production machine (machine C).

3) Install successfully on a machine with .NET Framework 1.1 (not SP1)
(machine B)

4) Give package to client for use

5) Listen to client complain that install (on machine C) fails

6) Learn that client has SP1 installed

7) Uninstall application from machine B, install SP1 on machine B, and try
but fail to install application on machine B.

So, it could be a versioning problem, I suppose, but it would have to be a
versioning problem that is sort of created by a failure on the part of the
PACKAGER to include an updated version, rather than the CONSUMER to recognize
it. Also, I'm not sure that I mentioned this before, but removing the custom
actions makes the symptons disappear.

Thanks,

Pat

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2040
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
2
1127
by: msnews.microsoft.com | last post by:
Hi Every Body, I build an application using vb.net. Now i m deploying on the client system. I know that the deployment automatically check the .net framework on the client system at startup. I include the .net framework in the deployment setup. I want that if the framework is not installed on the client system then my deployment wizared automatically install the framework which i include in the deployment package. How can i do this....
1
1534
by: ray well | last post by:
hi, how do i get the standard deployment package that comes with vb net, to install the .net framework runtime dotnetfx.exe, before it installs the app itself? thanks for any help, ray
4
3536
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
1
650
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
11
1622
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
2
13847
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
10
3028
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider" I know I need to use <Exec Command='aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider"' /> but I cant get it to work.
1
3794
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add .NET Framework 2.0, no touch deployment does not work in a reliable manner. See following table. |.net 1.1 |.net 2.0(while keeping 1.1) -----------------------------------------------
7
5986
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10040
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9873
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.