473,388 Members | 1,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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 1311
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******@discussions.microsoft.com> escribió en el mensaje
news:86**********************************@microsof t.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
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...
2
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...
1
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
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...
1
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...
11
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...
2
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
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...
1
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...
7
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.