On 3/11/2011 9:27 AM, Kevin Burton wrote:
> Along these same lines I tried building the CA project setting the target as
> x64 just to see if this made a difference. I did get a different error
> message but it still didn't work:
>
> MSI (s) (60:80) [08:07:23:231]: Created Custom Action Server wi
- Original Message
From: "Castro, Edwin G. (Hillsboro)"
To: General discussion for Windows Installer XML toolset.
Sent: Fri, March 11, 2011 10:53:29 AM
Subject: Re: [WiX-users] C# Custom Action questions
FYI: The "DLL" is a .NET assembly. The "CA.dll" is
al Message-
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
Sent: Friday, March 11, 2011 2:10 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I have not tried AnyCPU as that only makes sense if the C++ CA dll
262-901-2312 Fax
kev...@buyseasons.com
-Original Message-
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
Sent: Friday, March 11, 2011 1:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I have a custom actio
SEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com
-Original Message-
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
Sent: Friday, March 11, 2011 10:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action
2011 6:40 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] C# Custom Action questions
>
> I am sorry I had inadvertently set the tag to the DLL *not* the
> CA.dll
> so with the compile target of the CA specifically set to x86 (*not* A
...@buyseasons.com
-Original Message-
From: Michael Osmond [mailto:mosm...@baytech.com.au]
Sent: Thursday, March 10, 2011 8:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I think I hit something like that. Try building the CA with
): NETFRAMEWORK35 = #1
Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com
-Original Message-
From: Michael Osmond [mailto:mosm...@baytech.com.au]
Sent: Thursday, March 10, 2011 8:49 PM
To: General discussion for Windows Installer XML to
or Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I think I hit something like that. Try building the CA with AnyCPU as the
platform rather than 32/64
I have got that error when I forgot the public on the class, though
Regards
Michael
-Original Message
12:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
Thank you Michael,
I tried
public class CustomActions
{
private static int checkCount = 1;
[CustomAction]
public static ActionResult
nstaller XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
Hi Kevin
I think your error that it can't find the CA is in the call
private static bool CheckCredentials
Should be something like:
[CustomAction]
public static ActionResult CheckCredentials(Se
Note you need to get the credentials out of properties.
Michael
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: Friday, 11 March 2011 8:41 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I hea
hristopher Painter [mailto:chr...@deploymentengineering.com]
Sent: Thursday, March 10, 2011 4:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
When I was at Continental Airlines we had an application that I had to
distribute where the se
(Hillsboro)"
To: General discussion for Windows Installer XML toolset.
Sent: Thu, March 10, 2011 4:11:13 PM
Subject: Re: [WiX-users] C# Custom Action questions
Phil and I both mentioned the potential problem. Run your code for invalid
credentials more than once. Try it about 4-12 times (as su
-
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
Sent: Thursday, March 10, 2011 4:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
Phil and I both mentioned the potential problem. Run your code for invalid
, March 10, 2011 4:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
Phil and I both mentioned the potential problem. Run your code for invalid
credentials more than once. Try it about 4-12 times (as suggested by Phil). The
flow for the
er
> BUYSEASONS
> 262-901-2000 Office
> 262-901-2312 Fax
> kev...@buyseasons.com
>
>
> -----Original Message-----
> From: Wilson, Phil [mailto:phil.wil...@invensys.com]
> Sent: Thursday, March 10, 2011 3:10 PM
> To: General discussion for Windows Installer XML toolset.
&g
2011 3:10 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
This is nothing to do with exceptions. I'm telling you that the act of
verifying credentials is a flavor of logon, and that a failure to "verify" may
be treated i
12:27 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
I am not sure what you mean by "square one"? Are you saying that the checking
of credentials that are invalid will throw an exception that is not caught?
First I have to
hursday, March 10, 2011 10:49 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
This is where you use the property that the action set. You do not allow the
user off of the dialog until they enter credentials that work and the property
is
AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
This is where you use the property that the action set. You do not allow the
user off of the dialog until they enter credentials that work and the property
is set to the value you expect. Th
you give them all the
chances they need to get it right.
Mat Skildum
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: Thursday, March 10, 2011 12:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
[mailto:mathew.skil...@aspect.com]
Sent: Thursday, March 10, 2011 12:32 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
In cases where you checking things like credentials you want the actions to
return success so that the install does
:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
So CA's always return Success. What are the other return values used for? Thank
you. For the tip.
The problem that I am having now is that it doesn't appear that the CA i
: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
You'll want to set a property that can be checked in a condition.
Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-029
-
> From: Kevin Burton [mailto:kev...@buyseasons.com]
> Sent: Thursday, March 10, 2011 6:05 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] C# Custom Action questions
>
> How does the custom action indicate that the credentials are in
easons.com
-Original Message-
From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com]
Sent: Wednesday, March 09, 2011 11:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
You shouldn't return failure if the credentials ar
, 2011 11:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
You shouldn't return failure if the credentials are incorrect, if you do so you
will get this error.
"been there, done that... "
On Mar 10, 2011 6:34 AM, "
rom: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: Wednesday, March 09, 2011 5:26 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] C# Custom Action questions
>
> ICE63 - http://msdn.microsoft.com/en-us/library/aa3
ion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
ICE63 - http://msdn.microsoft.com/en-us/library/aa369008.aspx
Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
P Please consider
; From: Kevin Burton [mailto:kev...@buyseasons.com]
> Sent: Wednesday, March 09, 2011 2:15 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] C# Custom Action questions
>
> I think I have solved this problem. The CA was scheduled in the
> Instal
M
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] C# Custom Action questions
If I had to guess you calling this CA as a ControlEvent off a Dialog / Control
in your UI sequence. Am I correct? If so, it's a known issue that Msi lacks
the ability to process message
eral discussion for Windows Installer XML toolset.
Sent: Wed, March 9, 2011 3:24:17 PM
Subject: [WiX-users] C# Custom Action questions
I have a very simple C# Custom Action that is supposed to verify credentials:
using Microsoft.Deployment.WindowsInstaller;
namespace BuySeasons.BsiS
I have a very simple C# Custom Action that is supposed to verify credentials:
using Microsoft.Deployment.WindowsInstaller;
namespace BuySeasons.BsiServices.Install
{
public class CustomActions
{
[CustomAction]
public static ActionResult CheckCredentials(Session session)
34 matches
Mail list logo