"heat project" assumes that the variables described on the following page
were created and passed to the candle tool that compiles its output.

Wix Documentation --> Working in Visual Studio --> Using Project References

If you don't use the msbuild tasks you need to create the used subset of
associated variables yourself. IIRC the only three used are the "TargetDir",
"ProjectDir" and "Culture.TargetDir" variables.

Blair

-----Original Message-----
From: tosatesh [mailto:satesh.ku...@genworth.com] 
Sent: Tuesday, November 09, 2010 10:44 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix main and heat project not coupling


Hi All,
I am try to create a simple MSI installer where in i create a heat project
with the command ler>heat project "D:\ContentServiceEntities.csproj" -pog
Binaries -out "ProjHeat.wxs" -v -gg -cg gnwcommon -var "mygnwcommonprj". 

I do get a heat file which i use it in my main project file like this ...
====================================
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

  <Product Id="72567ab8-16ba-496b-83c2-cbdb0aa84ddb" Name="GNWInstaller"
Language="1033" Version="1.0.0.0" Manufacturer="GNWInstaller"
UpgradeCode="4ae75ccd-c8e0-4633-8e1c-14c3639633e8">
    <Package InstallerVersion="200" Compressed="yes" />
    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="GNWInstaller">
        </Directory>
      </Directory>
    </Directory>
    <Feature Id="ProductFeature" Title="GNWInstaller" Level="1">
     <ComponentGroupRef Id="Product.Generated"/>
      <ComponentGroupRef Id="GNWcommon" />
    </Feature>
  </Product>
</Wix>
==========================
 I am not sure if i am doing the settings correctly. Can someone please
point to some solution as when i am builing this file, it throws an error
saying ...
D:\Assetmark\SourceCode\TacticalLine\Tactical\eWealthWebSites\DNeWMSolutions
\DNeWMCommon\GNWInstaller\GNWInstaller\ProjHeat.wxs(14,0):
error CNDL0150: Undefined preprocessor variable
'$(var.ContentServiceEntities.TargetDir)'.
Done building project "GNWInstaller.wixproj" -- FAILED.

Please help.
-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-main-and-h
eat-project-not-coupling-tp5722032p5722032.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to