wix3.5

Install more than one MSI files based on user selection in WiX

做~自己de王妃 提交于 2019-12-11 10:28:23
问题 I would like to create a installer (like BootStarper) to achieve following steps using WiX. There will be a setup.exe file. Upon Runnig this file it has to open a UI and show the list of softwares (MSI) available for installation. The software products are grouped into two Group A or Group B. Each group may contain Two or more MSI files (Both internal and third party files) Allow user to Choose a group and one or more products to be installed. Based on the selection, the products should be

WIX: Windows Service Repair failing on lack of permissions + how to detecting repair mode?

旧城冷巷雨未停 提交于 2019-12-11 10:17:39
问题 Our WIX setup installs a windows service after asking logon account through a custom UI dialog.. The service starts after installation succeeds. Entire setup requires elevated privileges. Hoping for any pointers regarding couple of questions: Question 1 On attempting "Repair" from "Add/Remove Programs", UAC prompts for privilege elevation. After allowing so, the repair still fails with message: "Service could not be installed. Verify that you have sufficient privileges to install system

Files in AppdataFolder not visible for all the users -Wix

老子叫甜甜 提交于 2019-12-11 09:43:30
问题 i have developed an addin where its setup was build using wix.When the setup being installed i need to have many files like helpdocument ,logs and Mainly Templates in that appdatatfolder .The files and folder will be automatically created when the setup got installed. My need is Initailly my problem is, this folder and files are created only for user who installed the setup.But i want these folder and files visible for all the user including admin. That file and folder contains templates,here

wix generating new upgrade code

匆匆过客 提交于 2019-12-11 08:25:20
问题 My project needs to have the ability to install 2 versions or more simultaneously. as far as i can find, the solution i have found is changing the upgrade code for each build of the installer. however i want to do this automatically. in regular GUID i just use "*" but this won't work for upgradecode. is there a way to generate new upgradecode in every wix prebuild or any other solution? <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util=

Wix installer upgrade with same “upgrade code” ID shows privilege error prompt

◇◆丶佛笑我妖孽 提交于 2019-12-11 07:48:04
问题 I have developed the windows service and created the MSI installer using Wix toolset , then distributed to users. it is working as expected. Let's name this msi as version 1.0.0.0 Now, it's time to deliver a new build with service enhancements. Hence, I have created a new msi. Let's name it version 2.0.0.0 . I was hoping that the execution of new msi shall upgrade the existing application. But I get below error, basically, it's unable to start the service Here is the code from 1.0.0.0 <

Wix IIS Version check launch condition not working

泄露秘密 提交于 2019-12-11 04:13:32
问题 Hi I am trying to add launch condition to check IIS Version installed is greater than 7 if not it should display compliance message. <PropertyRef Id="IISMAJORVERSION"/> <Condition Message="Install requires IIS 7 or higher"> <![CDATA[IISMAJORVERSION AND (IISMAJORVERSION >= #7)]> </Condition> Also tried IISMAJORVERSION >= "#7" and IISMAJORVERSION >= "#7" but it is not showing condition message on the machines which doesn't have IIs installed. Please help. 回答1: Check MSI : Open your compiled MSI

Verify if a service is marked for deletion

萝らか妹 提交于 2019-12-11 03:17:34
问题 Sometimes when I uninstall the setup (made with WIX) the service remain marked for deletion, and the user must restart the machine to install again. How could I verify that the service is marked for deletion and tell to the user to restart the computer before making other installation? 回答1: Generally speaking, this scenario occurs when something remains latched onto that service, preventing Windows from removing its configuration in the registry. (In most cases, it's simply the Services

Moving Wix <UI> to another file

廉价感情. 提交于 2019-12-11 01:46:21
问题 I am trying to split out my wix file into two separate files. With everything that exists under my <UI> </UI> tag living in this secondary file. I have googled this quite a bit but I don't seem to be getting any conclusive results. Has anyone done this successfully? 回答1: In your Wix project add the reference to the WixUIExtension In your Product.wxs (Main Install file) add a line like this <UIRef Id="UserInterface"/> Add the UserInterface.wxs to your project solution and customize the UI of

WIX edit binary file in custom action

牧云@^-^@ 提交于 2019-12-10 21:34:45
问题 I'm trying to do the following: during install open and edit sql file via custom action save edited changes and execute it during install. In my product.wxs I have the following: <Binary Id="SqlScriptSQLAuthentication" SourceFile="$(sys.SOURCEFILEDIR)\MyDb.sql" /> <Component Id='SqlComponent.SQLAuthentication' Guid='665D641C-3570-4b96-9CA5-2B4C12594A35' KeyPath='yes'> <Condition><![CDATA[USEINTEGRATEDSECURITY<>1]]></Condition> <sql:SqlDatabase Id='SqlDatabase.SQLAuthentication' Database='

How to HeatDirectory 2 or more times against directories with the same files?

╄→гoц情女王★ 提交于 2019-12-10 21:06:55
问题 I've been using the HeatDirectory task in our WiX installer project in the BeforeBuild target to harvest the files of a web application we deploy on the clients network. Been working great. I now want to deploy a second set of files, which so happens to be some documentation, and it contains files that are of the same name that exist in the previous HeatDirectory output. I get the following error: LGHT0293: Multiple files with ID 'Web.Config' exist. I understand why I am getting the error, I