Re: [WiX-users] Debugging a DTF Managed Custom Action

2008-11-06 Thread Dave Largen
Excellent!  Thanks for the info.

Dave

-Original Message-
From: Brian Rogers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2008 4:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

What I did when debugging some of my DTF code was put a call to
Debugger.Launch() right at the beginning of my custom action.  At that
point, I could easily attach and step through the code with the debugger.

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^;@@@\\])@..
{)/];)^{;$,+=(++$,);$_.=$,;`$_`;


-Original Message-
From: Christopher Karper [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 6:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

There is a way using Environment variables to set a breakpoint, but I've
found that to be more trouble than it's worth. You can put a call at the
beginning of your CA to MessageBox.Show, and then when that pops up, you can
attach to the process then.   Make sure you attach to the CA managed
process, not the installer process.

Chris

On Tue, Nov 4, 2008 at 2:11 PM, Dave Largen [EMAIL PROTECTED] wrote:

 Is there any way to step into a managed DTF Custom Action with a visual
 studio debugger?  With regular managed custom actions I can attach
directly
 to the process running the custom action and step through the code.

 Thanks,
 Dave


 -
 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=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Debugging a DTF Managed Custom Action

2008-11-06 Thread Dave Largen
I just tried both techniques the one Chris mentioned is how I've always
debugged my managed custom actions but it did not work with DTF for some
reason.  The Debugger.Launch method did pop up the visual studio launch
dialog but it could not step into the code.

-Original Message-
From: Brian Rogers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2008 4:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

What I did when debugging some of my DTF code was put a call to
Debugger.Launch() right at the beginning of my custom action.  At that
point, I could easily attach and step through the code with the debugger.

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^;@@@\\])@..
{)/];)^{;$,+=(++$,);$_.=$,;`$_`;


-Original Message-
From: Christopher Karper [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 6:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

There is a way using Environment variables to set a breakpoint, but I've
found that to be more trouble than it's worth. You can put a call at the
beginning of your CA to MessageBox.Show, and then when that pops up, you can
attach to the process then.   Make sure you attach to the CA managed
process, not the installer process.

Chris

On Tue, Nov 4, 2008 at 2:11 PM, Dave Largen [EMAIL PROTECTED] wrote:

 Is there any way to step into a managed DTF Custom Action with a visual
 studio debugger?  With regular managed custom actions I can attach
directly
 to the process running the custom action and step through the code.

 Thanks,
 Dave


 -
 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=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Debugging a DTF Managed Custom Action

2008-11-06 Thread Dave Largen
I keep the .dll and pdb files in the same location but there is no pdb for
the .dll generated from MakeSFXCA application.  

-Original Message-
From: Brian Rogers [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 06, 2008 12:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

That might be a problem with symbols.  Did you keep your DLLs and PDB files
in their original locations after you built them?

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^;@@@\\])@..
{)/];)^{;$,+=(++$,);$_.=$,;`$_`;


-Original Message-
From: Dave Largen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 8:51 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

I just tried both techniques the one Chris mentioned is how I've always
debugged my managed custom actions but it did not work with DTF for some
reason.  The Debugger.Launch method did pop up the visual studio launch
dialog but it could not step into the code.

-Original Message-
From: Brian Rogers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 4:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

What I did when debugging some of my DTF code was put a call to
Debugger.Launch() right at the beginning of my custom action.  At that
point, I could easily attach and step through the code with the debugger.

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^;@@@\\])@..
{)/];)^{;$,+=(++$,);$_.=$,;`$_`;


-Original Message-
From: Christopher Karper [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 6:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

There is a way using Environment variables to set a breakpoint, but I've
found that to be more trouble than it's worth. You can put a call at the
beginning of your CA to MessageBox.Show, and then when that pops up, you can
attach to the process then.   Make sure you attach to the CA managed
process, not the installer process.

Chris

On Tue, Nov 4, 2008 at 2:11 PM, Dave Largen [EMAIL PROTECTED] wrote:

 Is there any way to step into a managed DTF Custom Action with a visual
 studio debugger?  With regular managed custom actions I can attach
directly
 to the process running the custom action and step through the code.

 Thanks,
 Dave


 -
 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=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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

[WiX-users] Debugging a DTF Managed Custom Action

2008-11-04 Thread Dave Largen
Is there any way to step into a managed DTF Custom Action with a visual
studio debugger?  With regular managed custom actions I can attach directly
to the process running the custom action and step through the code.

Thanks,
Dave


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error 2769: Custom Action Install did not close 1 MSIHANDLEs.

2008-10-28 Thread Dave Largen
I'm running a WIX install on a Vista box and I get the below error when I
run a custom action.  The action runs fine on an XP box.  I am running the
installer with elevated privileges from an administrator account.  Does
anyone have an idea what could be causing this.  I am running build
3.0.4624.0.  

 

Error 2769:  Custom Action Install did not close 1 MSIHANDLEs.

 

Thanks,

Dave

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 2769: Custom Action Install did not close 1 MSIHANDLEs.

2008-10-28 Thread Dave Largen
Very strange, I put a little messagebox popup after the very last line of my
custom action Install call and it went all the way through without
exceptions and showed my custom message.  I also get this very nice empty
dialog box that pops up at the end.  

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 2:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2769: Custom Action Install did not close 1
MSIHANDLEs.

Almost always, that message means the CustomAction crashed... unless your
code always leaks handles.

-Original Message-
From: Dave Largen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 11:10
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error 2769: Custom Action Install did not close 1
MSIHANDLEs.

I'm running a WIX install on a Vista box and I get the below error when I
run a custom action.  The action runs fine on an XP box.  I am running the
installer with elevated privileges from an administrator account.  Does
anyone have an idea what could be causing this.  I am running build
3.0.4624.0.



Error 2769:  Custom Action Install did not close 1 MSIHANDLEs.



Thanks,

Dave

-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users