heat

WiX Heat: Pre-build event fires too early on build server

北战南征 提交于 2019-12-21 04:22:19
问题 I'm harvesting a directory for my Visual Studio solution. It works on my local system so far probably because the project build order is being respected. When I run the installer on a build server it finds the right directory but it has not been created at the time of building the setup file. It throws a HEAT5052 error saying The directory 'a:\b\c' could not be found . Is there any way to "wait" until or to execute the heat command after all project references are built? 回答1: OK so I've spent

Speed up Build-Process of WiX-Installer

梦想与她 提交于 2019-12-19 19:43:23
问题 For my Wix project I am harvesting 4 directories, via the pre-build-event of visual studio, which will result in about 160mb of data, and about 220 files, but the build process tooks very long. How can i speed that process up? I have one embedded media.cab file which will hold all the files. Is it the size or the amount of files that will slow the process down? Or is it the harvesting with the heat tool in the pre-build-event? Would it be faster with the HeatDirectory element? Anyone made

How to change the generated Directory Id for Wix using heat?

落爺英雄遲暮 提交于 2019-12-19 08:30:31
问题 I am using heat to generated wix files for multiple directories. However, it seems like if Directory A and Directory B has the same folder name, even though the absolute path is different, heat still think that it is the same directory, therefore generates the same directory Id. There seems to be a way of fixing that, is to override the generated Directory Id by using -directoryid, but there are no examples given in the manual, how are we suppose to pass in the arguments. Obviously, somehow

Simulation of effect of heated resistance on temperature distribution in laminar flow

放肆的年华 提交于 2019-12-17 19:55:07
问题 I'm new to Comsol and I'm trying to simulate the effect of a metal heater resistance (gold) on a laminar cooling flow (water). I would like to get the stationary temperature distribution in the fluid due to the heating effect of the gold resistance. I'm probably missing some boundary condition since I cannot get my solution to converge. What I have so far: 2D axisymmetric geometry Non-Isothermal Flow, which is a coupling between a laminar flow and heat transfer in fluids. inlet boundary

Generate WIX authoring files to contain multiple files under a single component

时光总嘲笑我的痴心妄想 提交于 2019-12-13 18:35:05
问题 We are using heat executable to generate an authoring file, where a unique component is created for each file. Is there a way to include multiple files under a single component. Expected result: <component Id="samplecomponent" Directory="INSTALLFOLDER" Guid="*"> <File Id="file1.txt" Source="$(var.Sourcedir)\file1.xml" /> <File Id="file2.txt" Source="$(var.Sourcedir)\file2.xml" /> <File Id="file3.txt" Source="$(var.Sourcedir)\file3.xml" /> </Component> 回答1: Paraffin 3.131 version works to help

OpenStack - how to iterate comma_delimited_list using %index% from OS::Heat::ResourceGroup?

别来无恙 提交于 2019-12-12 21:05:32
问题 I have a comma_delimited_list which represents list of fixed IPs and in my OS::Heat::ResourceGroup I want that each node will get one fixed ip based on his current index. I have the following heat template (I've pasted only the relevant): my_fixed_ips: type: comma_delimited_list resources: MyResource: type: OS::Heat::ResourceGroup properties: count: { get_param: my_node_count } resource_def: type: MyTemplate.yaml properties: fixed_ip: { get_param: [ my_fixed_ips, %index% ] } name: myName

How to include the output of heat in a wix file? (No Visual Studio project)

陌路散爱 提交于 2019-12-12 18:05:44
问题 I need to build an installer and, for a variety of reasons, I would like to avoid using the WiX project template. I'm perfectly happy to script this stuff myself and already have a custom build process for this to fit into. I believe I understand the role of WiX candle, heat, and light tools fine, I'm getting familiar with the wxs file format, and I can run heat to produce the file fragment outputs that I want. I have no idea however how to incorporate that into my wxs file. Presumably at

How to improve performance of SQL MERGE statement

旧街凉风 提交于 2019-12-11 23:48:37
问题 I have a job that I am currenlty running to sync data between two databases on different internal servers. The one server is the backend database for the HEAT product from FrontRange. The second is our own reporting database we are using for report writing and other internal uses. Our first approach at the job went something like this: Query all the data from the HEAT database tables we wanted and populate local temp tables. Then copy that data out to the appropriate table. That would work

HeatDirectory componentid duplicated

放肆的年华 提交于 2019-12-11 08:38:11
问题 In my project there is several modules. Source files for them are generated by heatdirectory. <HeatDirectory DirectoryRefId="ServerAdminService" OutputFile="Source\ServerAdminServiceSource.wxs" Transforms="Filter.xsl" Directory="..\..\Server\ServerServiceManager\bin\Debug\" PreprocessorVariable="var.ServerAdminServicePath" ComponentGroupName="ServerAdminServiceGroup" ToolPath="$(WixToolPath)" SuppressCom="true" SuppressFragments="true" SuppressRegistry="true" SuppressRootDirectory="true"

Wix - ICE 64 error: Link external componentgroups

青春壹個敷衍的年華 提交于 2019-12-11 06:15:52
问题 i use heat to harvest my files i need as components in my Setup and write them to a separate wxs file, which works perfect. Example of generated file: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="AppData_dir_ref"> <Directory Id="GUID" Name="C" /> <Directory Id="GUID" Name="OLD" /> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="AppData_ComponentGroupId"> <Component Id="GUID" Directory="GUID" Guid="{GUID}"