wix

How to auto generating setup file while check-in the code in to TFS

江枫思渺然 提交于 2020-01-06 05:59:12
问题 How do I integrate InstallShield/Wix/IsWix with TFS? I wish to auto generate setup files during successful TFS checkin/release? I am comparing InstallShield with Wix and IsWix ! to choose the right candidate for upcoming product development. Tools Used v.Next Builds Team Foundation Version Control Update from InstallShield support team To integrate InstallShield with Team Foundation Server, install InstallShield on each machine that u want to be able to create, update, or build InstallShield

Can a single component installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes?

感情迁移 提交于 2020-01-06 05:52:08
问题 Can a product installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes? Install by installer1 and uninstalled by other installer2, or upgraded by installer2 I have a component, is bundled with two installers One is bundled as MSM module in Installer with multiple other components. And other I have standalone installer that installs my component, it does not have MSM module just has .wixproj and .wxs file. So my question is can I have

WiX ServiceInstall Service referencing a .EXE from wixlib?

 ̄綄美尐妖づ 提交于 2020-01-06 04:51:33
问题 I use WIX for the first time and I'm trying to create a MSI to install a service. I have one project that generates a myLib.wixlib that have : <Component Id="TestExecutable" Directory="TESTAPIFOLDER" Guid="*" > <File Source="$(var.BasePath)/TEST.exe" Id="TESTAPIServiceEXE"></File> </Component> To generate the .wixlib, I use -bf flags to embed the files into the .wixlib. How can I refer the TEST.exe file from the .wixlib in the code below? I have to set the source to use the file TEST.EXE

WixUIExtension.dll could not be loaded

折月煮酒 提交于 2020-01-06 04:14:25
问题 I'm trying to make a wix installer. for a web application. the following is my wsx v3.11 File <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="Guid" Name="TestInstaller" Language="1033" Version="1.0.0.0" Manufacturer="CompanyName" UpgradeCode="Guid1"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /

When migrating Wix 3.0 to Wix 4.0 getting error : WXCP0006 : The whitespace preceding this node is incorrect (WhitespacePrecedingNodeWrong)

爷,独闯天下 提交于 2020-01-06 01:35:48
问题 When I am migrating Wix 3.0 to Wix 4.0 using WixCOP I am getting the error WXCP0006 : The whitespace preceding this node is incorrect (WhitespacePrecedingNodeWrong) I am running the below command WixCop.exe -f E:\Test\Wix\src\UI*.wxs. When i run the same command to migrate from Wix 2.0 to Wix 3.0 i didn't get any errors. UPDATE : Thank you for the detailed information. 1) I run the below command multiple times and getting the same errors. WixCop.exe -f E:\Test\Wix\src\UI*.wxs. 2) I am seeing

Wix Installer Execute Program after installation failing with error 2896

橙三吉。 提交于 2020-01-05 15:26:12
问题 I have looked at all the SO questions and a range of others, and cannot find the answer. I have an executable to run after an installation: <Property Id="WixShellExecTarget" Value="#filUpgrader" /> <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="no" /> which is always run after installation (no checkbox needed) <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">1</Publish> I have tried every option I can think

Removing a self referencing node in xml using xsl

只愿长相守 提交于 2020-01-05 12:15:38
问题 I'm a XSL newb and have really trouble understanding the syntax. What I'm trying to achieve is to remove a node from the xml and its referenced node. This xml is build by running Heatdirectory, a tool provided with WIX Installer. So everything in the file is created dynamically. The one thing I know about the file, is the name of the file I want to remove the reference to. This is and example XML: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

Removing a self referencing node in xml using xsl

我们两清 提交于 2020-01-05 12:15:10
问题 I'm a XSL newb and have really trouble understanding the syntax. What I'm trying to achieve is to remove a node from the xml and its referenced node. This xml is build by running Heatdirectory, a tool provided with WIX Installer. So everything in the file is created dynamically. The one thing I know about the file, is the name of the file I want to remove the reference to. This is and example XML: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

How to extract and run a file during installation

心不动则不痛 提交于 2020-01-05 08:47:08
问题 I have created a Custom Action (DTF) with C#. In that CA, I would like to extract a file from the msi (declared as Binary in wix) and run it with some arguments. I haven't found any samples or help about that.. I have to execute a request on the msi, but I would like to have a sample. Thanks! 回答1: The DTF.chm has a sample how to update the Binary table. It's in "Working with MSI Databases" topic. And you can guess how to do the opposite operation. The code might look like this: using (var db

Wix Installer Registry Search Fails

情到浓时终转凉″ 提交于 2020-01-05 07:18:49
问题 I am attemping to do a registry search with in a wix installer so that I know where to install my plug in. I am trying to look up where Tekla Structures 2018i is installed at. However, every time I try running the installer my condition fails. Any help would be greatly appreciated. Product tag: <Property Id="TSMAINDIR"> <RegistrySearch Id="TS2018iSetupMain" Root="HKLM" Key="Software\Tekla\Structures\2018i\setup" Name="MainDir" Type="raw" Win64="yes"/> </Property> <Condition Message="This