Error in install package: Error 1001. Unable to get installer types in the Inv2_web.dll assembly
am 20.01.2008 01:01:03 von Monty
I have an installation package for my web application which has worked well.
After rebuilding the package and running install, I began receiving this
error message:
Error 1001. Unable to get installer types in the .dll
assembly. --> Unable to load one or more of the requested types. Retrieve
the LoaderExceptions property for more information.
The install package has a Custom Action, but it has always worked fine
before. If I remove the custom action, it installs successfully. I kinda
need the custom action though. One note... I've recently updated from VS2005
to '08. The solution still targets the 2.0 framework though.
Thanks in advance for any light you can shed.
RE: Error in install package: Error 1001. Unable to get installer types in the Inv2_web.dll assembly
am 21.01.2008 04:04:30 von stcheng
Hi Monty,
From your description and the error message you provided, it does indicate
that the setup program is looking for the installer type in your custom
action.
As you mentioned that it used to work, then, is it after you move it to VS
2008(and rebuild) that the problem start occuring? Also, as for the
.dll , have you also move that project into VS 2008 and
rebuild it? I'm wondering whether thre is something mismatch with the setup
program and the main application assembly(an the one that contains the
custom action installer type). You may try build both of them through the
same IDE.
btw, if your setup program is targeting only .net framework 2.0, you can
also open the "properties" of the setup project and check the
"prerequisites", by default, .net framework 3.5 is selected as
prerequisites for VS 2008 setup project, you may also remove it.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Monty"
>Subject: Error in install package: Error 1001. Unable to get installer
types in the Inv2_web.dll assembly
>Date: Sat, 19 Jan 2008 19:01:03 -0500
>
>I have an installation package for my web application which has worked
well.
>After rebuilding the package and running install, I began receiving this
>error message:
>
>Error 1001. Unable to get installer types in the .dll
>assembly. --> Unable to load one or more of the requested types. Retrieve
>the LoaderExceptions property for more information.
>The install package has a Custom Action, but it has always worked fine
>before. If I remove the custom action, it installs successfully. I kinda
>need the custom action though. One note... I've recently updated from
VS2005
>to '08. The solution still targets the 2.0 framework though.
>
>Thanks in advance for any light you can shed.
>
>
>