Re: [WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Chen, Jianxin
16, 2013 1:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C# custom action to grant builtin user the installation folder full control Deferred custom actions must be scheduled between InstallInitialize and InstallFinalize to execute within the installa

Re: [WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Hoover, Jacob
ca...@gmail.com] Sent: Tuesday, July 16, 2013 1:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C# custom action to grant builtin user the installation folder full control Deferred custom actions must be scheduled between InstallInitialize and InstallFina

Re: [WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Edwin Castro
Deferred custom actions must be scheduled between InstallInitialize and InstallFinalize to execute within the installation transaction and thus elevated. Prefer to use PermissionExinstead of writing your own custom action. Reconsi

Re: [WiX-users] C# custom action to grant builtin user the installation folder full control [P]

2013-07-16 Thread Steven Ogilvie
Classification: Public Did you try: Impersonate="yes" -Original Message- From: Chen, Jianxin [mailto:jianxin.c...@bakerhughes.com] Sent: July-16-13 1:59 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] C# custom action to grant builtin user the installation folder fu

[WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Chen, Jianxin
Hi, Experts, I created a C# custom action to grant the builtin\users full control of the installation target folder, but I have to run the "setup.exe as administrator" to make it work. If I just double-click the setup.exe, my custom action does not have the permission to change the folder. I

Re: [WiX-users] "C++ Custom Action Project" template's LIBPATH is not right.

2013-05-02 Thread Rob Mensching
Thanks. Can you file a bug so we don't lose this issue? On Thu, May 2, 2013 at 1:18 AM, uni wrote: > Hi, > > I'm using Wix 3.7 and I created "C++ Custom Action Project". > The lib path is "$(WIX)sdk\VS2010\lib". > When I compile it says "dutil.lib can not be found". > On my computer the dutil.l

[WiX-users] "C++ Custom Action Project" template's LIBPATH is not right.

2013-05-02 Thread uni
Hi, I'm using Wix 3.7 and I created "C++ Custom Action Project". The lib path is "$(WIX)sdk\VS2010\lib". When I compile it says "dutil.lib can not be found". On my computer the dutil.lib is in $(WIX)sdk\VS2010\lib\x86. --

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-14 Thread Natalie Carr
49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs On 10/08/2012 15:47, Peter Shirtcliffe wrote: > If a MSI dialog is not sufficiently flexible for your needs then you > would use an external UI. And if you do use an external UI rem

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-10 Thread Phil Wilson
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs The question of dialogs in custom actions has come up in the past and the advice from the people in the know is to use MSI UI to do the GUI parts so that UI fits in properly with the rest of the sys

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-10 Thread Bruce Cran
On 10/08/2012 15:47, Peter Shirtcliffe wrote: > If a MSI dialog is not sufficiently flexible for your needs then you would > use an external UI. And if you do use an external UI remember about Server Core which has limited GUI functionality. -- Bruce Cran --

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-10 Thread Peter Shirtcliffe
Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs If I had to guess you need to use a combination of AfxGetStaticModuleState (http://msdn.microsoft.com/en-us/library/cc6feexs(v=vs.80).aspx) , AfxSetResourceHandle ( http://msdn.microsoft.com/en-us/library/d8ws31ff%28VS

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-10 Thread Hoover, Jacob
27;General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] C++ Custom Action Dialogs Hi, Do you mean to add a WIX dialog for the key in the MSI? Do you know of any tutorials to help me with this as I'm getting "Debug Assertion Failed" on: ASS

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-10 Thread Natalie Carr
Thanks Natalie -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 09 August 2012 19:22 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs I hope you aren't under the illusion that scheduling the Key C

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-09 Thread Hoover, Jacob
that invokes a generic MFC dialog. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 09, 2012 11:26 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] C++ Custom Action Dialogs Hi Jacob, The d

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-09 Thread Natalie Carr
:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C++ Custom Action Dialogs Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I&#

Re: [WiX-users] C++ Custom Action Dialogs

2012-08-09 Thread Hoover, Jacob
rceforge.net Subject: [WiX-users] C++ Custom Action Dialogs Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thi

[WiX-users] C++ Custom Action Dialogs

2012-08-09 Thread Natalie Carr
Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thinking that I could be wasting my time if WIX does not support this. K

Re: [WiX-users] C# Custom Action Fails when InsertingTemoporaryRows.

2011-10-06 Thread Brian Lemke
A typo. A simple typo mistake. -Original Message- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: Thursday, October 06, 2011 7:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C# Custom Action Fails when InsertingTemoporaryRows

Re: [WiX-users] C# Custom Action Fails when InsertingTemoporaryRows.

2011-10-06 Thread Brian Lemke
...@greenheck.com] Sent: Wednesday, October 05, 2011 10:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C# Custom Action Fails when Inserting TemoporaryRows. I'm not certain what your exact problem is, but looking at the schema for the remove file table

Re: [WiX-users] C# Custom Action Fails when Inserting TemoporaryRows.

2011-10-05 Thread Hoover, Jacob
Jon [mailto:jon.mcc...@inin.com] Sent: Wednesday, October 05, 2011 8:10 AM To: General discussion for Windows Installer XML toolset. Cc: McCain, Jon Subject: Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. I understand maintaining the customers data but isn't the go

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-05 Thread Brian Lemke
Initially they said no but maybe I can get them to budge. --Brian -Original Message- From: McCain, Jon [mailto:jon.mcc...@inin.com] Sent: Wednesday, October 05, 2011 8:10 AM To: General discussion for Windows Installer XML toolset. Cc: McCain, Jon Subject: Re: [WiX-users] C# Custom Ac

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-05 Thread McCain, Jon
esday, October 04, 2011 10:23 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. On 04-Oct-11 15:29, McCain, Jon wrote: > If that is the case then you shouldn't need to worry about being a good > install writer and just wha

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Bob Arnson
On 04-Oct-11 15:06, Brian Lemke wrote: > Because most of these are nested in folders created by the application. I > would really like to use the RemoveFolderEX element found in Wix 3.6 but I am > not allowed to use that version yet. I am forced to stay on 3.5 1. That's a false economy: The t

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Bob Arnson
On 04-Oct-11 15:29, McCain, Jon wrote: > If that is the case then you shouldn't need to worry about being a good > install writer and just whack the folder or its subfolders that you don't > control with your install. Of course you should. If there's a failure or other rollback, the user's data

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Christopher Painter
(). From: "Wilson, Phil" Sent: Tuesday, October 04, 2011 5:36 PM To: "General discussion for Windows Installer XML toolset." Subject: Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. Is there anything about that interop that lets you see the equivalent

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Wilson, Phil
tober 04, 2011 11:45 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. I'm hoping that someone can help me out. I cannot seem to figure out why my custom action is constantly failing me. The action executes on uninstall and is

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread McCain, Jon
e- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: Tuesday, October 04, 2011 3:06 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. Because most of these are nested in folders created by the applicatio

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Brian Lemke
] Sent: Tuesday, October 04, 2011 2:03 PM To: General discussion for Windows Installer XML toolset. Cc: McCain, Jon Subject: Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows. Just curious here but why not use the RemoveFile element within the component that initially installed

Re: [WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread McCain, Jon
fax +1.317.715.8462 | jon.mcc...@inin.com Interactive Intelligence Inc. Deliberately Innovative www.inin.com -Original Message- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: Tuesday, October 04, 2011 2:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C# Cu

[WiX-users] C# Custom Action Fails when Inserting Temoporary Rows.

2011-10-04 Thread Brian Lemke
I'm hoping that someone can help me out. I cannot seem to figure out why my custom action is constantly failing me. The action executes on uninstall and is to browse the install folder and add files to the RemoveFile table (with a few additional properties too) in the MSI so that the file is

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)

Re: [WiX-users] C# Custom Action - Getting Properties when called from Publish Event="DoAction"

2010-11-29 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
n for Windows Installer XML toolset.' Subject: Re: [WiX-users] C# Custom Action - Getting Properties when called from Publish Event="DoAction" If it isn't a validation issue, make your C# CA run as immediate in the execute sequence (not the UI sequence) sometime before the RemoveReg

Re: [WiX-users] C# Custom Action - Getting Properties when called from Publish Event="DoAction"

2010-11-24 Thread Blair
bject: [WiX-users] C# Custom Action - Getting Properties when called from Publish Event="DoAction" I am building a C# Custom Action that will be called from dialog button "Publish". The C# CA is working when called from the Publish Event="DoAction". However, I can

[WiX-users] C# Custom Action - Getting Properties when called from Publish Event="DoAction"

2010-11-24 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
I am building a C# Custom Action that will be called from dialog button "Publish". The C# CA is working when called from the Publish Event="DoAction". However, I can not get it to access the properties that have been set on the dialog page that the push button control is on. After researchi

Re: [WiX-users] C# Custom Action DLL fails

2010-07-15 Thread Blair
Hassen [mailto:keith.has...@gmail.com] Sent: Thursday, July 15, 2010 11:41 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] C# Custom Action DLL fails Hi, I'm having a problem with WiX 3.5 launching a separate executable from a custom action durin

[WiX-users] C# Custom Action DLL fails

2010-07-15 Thread Keith Hassen
Hi, I'm having a problem with WiX 3.5 launching a separate executable from a custom action during the InstallFinalize action. This seems to only occur on systems where I don't have Visual Studio 2005 installed. On my development system, the installer runs just fine. The Custom Action is a C# Wi

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-26 Thread dB .
Moscow|Geneva|Seattle|New York -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, April 26, 2010 10:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2 dB, I t

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-26 Thread Rob Mensching
w York > > > > -Original Message- > From: Albert At School [mailto:alb...@de-notenbalk.nl] > Sent: Monday, April 26, 2010 4:36 AM > To: 'General discussion for Windows Installer XML toolset.' > Subject: Re: [WiX-users] C++ Custom Action Dll not running on W

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-26 Thread dB .
ssage- From: Albert At School [mailto:alb...@de-notenbalk.nl] Sent: Monday, April 26, 2010 4:36 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2 Hi, I think it is good practice to

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-26 Thread Albert At School
Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2 Thanks for the tip on the Dependency Walker tool. Running depends.exe. My verbose log states in the relevant lines. ... MSI (c) (78:44) [13:18:52:817]: Doing action: PIDKEYValidation

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-24 Thread dB .
-users] C++ Custom Action Dll not running on Windows Server 2008 R2 Thanks for the tip on the Dependency Walker tool. Running depends.exe. My verbose log states in the relevant lines. ... MSI (c) (78:44) [13:18:52:817]: Doing action: PIDKEYValidation Action 13:18:52: PIDKEYValidation. Action start

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-09 Thread Sam Domonkos
Thanks for the tip on the Dependency Walker tool. Running depends.exe. My verbose log states in the relevant lines. ... MSI (c) (78:44) [13:18:52:817]: Doing action: PIDKEYValidation Action 13:18:52: PIDKEYValidation. Action start 13:18:52: PIDKEYValidation. MSI (c) (78:D4) [13:18:52:823]: Invoki

Re: [WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-08 Thread Bob Arnson
On 4/8/2010 1:14 PM, Sam Domonkos wrote: > I know this is not specifically WiX 3.5, but I have a custom action that > will run on XP 32bit, Windows7 32 and 64bit, but will not run on Windows > Server 2008 R2. Use Dependency Walker to see if the DLL has dependencies you're not accounting for. Othe

[WiX-users] C++ Custom Action Dll not running on Windows Server 2008 R2

2010-04-08 Thread Sam Domonkos
I know this is not specifically WiX 3.5, but I have a custom action that will run on XP 32bit, Windows7 32 and 64bit, but will not run on Windows Server 2008 R2. I am using Msi.Lib - 7/14/2009 6:54 - ms sdk 7.0 when I build the Dll. Which seemed to be the most recent version. If anyone has a

Re: [WiX-users] C# Custom Action, change some files during installation

2009-09-11 Thread Rob Mensching
"deferred" sequence. >> >> >> >> ________________ >> From: Adrian Serafin [abus...@gmail.com] >> Sent: Thursday, September 10, 2009 9:10 AM >> To: wix-users@lists.sourceforge.net >> Subject: [WiX-users] C# Custom A

Re: [WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread Adr!an Serafin
;t put any files onto the machine until the "deferred" sequence. > > > > > From: Adrian Serafin [abus...@gmail.com] > Sent: Thursday, September 10, 2009 9:10 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] C# Custom Actio

Re: [WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread John Nannenga
;InstallFiles" which doesn't put any files onto the machine until the "deferred" sequence. From: Adrian Serafin [abus...@gmail.com] Sent: Thursday, September 10, 2009 9:10 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C#

[WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread Adrian Serafin
Hi! I'm struggling with this for some time now... I'm trying to make my custom action to modify applications config.exe file but no success. Maybe someone can help?? And here is c# code: public static ActionResult EditCPAConfig(Session session) { string

Re: [WiX-users] C# Custom action

2008-10-23 Thread Eitan Behar
Hi Sandeep, Probably the simplest approach is to set a property in your CA, and use the property to condition your WIX code. For example, on the CA: if (sky != blue) { session["CA_SKY_PROP"] = "red"; } on WIX Not CA_SKY_PROP Note that in this case you are only checking whether the propert

[WiX-users] C# Custom action

2008-10-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi , I want to write some c# custom actions. These custom action will return some values and based on that I will add some condition in my wix code. Please help me out how can I write or what reference and all i need to add. Regards Sandeep ---

[WiX-users] C# Custom Action on ComboBox Item Selection.

2008-08-27 Thread pavan gadam
Hi all, I am populating the websites deployed in the machine in a ComboBox. I need to display the port number of the selected website. 1 I am able to get the corresponding port value for the website selected.inCustom Action Code using session["PortEditProp"]=getportvalue(); But, T