How are you calling HeatFile?

Marco Tognacci <mark...@live.it> wrote:

I have used HeatFile in my setup project to harvest a dll for register it for 
COMIf I build my project in Debug mode I have this:
   <Component Id="cmpA8B0842041500B0ACE61F7EFD0FBD893" 
Directory="dir0F6F75DF46D1BACE2233EC573E6D4AA9" Guid="PUT-GUID-HERE">
        <File Id="myFile.dll" KeyPath="yes" 
Source="$(var.SourcePath)\myFile.dll" />

        <RegistryValue Root="HKCR" 
Key="CLSID\{0A89A860-D7B1-11CE-8350-444553540000}\InprocServer32" 
Name="CodeBase" Value="file:///[#myFile.dll]" Type="string" Action="write" />
        ...
      </Component>

But if I build the project in Release mode I have this:
   <Component Id="cmpA8B0842041500B0ACE61F7EFD0FBD893" 
Directory="dir0F6F75DF46D1BACE2233EC573E6D4AA9" Guid="PUT-GUID-HERE">
        <File Id="myFile.dll" KeyPath="yes" 
Source="$(var.SourcePath)\myFile.dll" />

        <RegistryValue Root="HKCR" 
Key="CLSID\{0A89A860-D7B1-11CE-8350-444553540000}\InprocServer32" 
Name="CodeBase" Value="C:\MyProgramfolder\Bin\Debug\myFile.dll" Type="string" 
Action="write" />
        ...
      </Component>

I have in the RegistryValue @Value attribute the full path of the myFile.dll in 
the debug folder of my application.I have checked the project and all the 
points where could appear Debug or Release I have set $(Configuration), even 
the variable SourcePath is located using $(Configuration).Is it a bug in Heat? 
or I'm missing something?





------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to