heat

Transform Heat generated .wxs with XSLT (add RegistryValue and edit some values)

我的梦境 提交于 2020-01-01 11:05:00
问题 This is my desired output: <Component Id="C_SOMEFILE" Guid="some-guid-here"> <File Id="File_SOMEFILE" Source="$(var.Source)\SOMEFILE" KeyPath="no" /> <RegistryValue Root="HKCU" Key="Software\Product" Name="installed" Type="integer" Value="1" KeyPath="yes" /> </Component> This is my XSLT file: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" xmlns="http://schemas.microsoft.com/wix/2006/wi" exclude-result

Transform Heat generated .wxs with XSLT (add RegistryValue and edit some values)

走远了吗. 提交于 2020-01-01 11:04:06
问题 This is my desired output: <Component Id="C_SOMEFILE" Guid="some-guid-here"> <File Id="File_SOMEFILE" Source="$(var.Source)\SOMEFILE" KeyPath="no" /> <RegistryValue Root="HKCU" Key="Software\Product" Name="installed" Type="integer" Value="1" KeyPath="yes" /> </Component> This is my XSLT file: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" xmlns="http://schemas.microsoft.com/wix/2006/wi" exclude-result

Creating Spectral Heat maps or Intensity maps from CDIP data using Ruby

拟墨画扇 提交于 2019-12-30 05:22:45
问题 BACKGROUND Per the Coastal Information Data Program (CDIP), they are generating a spectral heat/intensity map for wave swell at http://cdip.ucsd.edu/?nav=recent&sub=observed&units=metric&tz=UTC&pub=public&map_stati=1,2,3&stn=100&stream=p1&xitem=dir_spectrum. This is dynamically generated with data containing energy density, duration (in seconds) & direction (in degrees with 180 degrees representing south). DATA SAMPLE Here's an explanation of the data: http://cdip.ucsd.edu/data_access/MEM

Wix Heat Error on Jenkins CI

早过忘川 提交于 2019-12-24 16:17:20
问题 I am building a wix bundle that depends on a wix setup project and the wix setup depends on a C# project. When I build locally, everything works great but when I build the bundle on Jenkins, I get an error when I try to harvest some files. The heat operation is a pre-build event. heat.exe : error HEAT5053: The directory 'c:\.Hudson\jobs\Project-Branch\workspace\MyProject\bin\x86\Release\Help' did not contain any files or sub-directories and since empty directories are not being kept, there

How to avoid unnecessary tags when use Heat in wix

隐身守侯 提交于 2019-12-24 00:34:46
问题 I'm using HEAT to auto generate WiX fragments for a directory of files. When the --.wxs file creating, why it include some unnecessary tags within the component? like follows scenario 1 <Component Id="cmpFF03591E2D2B9B2AA2AA444299A693DB" Directory="dir7307A6085BD4ABD9B8955C093FD541F5" Guid="*"> <Class Id="{00AB5D3B-4FAB-35AB-8916-59EE0247EFF1}" Context="InprocServer32" Description="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSourceElement" ThreadingModel="both"

Setting directory of ComponentGroupRef in Wix?

微笑、不失礼 提交于 2019-12-23 17:33:45
问题 I have used the Heat tool to generate a wxs file based on a folder whose contents I want to install. This gives me a large file like this: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="TARGETDIR"> <Directory Id="dir1FC8A0605F7DF8B33E3EECB0A1270FA2" Name="DirectoryName" /> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="ComponentGroupId"> <Component Id="cmp1FB67A60B41F3170889B7E5739A23560" Directory=

How to reference File element inside wxs file generated by heat.exe in Wix

我与影子孤独终老i 提交于 2019-12-23 16:28:07
问题 I am going to create setup for my web project. I use http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/ as my reference. In the middle of article, author create a file called WebSiteContent.wxs using heat.exe: <Target Name="Harvest"> <!-- Harvest all content of published result --> <Exec Command='$(WixPath)heat dir $(Publish) -dr INSTALLFOLDER -ke -srd -cg MyWebWebComponents -var var.publishDir -gg -out $(WebSiteContentCode)' ContinueOnError="false"

wix - Copy an entire directory and all of its contents

坚强是说给别人听的谎言 提交于 2019-12-23 12:34:27
问题 My wix installer needs the contents of a directory to be copied to a destination folder. I understand that the Directory element has a FileSource attrib. I tried something like this: <DirectoryRef Id="DIRECTORY" FileSource="{var.Dir}"> <Component Id="Dir" Guid="*" > <CreateFolder/> </Component> </DirectoryRef> This is not picking up the files or sub-directories from the preprocessor variable. Are there any alternate ways to achieve this? 回答1: No, not unless you use a custom action. WiX likes

How to create shortcuts to files harvested by heat.exe?

ぃ、小莉子 提交于 2019-12-22 11:05:23
问题 Using WiX Toolset 3.10, and trying to create shortcuts to certain files that have been harvested with the heat.exe utility, as by: "%WIX%\bin\heat.exe" dir SourceDir -nologo -platform x64 ^ -ke -gg -g1 -suid -srd -scom -sreg -dr INSTALLDIR ^ -cg ProjFiles -out ProjFiles.wxs My issues: I know by now that I'm supposed to use an XSLT file to transform ProjFiles.wxs (the -t option in heat.exe ) but WiX-specific documentation on how to write it is non-existent: can someone please provide an

Leveraging heat.exe and harvest already localized file names and including them to msi using wix

好久不见. 提交于 2019-12-21 17:54:22
问题 I have a question whether what i am trying to do is doable, and if the answer is yes how to do it. I am new to the wix and have been doing some reading on how dynamically to include a folder to an installer and eventually i were able to do a task in nant that uses heat.exe to generate wxs file and latter adding newly generated wxs file to light and candle tasks. This allowed me to add the content of a folder to the msi and subsequently have that folder and its content to be installed. My