Hey all,

 

I have a .net class library that I am trying to configure as a custom
action in my build script.

The classlibrary contains one InstallerClass that is declared like:

 

Imports System.ComponentModel

Imports System.Configuration.Install

 

<RunInstaller(True)> Public Class Installer1

    Inherits System.Configuration.Install.Installer

 

Public Overrides Sub Install(ByVal savedState As IDictionary)

 

End Sub

 

End Class

 

In my build script I am configuring the custom action like:

 

            <binaries>

                        <binary name=" Installer1CustomActionBinary"
value="${references.dir}\Installer1.dll" />

            </binaries> 

 

            <customactions>

                        <customaction action=" Installer1CustomAction"
type="1" source=" Installer1CustomActionBinary"
target="**************************" />

            </customactions>

 

            <sequences>

                        <sequence type="installexecute"
action="Installer1CustomAction" value="6510" condition="NOT Installed"
/>

            </sequences>

 

Where you read ************************* is exactly where I am not sure
what information to use.

What is the meaning of entry point for a net assembly?

Is it the namespace of the assembly, class name, method name, etc?

I have been trying several different values but the installer always
displays the error message:

 

Action 15:02:20: Installer1CustomAction. 

Action start 15:02:20: Installer1CustomAction.

Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact your
support personnel or package vendor.  Action Installer1CustomAction,
entry: ******************, library: C:\WINDOWS\Installer\MSI7B2.tmp 

MSI (s) (04:60) [15:02:22:177]: Product: -- Error 1723. There is a
problem with this Windows Installer package. A DLL required for this
install to complete could not be run. Contact your support personnel or
package vendor.  Action Installer1CustomAction, entry:
**********************, library: C:\WINDOWS\Installer\MSI7B2.tmp 

Action ended 15:02:22: SetupFrameworkPactualCustomAction. Return value
3.

Action ended 15:02:22: INSTALL. Return value 3.

 

Could you guys, please, provide me help on this issue.

 

Thanks in advance.

 

Regards,
Fabricio Santana

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to