PC Review


Reply
Thread Tools Rate Thread

Deployment problem with framework 1.1 SP1

 
 
=?Utf-8?B?cG1jZ3VpcmU=?=
Guest
Posts: n/a
 
      21st Oct 2004
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
 
Reply With Quote
 
 
 
 
Carlos J. Quintero [MVP]
Guest
Posts: n/a
 
      21st Oct 2004
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" <(E-Mail Removed)> escribió en el mensaje
news:86E1AB9A-7B16-46F4-A073-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?cG1jZ3VpcmU=?=
Guest
Posts: n/a
 
      21st Oct 2004
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FrameWork 2.0 deployment as part of Deployment project Bob Microsoft Dot NET Framework 2 2nd Jun 2006 09:45 PM
Framework deployment Landley Microsoft Dot NET 3 7th Dec 2004 10:33 PM
Framework deployment Landley Microsoft VB .NET 3 7th Dec 2004 10:33 PM
.NET Framework 1.1 SP1 deployment =?Utf-8?B?YmlsbGo=?= Microsoft Windows 2000 Group Policy 1 6th Oct 2004 10:19 AM
Framework deployment Enforcer Microsoft Dot NET Framework 1 17th Nov 2003 02:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 AM.