RE: system.badimageformatexception returned from custom installer
- From: Leslie <mason@xxxxxxxxxxxxxxxx>
- Date: Wed, 23 Aug 2006 07:12:02 -0700
Gary,
The answers to your questions are below.
1. How do you invoke that dll from the customer action?
The dll is created as a seperate project. and is manually added to the web
project in the web project's bin directory. The dll is identified as a custom
Action dll by going to the custom actions tab and then by right clicking
Install, navigating to the bin folder and then clicking Add Assembly. I do
not have any Conditions specified for the custom action and no
CustomActionData is passed. No entry point is identified and the
InstallerClass property is set to true.
2. What about that dll, is it a .NET installer class?
Yes it is an installer class. I have added an eventLogInstaller. In the
overridden Install function I log the install in the application event log.
3. How do you create that DLL and reference it in your setup project?
The dll is created as a seperate project. and is manually added to the web
project in the web project's bin directory. The dll is identified as a custom
Action dll by going to the custom actions tab and then by right clicking
Install, navigating to the bin folder and then clicking Add Assembly.
""Gary Chang[MSFT]"" wrote:
Hi Leslie,.
When I run the installer I receive the system.badimageformatexception
which references the dll that contains the custom installer code.
Would you please provide more detailed information about your custom
installer?
1. How do you invoke that dll from the customer action?
2. What about that dll, is it a .NET installer class?
3. How do you create that DLL and reference it in your setup project?
These information will help us isolate your issue, so I appreciate your
time in performing them. Let me know the results at your earliest
convenience. If you have any questions or concerns, please let me know. I
am standing by to help you.
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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.
- Follow-Ups:
- RE: system.badimageformatexception returned from custom installer
- From: "Gary Chang[MSFT]"
- RE: system.badimageformatexception returned from custom installer
- References:
- RE: system.badimageformatexception returned from custom installer
- From: "Gary Chang[MSFT]"
- RE: system.badimageformatexception returned from custom installer
- Prev by Date: Re: ClickOnce - Setting up a staging and production versions
- Next by Date: Re: System.Net.Mail.SmtpClient
- Previous by thread: RE: system.badimageformatexception returned from custom installer
- Next by thread: RE: system.badimageformatexception returned from custom installer
- Index(es):
Relevant Pages
|
Loading