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