wix

How to read content of text file in Wix Toolset Bootstrapper

回眸只為那壹抹淺笑 提交于 2019-12-24 23:29:45
问题 I am using the WiX toolset to build an installer, I want to read the version from a text file. The text file is located in mybootstrapper like below: below is the code where i want to read the content of text file <Bundle IconSourceFile='product.ico' Name="Retail Grip" Version="Version.txt" <!-- i know this is not correct --> Manufacturer="Company Name" UpgradeCode="PUT-GUID-HERE"> 回答1: Oh, it is a WiX bundle - and that's " Wax "? I hear it is a WiX tool of sorts? I am not sure exactly how it

WiX installer project: CefSharp.Core.dll could not be loaded, file not found

眉间皱痕 提交于 2019-12-24 21:55:02
问题 I am working on a windows application on c# visual studio, i have set up a WiX project for the installer and have added CefSharp, CefSharp.Core, CefSharp.Wpf references to it also. However, upon building, it throws an error that the extension '..\packages\CefSharp.Common.57.0.0\CefSharp\x86\CefSharp.Core.dll' could not be loaded because of the following reason: Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies. The specified module could not be found. InstallProj

Major Upgrade without uninstallation of Windows Service

给你一囗甜甜゛ 提交于 2019-12-24 21:28:27
问题 I am really very sorry for being redundant. I have checked a lot of other posts in this site itself and perhaps some other sites. I am not able to get Major Upgrade working without uninstalling & reinstalling of service. I am changing the Product Code and Version and the UpgradeFileComponent is the component that is part of the Upgrade. All the remaining are the same as in 1.0.0. I am doing a POC and hence would like to make only this small change (not as a patch, but as a major upgrade).

Wix Bootstrapper with large package

瘦欲@ 提交于 2019-12-24 21:16:05
问题 I am using Wix Toolset 3.11 and am attempting to create a Wix bootstrapper that is installing a very large prerequisite to my software - a legacy InstallShield executable with ~5000 associated files found in ~600 folders. I have compressed all these files into a single self-extracting archive that is approximately 3GB. I am getting the following error when attempting to build: light.exe(0,0): error LGHT0001: Arithmetic operation resulted in an overflow. Here is my current relevant XML in the

WIX Bootstrap List Installed Packages Individually in Programs list

纵然是瞬间 提交于 2019-12-24 19:38:15
问题 I have a bootstrap wix install with about 6 installers. after they are installed only the "full" bootstrap installer is listed in programs in windows. I ideally need each msi that was installed listed. Is this possible and if so how? 回答1: In each package element, set the attribute Visible="yes". 来源: https://stackoverflow.com/questions/20960647/wix-bootstrap-list-installed-packages-individually-in-programs-list

Deploy multiple WCF Webservices with WiX Toolset - Wrong svc files

泄露秘密 提交于 2019-12-24 19:29:16
问题 I'm trying to use the WIX Toolset 3.7 in VS2012 to create an installer for my WFC services. All services got the same structure: The service.svc is simply linking to the specific class <%@ ServiceHost Language="C#" Debug="true" Service="LandwehrServices.Service.Vorlage.ServiceOption" Factory="ServiceCreator.DigestAuthenticationHostFactory" %> The dlls are getting installed right, but all folders contain the same service.svc (of the first installed service) file... This is my Product.wxs <Wix

Windows Service fails to start on install WiX/IsWix. Verify that you have sufficient privileges. InstallShield to Wix installer

时光总嘲笑我的痴心妄想 提交于 2019-12-24 18:31:48
问题 I have a problem trying to make a WiX installer of my Windows service similar to an existing InstallShield Limited Edition 2015 installer. I tried to reproduce the same existing InstallShield configuration in WiX using the IsWiX graphical tool, but when installing the generated Setup, I get an error message at installation when starting the services "Service start failure. Check that you have sufficient provilèges to start the system services". I have tried all the solutions proposed in the

WIX run second application then first is done

风流意气都作罢 提交于 2019-12-24 18:13:22
问题 I stuck on problem with wix installer. My idea is create .msi installer, and then user install .msi , the setup.exe runs , and then user close this setup.exe(setup will install microsoft add-in) the second one(picture) will be opened sequently. Now this code below runs after checkbox is ticked two aplications both at once. Is the way to run picture only when closed first one ? Please suggest! Here is my code: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix

WIX reinstalling a feature increases the size of installer

淺唱寂寞╮ 提交于 2019-12-24 17:52:57
问题 I have a couple of features in my setup. I have also enabled the Change option. i.e. A user can change what s/he want's to install or uninstall after the initial install. When a feature is removed using this Change option it gets uninstalled. I would have expected the size of installer to be reduced but it stays the same. Now when the feature is later added using Change option the overall size of ths installer is increased. Is there a way to control this or does it always work like this? Note

INSTALLLEVEL Doesn't Install a Feature

◇◆丶佛笑我妖孽 提交于 2019-12-24 17:28:11
问题 I have two features: <Feature Id='BaseProductFeatures' Title='Feature 1' Level='1'> <ComponentRef Id='WebAppVDirComponent'/> <ComponentRef Id='someVDirComponent'/> <ComponentRef Id='anotherWCFVDirComponent'/> <ComponentGroupRef Id='group_IMPORTFOLDERFILES'/> <ComponentGroupRef Id='group_WINSERVERFILES'/> </Feature> <Feature Id='SMSGWFeature' Title='Feature 2' Level='2'> <ComponentGroupRef Id='group_SMSGWWEBAPPFILES'/> </Feature> Before the install, I change the INSTALLLEVEL to 2 using a