PC Review


Reply
Thread Tools Rate Thread

Custom Actions in Deployment

 
 
Neville Lang
Guest
Posts: n/a
 
      21st Feb 2004
Hi all,

For deploying a C# CF app, I am using the .MSI approach listed in the
document "Developing and Deploying Pocket PC Setup Applications.

My problem is that when the .MSI file is processed and unpacked, it never
seems to call my event handler in the CustomInstaller.dll file, even though
this file is connected to the Install part of the Custom Actions of my Setup
project in VS.

The CustomInstaller project is a C# .NET Framework DLL and I do not see how
by just assigning the DLL to Install in the Custom Actions section of the
Setup project that it can call the AfterInstall event handler code in this
DLL. Should there be a mapping somewhere assigning the AfterInstall event to
this handler code in the DLL? Has anyone else run into this problem?

Regards,
Neville Lang


 
Reply With Quote
 
 
 
 
Neville Lang
Guest
Posts: n/a
 
      22nd Feb 2004
Hi all,

No need to reply now as I have the extra code to make the MSI installer
work. In the document quoted, the CustomInstaller project required some more
code than was evident in the document mentioned in my previous post.

The keyword in that document was "component" of the title "Installer
Component". When I created the CustomInstaller, I created it in VS .NET 2003
as a Class Library to create the DLL. What was not automatically added was
the Component-side of this project, code which I got from Graham McKechnie -
thanks.

Regards,
Neville Lang




"Neville Lang" <neville@MAPS_ONnjlsoftware.com> wrote in message
news:%23Pjl9tE%(E-Mail Removed)...
> Hi all,
>
> For deploying a C# CF app, I am using the .MSI approach listed in the
> document "Developing and Deploying Pocket PC Setup Applications.
>
> My problem is that when the .MSI file is processed and unpacked, it never
> seems to call my event handler in the CustomInstaller.dll file, even

though
> this file is connected to the Install part of the Custom Actions of my

Setup
> project in VS.
>
> The CustomInstaller project is a C# .NET Framework DLL and I do not see

how
> by just assigning the DLL to Install in the Custom Actions section of the
> Setup project that it can call the AfterInstall event handler code in this
> DLL. Should there be a mapping somewhere assigning the AfterInstall event

to
> this handler code in the DLL? Has anyone else run into this problem?
>
> Regards,
> Neville Lang
>
>



 
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
Deployment (Custom Actions) Steve Long Microsoft VB .NET 2 14th Jun 2005 07:25 PM
Custom Actions problem in deployment Steve Long Microsoft C# .NET 1 14th Jun 2005 07:22 PM
Custom actions in deployment =?Utf-8?B?UmFqIEt1bWFy?= Microsoft Dot NET Compact Framework 5 12th Oct 2004 12:05 AM
Custom actions in deployment project Jonas Bergman Microsoft Dot NET 2 5th Jun 2004 08:05 PM
deployment - custom install actions Martin Microsoft Dot NET 0 15th Jul 2003 08:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 AM.