Hi guys,


I pretty much have this working, but I notice that I now have a problem
with the winterop.dll being a 32bit DLL and my program (which includes the
wix.dll) is running as a 64bit process :(



Is there anything I can do about this? Is there a 64bit version of the
winterop.dll available?



I'm using the 3.7 RC binary package by the way!



Hope someone can help me out or point me in the right direction...



Sander







From: Sander van Harmelen [mailto:[email protected]] 
Sent: donderdag 22 november 2012 21:49
To: [email protected]; Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Compile issues and API availability...



Hi Blair,



Thanks for the info! I already tried this myself after the last mail from
Rob and found it to work perfectly. So this makes my project quite a lot
easier... :)



Thanks,



Sander





From: Blair Murri <[email protected]>
Reply-To: <[email protected]>, Windows Installer XML toolset developer
mailing list <[email protected]>
Date: Thursday, 22 November, 2012 9:36 PM
To: 'Windows Installer XML toolset developer mailing list'
<[email protected]>
Subject: Re: [WiX-devs] Compile issues and API availability...



Add wix.dll as a reference/dependency to your code project and use its
classes like candle/light/etc. do depending on the operation you wish to
perform. That way you don't depend on the way any particular version of
WiX was built.



All the core functionality is contained in wix.dll.



From: Sander van Harmelen [mailto:[email protected]] 
Sent: Wednesday, November 21, 2012 8:38 AM
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Compile issues and API availability...



Hmm... Maybe you got a point there... 



I was thinking about the ability to compile the (to be build) API against
the the different WiX parts. Or should I be able to reference the already
compiled wix.dll instead? Didn't have a look at that I must admit... If
that is possible I of course will not rebuild the whole toolset myself,
but just include the wix.dll in my API project.



As said I'm just starting with WiX, so I do have to get into the setup of
the tools and how they work together from a coding perspective. 



Sander





From: Rob Mensching <[email protected]>
Reply-To: Windows Installer XML toolset developer mailing list
<[email protected]>
Date: Wednesday, 21 November, 2012 4:03 PM
To: Windows Installer XML toolset developer mailing list
<[email protected]>
Subject: Re: [WiX-devs] Compile issues and API availability...



Depends what version of the WiX toolset you want to build. Currently, the
build expects VS2008, VS2010 and VS2012 plus several other pieces of
software (like Sandcastle) if you want to build everything.



WiX v3.7 build is a bit easier.



Why do you need to build a private version? Why can't you just use the
bits that exist?



On Wed, Nov 21, 2012 at 12:03 AM, S. J. van Harmelen <[email protected]> wrote:

Hi Rob,



Thanks, that was what I was thinking exactly. Shouldn't be to hard I quess
:)



But my other question remains unanswered... How to compile the source
correctly? Can I compile the latest sourse on a Windows 2008 R2 64bit
machine using VS2012? I also installed the Windows 7 and .NET framework
4.0 SDK, but I still have issues getting the vanilla source compiled.



Any tips anyone? Should it work with my setup, of should I change/add
anything?



Thanks for the help!

Sander


On 21 nov. 2012, at 08:19, Rob Mensching <[email protected]> wrote:

Take a look at the candle and light code. They'll show you exactly how you
can do it. Note: that is not a public API so it can change at any time.
You'll have to keep up.



On Tue, Nov 20, 2012 at 2:47 AM, S. J. van Harmelen <[email protected]> wrote:

Hi,

I'm new to this list and also resonably new to WiX in general. I did read
the book and created a few installers, but the real challenges are still
ahead of me.

I also posted this question to the users list, but I didn't receive any
replies on it. So hence I'm going to try it myself...

I'm searching for a way to use the functionality contained in candle.exe
and light.exe, from code. My program adjust the WiX XML during runtime and
I would like to finish the packaging steps (creating the actuall MSI)
within that same running process.

So I was wondering if there is an API of any kind available for usage like
this? Of course I searched for it myself, but I couldn't find the needed
info.

So assuming it doesn't exist yet, I will give it a go building one. For
that I downloaded the WiX sourse an am now trying to compile it using
VS2012 on Windows 2008 64bit. Should this be possible? As I get a few
errors I wonder if my setup is one that should work with the WiX source
project. If not, then how should my dev machine look like (which OS and
which VS)?

Sorry for the long story and hope that someone can help me getting
started!

Thanks,

Sander

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to