Well, I've made progress, I think.

So it appears that for whatever reason I'm not able to build some of the 
src\ext build files with NANT.

Going specifically into the BalExtension and UtilExtension folders, and running 
MSBUILD from their subfolders in a specific order, I was able to get the builds 
to succeed.  Then I was able to run my modified candle.exe from the 
build\debug\x86 folder.  I still get an error about the ExitCode element I 
added, but this looks like progress.

This is the order I manually MSBUILD'ed the projects in to get it to work:
UtilExtension\wixlib
UtilExtension\wixext
BalExtension\balutil
BalExtension\wixstdba
BalExtension\wixlib
BalExtension\wixext

-----Original Message-----
From: Dan Puza [mailto:dp...@ultra-scan.com] 
Sent: Thursday, June 30, 2011 9:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Building and running WiX - Public Key

Some additional background information:

I've copied and pasted the candle.exe command line arguments from Visual 
Studio's build output of my Burn Bootstrapper project, and tried replacing the 
references to my Program Files folder with references to 
WIX_ROOT\build\ship\x86 directory instead.  There are references to two WiX 
extensions, WixUtilExtension.dll and WixBalExtension.dll.  I don't find either 
of them in my output directory.  So when I run the modified command line to 
candle.exe I get the error Could not find 
wix\build\ship\x86\WixUtilExtension.dll.  

What is the candle.exe -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual 
Studio 10.0\Common7\IDE\\" argument for?  Will that Program Files reference 
contribute to my PublicKey problems?

I have also been replacing wix.xsd in Visual Studio 10.0\Xml\Schemas with my 
modified one.

-----Original Message-----
From: Dan Puza [mailto:dp...@ultra-scan.com]
Sent: Thursday, June 30, 2011 9:35 AM
To: WiX-users
Subject: [WiX-users] Building and running WiX - Public Key

I've attempted to fix a bug mentioned by Rob about ExitCode in Burn (actually 
candle) as it's pretty urgent for me to have that working for my project.  I 
thought I may be able to just copy over the modified candle.exe and wix.dll 
into my Program Files (x86)\Windows Installer XML v3.6 directory.  But of 
course, I am getting an exception, not able to load wix.dll with 
PublicKey=blahblahblah.  File not found.

Of course, my modified wix.dll has a null public key.  I've made several 
attempts to work around this, but all unsuccessful.

So... what is the recommended way of running a built version of WiX?  Could 
anyone offer any suggestions to get me on the fast track?  Can you think of any 
"quick and dirty" shortcuts I could take to just get my modified candle.exe 
running?  My only change was to add a few items to wix.xsd.

I built with "make ship".  It doesn't compile completely.  I get 8 non-fatal 
errors and 3 warnings, but I don't even have Visual Studio 2005 installed, so 
I'm guessing that could be the 2005 Votive components?  I do have Visual Studio 
SDK for 2010, and should also have HTML Help SDK.

I do also see an error from "make ship" about can't find 
"wix\build\ship\x86\Dependency.wixlib".

Any help or ideas would be very much appreciated.

Thanks,
Dan

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes sense 
of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes sense 
of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to