wix

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

CustomAction in Wix not executing

我们两清 提交于 2020-01-01 10:17:06
问题 So I'm creating my first Wix project and I seem to be having a problem executing a custom action. I'm not sure that it's being included in the msi and I'm not quite sure what I'm doing wrong. The following is my Wix file: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="ExactaDynamicManifest" Language="1033" Version="1.0.0.0" Manufacturer="Bastian Software Solutions" UpgradeCode="274ff2d9-e291-4706-a8db-ce80ccd91538"> <Package

How do I work with spaces in my wix source path?

∥☆過路亽.° 提交于 2020-01-01 10:09:31
问题 wxs file the File tag Source attribute; the path has a space in it. <File Id="_uploads.UserImport.EDS_UserImport.xls" Name="EDS_UserImport.xls" Source="C:\Documents and Settings\kle\Desktop\OspreyMSIGenerator\OspreyMSIGenerator\Published\EDSContainer\uploads\UserImport\EDS_UserImport.xls"></File> I get this error candle.exe : error CNDL0103 : The system cannot find the file 'and' with type 'Source'. I can't be sure that my paths won't have spaces in it. How do I support spaces in the Source

How can I deal with the ICE60 warning in WiX?

有些话、适合烂在心里 提交于 2020-01-01 07:58:08
问题 I have created a WiX project that installs a bunch of different EXEs and DLLs. Unfortunately when I build the project I receive the following warning for each one of them: ICE60: The file fileName is not a Font, and its version is not a companion file reference. It should have a language specified in the Language column. I have found examples and possible solutions for this and each time it is suggested to set the DefaultLanguage tag to 0 in order to fix the warning. Once doing that I then

How do I create a conditional property in WiX? (Almost like an If-Then)

折月煮酒 提交于 2020-01-01 05:55:28
问题 I have a WiX project that installs a few EXE files. One is the 'Main' executable and the others are supporting programs to help diagnose problems. The main executable is optional, and the support programs will run on their own. Often, the end user will install a third-party program instead of my main executable. At the end of the WiX installer, I want to have a 'launch program' checkbox that will run the program as soon as the installer closes. I can hide the checkbox based on the

How do I create a conditional property in WiX? (Almost like an If-Then)

蹲街弑〆低调 提交于 2020-01-01 05:55:17
问题 I have a WiX project that installs a few EXE files. One is the 'Main' executable and the others are supporting programs to help diagnose problems. The main executable is optional, and the support programs will run on their own. Often, the end user will install a third-party program instead of my main executable. At the end of the WiX installer, I want to have a 'launch program' checkbox that will run the program as soon as the installer closes. I can hide the checkbox based on the

How should I handle product upgrades in a WiX installer?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 04:50:51
问题 I have a reasonably large WiX installer (250 Mb plus) and I am trying to come up with a suitable upgrade strategy. Most of the files in the installer will not change and we would prefer not to have to distribute the whole package when only one or two files have changed. I have looked into major and minor upgrades and my understanding is that a major upgrade will happen if the Product ID changes, so long as the Upgrade ID stays the same and minor upgrade patches can be used if both of these

Is MSDeploy “friendly” enough, or can it be wrapped up in an MSI file

只愿长相守 提交于 2020-01-01 03:23:09
问题 In your opinion, are MSDeploy packages a good option for giving to an end user to install a webapplication on their system. How does it compare with, say, the experience of using an MSI file to install a web app? Has anybody tried wrapping up an MSDeploy package inside an MSI package? Would it work? 回答1: MSDeploy was described to me as a tool that helps synchronize web sites between machines, much in the way that AppCenter used to replicate a well configured master to many machines. The

How to create a Wix Exepackage that only has a download link

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 03:15:22
问题 I am trying to create an ExePackage [using the DownloadUrl property] in my bundle that downloads Sql Express 2014 and installs it using the following code <ExePackage Id="Sql2014Express" DisplayName="SQL Server 2014 Express" Cache="no" Compressed="no" PerMachine="yes" Permanent="no" Vital="yes" Name="SQLEXPRWT_x64_ENU.exe" DownloadUrl="http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/ExpressAndTools%2064BIT/SQLEXPRWT_x64_ENU.exe" InstallCommand="/ACTION