Jason,

Thanks a ton! I'll dig into this again and see if I can make it work
(fingers crossed).

Regards,

Rob


-----Original Message-----

Date: Wed, 8 Jul 2009 14:38:38 -0700
From: Jason Ginchereau <jason...@microsoft.com>
Subject: Re: [WiX-users] DTF and PDB files for better error logging
To: "wix-users@lists.sourceforge.net"
        <wix-users@lists.sourceforge.net>
Message-ID:
        
<139942f2536b7c4fbde6b44132f80c842c4cd76...@na-exmsg-c111.redmond.corp.micro
soft.com>
        
Content-Type: text/plain; charset="us-ascii"

Just tried again and it does work -- I got line numbers in the stack trace
in the log.

Note if you're referencing $(IntermediateOutputPath) like in my example
below, you need to define the CustomActionContents property at the BOTTOM of
your project file, because $(IntermediateOutputPath) isn't created until
Microsoft.Common.targets is included.

At runtime the entire CA package is always extracted. At build time you
should be able to see the PDB getting included in the CA package in the
MSBuild output/log, it looks like this:

Modifying SfxCA.dll stub
Copying file version info from
C:\temp\CATest\CustomAction1\obj\x86\Debug\Microsoft.Deployment.Samples.Mana
gedCA.dll to
C:\temp\CATest\CustomAction1\obj\x86\Debug\Microsoft.Deployment.Samples.Mana
gedCA.CA.dll
Packaging files
    Microsoft.Deployment.Samples.ManagedCA.dll
    Microsoft.Deployment.WindowsInstaller.dll
    CustomAction.config
    Microsoft.Deployment.Samples.ManagedCA.pdb
MakeSfxCA finished:
C:\temp\CATest\CustomAction1\obj\x86\Debug\Microsoft.Deployment.Samples.Mana
gedCA.CA.dll





------------------------------------------------------------------------------
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

Reply via email to