Problem with DTF CustomAction in 3.0.5419

3 messages Options
Embed this post
Permalink
Shannon Ma

Problem with DTF CustomAction in 3.0.5419

Reply Threaded More More options
Print post
Permalink
Hey Guys,

I was using WiX 3.0.4805 prior to upgrading to the RTM.  I have a few
managed custom actions that use to work fine.  After upgrading to 5419, I'm
receiving the following install errors.  My wix.ca.targets and wix.targets
files are up to date.

MSI (c) (B0:20) [09:28:53:458]: Cloaking enabled.
MSI (c) (B0:20) [09:28:53:458]: Attempting to enable all disabled privileges
before calling Install on Server
MSI (c) (B0:20) [09:28:53:458]: Connected to service for CA interface.
Action ended 9:28:53: ValidateUser. Return value 3.
DEBUG: Error 2896:  Executing action ValidateUser failed.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2896. The
arguments are: ValidateUser, ,
Action ended 9:28:53: WelcomeDlg. Return value 3.

It doesn't seem like the custom action is being called.  Has anything
changed with the way DTF custom actions are compiled or invokved in 5419?

Thanks!

--
Shannon Ma
Neutex Systems
phone +1 (954) 736 4313
blog http://shannon.neutex.net
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Jason Ginchereau

Re: Problem with DTF CustomAction in 3.0.5419

Reply Threaded More More options
Print post
Permalink
There have been a few minor changes to DTF CA code between 4805 and 5419, but no breaking changes. Without more information I have no idea what this problem might be. Can you check the build log where the CA package is built? (MakeSfxCA.exe and related lines)

-----Original Message-----
From: Shannon Ma [mailto:[hidden email]]
Sent: Thursday, July 09, 2009 6:40 AM
To: [hidden email]
Subject: [WiX-users] Problem with DTF CustomAction in 3.0.5419

Hey Guys,

I was using WiX 3.0.4805 prior to upgrading to the RTM.  I have a few
managed custom actions that use to work fine.  After upgrading to 5419, I'm
receiving the following install errors.  My wix.ca.targets and wix.targets
files are up to date.

MSI (c) (B0:20) [09:28:53:458]: Cloaking enabled.
MSI (c) (B0:20) [09:28:53:458]: Attempting to enable all disabled privileges
before calling Install on Server
MSI (c) (B0:20) [09:28:53:458]: Connected to service for CA interface.
Action ended 9:28:53: ValidateUser. Return value 3.
DEBUG: Error 2896:  Executing action ValidateUser failed.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2896. The
arguments are: ValidateUser, ,
Action ended 9:28:53: WelcomeDlg. Return value 3.

It doesn't seem like the custom action is being called.  Has anything
changed with the way DTF custom actions are compiled or invokved in 5419?

Thanks!

--
Shannon Ma
Neutex Systems
phone +1 (954) 736 4313
blog http://shannon.neutex.net
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
brianp

Re: Problem with DTF CustomAction in 3.0.5419

Reply Threaded More More options
Print post
Permalink

Hey Guys,

I am having this same problem.  I have several managed custom actions that used to work.  I then upgraded to build 5419 and my install is now broken.   I see the exact error that Shannon does.  Any word on this problem or a solution for it?  I have looked in the build log for makesfxca and there are no errors as seen below:

Searching for custom action entry points in ManagedCustomActions.dll
    Loaded dependent assembly: C:\DWM Source\alta\Output\Agent\Release\Microsoft.Deployment.WindowsInstaller.dll
    GetNetworkSqlServers=ManagedCustomActions!ManagedCustomActions.DBServerListBox.GetNetworkSqlServers
    SetConfigProperties=ManagedCustomActions!ManagedCustomActions.InstallProperties.SetConfigProperties
    SetExecuteProperties=ManagedCustomActions!ManagedCustomActions.InstallProperties.SetExecuteProperties
    RemoveDataFolders=ManagedCustomActions!ManagedCustomActions.InstallProperties.RemoveDataFolders
    RemoveProgramFolders=ManagedCustomActions!ManagedCustomActions.InstallProperties.RemoveProgramFolders
    TestDatabaseGeneral=ManagedCustomActions!ManagedCustomActions.TestDatabase.TestDatabaseGeneral
    TestDWMDatabase=ManagedCustomActions!ManagedCustomActions.TestDatabase.TestDWMDatabase
    TestConnectionGeneral=ManagedCustomActions!ManagedCustomActions.TestConnection.TestConnectionGeneral
    TestConnectionOnNext=ManagedCustomActions!ManagedCustomActions.TestConnection.TestConnectionOnNext
Searching for an embedded UI class in ManagedCustomActions.dll
Modifying SfxCA.dll stub
Copying file version info from C:\DWM Source\alta\Output\Agent\Release\ManagedCustomActions.dll to C:\DWM Source\alta\Output\Agent\Release\ManagedCustomActions.CA.dll
Packaging files
    ManagedCustomActions.dll
    Microsoft.Deployment.WindowsInstaller.dll
MakeSfxCA finished: C:\DWM Source\alta\Output\Agent\Release\ManagedCustomActions.CA.dll


Thanks,
Brian


Jason Ginchereau wrote:
There have been a few minor changes to DTF CA code between 4805 and 5419, but no breaking changes. Without more information I have no idea what this problem might be. Can you check the build log where the CA package is built? (MakeSfxCA.exe and related lines)

-----Original Message-----
From: Shannon Ma [mailto:sma@neutex.net]
Sent: Thursday, July 09, 2009 6:40 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with DTF CustomAction in 3.0.5419

Hey Guys,

I was using WiX 3.0.4805 prior to upgrading to the RTM.  I have a few
managed custom actions that use to work fine.  After upgrading to 5419, I'm
receiving the following install errors.  My wix.ca.targets and wix.targets
files are up to date.

MSI (c) (B0:20) [09:28:53:458]: Cloaking enabled.
MSI (c) (B0:20) [09:28:53:458]: Attempting to enable all disabled privileges
before calling Install on Server
MSI (c) (B0:20) [09:28:53:458]: Connected to service for CA interface.
Action ended 9:28:53: ValidateUser. Return value 3.
DEBUG: Error 2896:  Executing action ValidateUser failed.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2896. The
arguments are: ValidateUser, ,
Action ended 9:28:53: WelcomeDlg. Return value 3.

It doesn't seem like the custom action is being called.  Has anything
changed with the way DTF custom actions are compiled or invokved in 5419?

Thanks!

--
Shannon Ma
Neutex Systems
phone +1 (954) 736 4313
blog http://shannon.neutex.net
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users