Thank you very much Chris, that helped a lot.

I have been successfully using MSBuild to build the installers, but your 
solution is cleaner.

Best regards,
Mello

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Mumford
Sent: quarta-feira, 18 de junho de 2008 00:05
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MSBuild inside Wix development

You don't want to call MSBuild *from* WiX. Instead you want to mave MSBuild 
call WiX. Attached is my MSBuild project file that calls candle.exe and 
light.exe to build an MSI file.

You can see that I have the path to the WiX bin folder hard-coded (and my 
machine is x64). So as an improvement you could use the MSBuild Community Tasks 
(http://msbuildtasks.tigris.org/) to read the registry (via
RegistryRead) to dynamically determine the install location of WiX.

Hope this helps.

-Chris

On Tue, Jun 17, 2008 at 1:08 AM, Krishnan Senthilraj < [EMAIL PROTECTED]> wrote:

> Hi,
>
> I am new to Wix and MSBuild area. I have one fundamental quention.
>
> I completed all the building of my application in MSBuild. Now I am 
> writing Wix construction. I was under impressing we can call the 
> MSBuild project inside Wix.
>
> I am trying examples for this. But unfortunately I didn't get that. So 
> I would like to confirm with this group that *Is it possible and 
> workable solution to call the MSBuild project inside the Wix?*
>
> If answer is yes then please give some links/direction to acheive the same.
>
> Cheers
> Senthilraj
> ----------------------------------------------------------------------
> --- Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about anything 
> Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to