Re: [WiX-users] C# Custom Action questions

2011-03-13 Thread Mike Edenfield
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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Christopher Painter
- 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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
...@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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
): 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

Re: [WiX-users] C# Custom Action questions

2011-03-11 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Michael Osmond
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Michael Osmond
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Christopher Painter
(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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
- 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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
, 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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Wilson, Phil
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Wilson, Phil
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Skildum, Mathew
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
[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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Skildum, Mathew
: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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
: 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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Castro, Edwin G. (Hillsboro)
- > 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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-10 Thread Kevin Burton
, 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, "

Re: [WiX-users] C# Custom Action questions

2011-03-09 Thread Simon Dahlbacka
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

Re: [WiX-users] C# Custom Action questions

2011-03-09 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-09 Thread Castro, Edwin G. (Hillsboro)
; 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

Re: [WiX-users] C# Custom Action questions

2011-03-09 Thread Kevin Burton
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

Re: [WiX-users] C# Custom Action questions

2011-03-09 Thread Christopher Painter
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

[WiX-users] C# Custom Action questions

2011-03-09 Thread Kevin Burton
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)