wix

How to access/What is the the WiX CommonAppDataFolder Parameter for a Windows Service under SYSTEM Account

吃可爱长大的小学妹 提交于 2020-01-05 06:44:47
问题 I have a Windows Service which needs to run under the SYSTEM account. I am using the CommonAppDataFolder as the destination for application specific configuration content and source material such as log files, Excel template files etc... The Service installs correctly and runs, however when it attempts to load the Excel template file it encounters a problem, the following content shows that the service is able to access and write to the log file. The application is using NLog as the Logging

Windows Installer does not install feature and does not report an error. (Request: Null)

空扰寡人 提交于 2020-01-05 05:42:28
问题 A simple msi created using WiX. Trying to install a product. On some computers it will fail, without an error, and the installer log will contain these rows: PROPERTY CHANGE: Adding WIX_UPGRADE_DETECTED property. Its value is '{7C9...0A0}' PROPERTY CHANGE: Adding MIGRATE property. Its value is '{7C9...0A0}' Product Code from property table after transforms: '{68F...FAE}' Product not registered: beginning first-time install Doing action: INSTALL Doing action: InstallValidate Feature:

Wix Installer app won't install when run twice and uninstalls the app

梦想的初衷 提交于 2020-01-05 04:33:27
问题 I wrote a simple wix installer with gui, which installs well. But when I run the same .msi file a second time, it takes me through the normal installation process in the gui, but uninstalls my app at the end. Then if I run this same .msi file a third time, the installer still does through the installation gui normally, but ends up doing "uninstallation". I don't understand why it doesn't behave like every other installer and handle installation and uninstallation gracefully. here is part of

How to avoid uninstalling previously installed ExePackage (redistributables) while installing a WiX Bundle?

ぃ、小莉子 提交于 2020-01-05 04:16:09
问题 I have a Bundle that installs and uninstalls VC 2012 redist. Its working fine if there was no VC 2012 redist installed previously. if there is a VC 2012 redist already installed, then while uninstalling my bundle, it uninstalls the VC 2012 redist as well. All I want is that it must not uninstall the VC 2012 redist if it was previously installed. I was trying to use the variable element with persisted attribute set to "yes". But I am not sure how it works. any pointers to this is greatly

Programmatically build WXS into MSI

别等时光非礼了梦想. 提交于 2020-01-05 01:31:43
问题 I will try to make this as clear as I can, but if you have questions or don't completely understand let me know. I have a program that creates a WXS (WiX source code file) from scratch, and tests it to make sure it is valid. I would like the next automatic step to be the actual building of the WXS using Visual Studio (I am working with VS 2008 Developers Edition/Team Suite Edition). I know that a WiX project (with WXS included in it) can be build from within VS, and the WiX comes with command

Wix: Install MSMQ component

大憨熊 提交于 2020-01-04 14:05:24
问题 I have a .NET project which has 2 components which communicate over MSMQ. I'm building my installer using Wix because Microsoft has inexplicably ceased support for installers in Visual Studio 2012. I'm quite happy with the process of creating an instance of MSMQ in a Wix Installer, and I'm quite happy with the process of detecting whether MSMQ is installed on the computer (by trying to load Mqrt.dll). Does anyone know how to use Wix to install the MSMQ Windows System component itself? Is

How to downgrade application with WIX Bundle?

为君一笑 提交于 2020-01-04 14:02:07
问题 I created a WIX Burn setup. The Bundle chained multiple .MSI files for global installation (all MSI support downgrading). <Bundle Name="APP 4.3.0" Version="4.3.0" Manufacturer="Manu" UpgradeCode="$(var.UpgradeCode)"> <Chain> <PackageGroupRef Id="VCppRedistPackage"/> <PackageGroupRef Id="DotNet4Package"/> <MsiPackage Id="CrystalReportPackage" SourceFile="$(var.SolutionDir)_CommonFiles\CRRuntime_32bit_13_0_9.msi" DownloadUrl="http://MyAppRuntime/CrystalReport_NET40/CRRuntime_32bit_13_0_9.msi"

VS2012 and Wix 3.6 - Installing .Net 4.5 with my application

二次信任 提交于 2020-01-04 07:17:31
问题 I am very new to the installer world. I have successfully made an .msi for my application and it is building with short-cuts and also uninstalls correctly. My next goal is to package .Net 4.5 with the installer and have it be installed prior to the installation of my application. I also have a third party application that needs to be installed. It is packaged as an msi. From what I can gather I need to develop a Bootstraper solution to have these applications install in sequence. Can anyone

Schedule reboot from WiX deferred custom action

不想你离开。 提交于 2020-01-04 06:24:50
问题 I've got a WiX deferred custom action that conditionally modifies some registry keys. For the changes to take effect, a reboot is required. I'd like the user to get the standard dialog box that prompts them to reboot after the installation completes. How can I schedule a reboot from a deferred custom action? 回答1: Why do you have a custom action doing something that MSI/WiX knows how to do natively? A cleaner approach would be to have registry values associated with a component that has the

Schedule reboot from WiX deferred custom action

隐身守侯 提交于 2020-01-04 06:24:08
问题 I've got a WiX deferred custom action that conditionally modifies some registry keys. For the changes to take effect, a reboot is required. I'd like the user to get the standard dialog box that prompts them to reboot after the installation completes. How can I schedule a reboot from a deferred custom action? 回答1: Why do you have a custom action doing something that MSI/WiX knows how to do natively? A cleaner approach would be to have registry values associated with a component that has the