wix3.6

Wix Load items into ComboBox

百般思念 提交于 2019-12-18 13:38:47
问题 I need to use custom action to load items into combobox. UI.wxs: <Control Id="Server" Type="ComboBox" X="30" Y="65" Width="200" Height="18" Property="DATABASE_SERVER"> <ComboBox Property="DATABASE_SERVER"> <ListItem Text="[DATABASE_SERVER]" Value="[DATABASE_SERVER]" /> </ComboBox> <Publish Property="LOGON_VALID" Value="0">1</Publish> </Control> Custom Action private static ActionResult EnumSqlServersIntoComboBox(Session session, IEnumerable<DataRow> rows) { try { Debugger.Break(); session.Log

Adding a new Custom Action to a project prevents an existing Custom Action from being run

不问归期 提交于 2019-12-18 09:17:11
问题 I have a Custom Action project that has various CA's used by installers that my company creates, a few of those are used to manipulate the IIs7 through the Microsoft.Web.Administration API. I added a new custom action called SetApplicationAutoStart the the class containing IIs related CA's. This custom action is used to set the autoStart attribute that forces the IIs to preload and start WCF services so that initial response time will be shorter. After adding this action an existing CA called

How do I reference the Reboot Pending Property in Burn (WiX)

China☆狼群 提交于 2019-12-18 05:01:31
问题 How do I reference the RebootPending property in a Burn (WiX) bootstrapper? I know the property name is RebootPending, which is actually referencing the MsiSystemRebootPending property in Windows Installer. I'm currently trying something like this: <bal:Condition Message="There is a restart pending. Please restart your computer before attempting to install !(loc.ProductName).">RebootPending = 0</bal:Condition> But it's always true, even when Windows Update has just finished an update and

WiX: Avoid showing files-in-use dialog and just prompt for reboot at end of install

瘦欲@ 提交于 2019-12-18 04:54:28
问题 I am using <MajorUpgrade> in WiX 3.6 to force an uninstall of the previous version of my application when installing a newer version. My application installs an extension DLL file into Windows Explorer, so on uninstall the Files In Use lists Explorer and defaults to shutting down the listed application. This does kill Windows Explorer as my shell goes away (which is somewhat jarring for the user), however I still get an error saying that not all applications could be shutdown and states a

Unpack WIX Burn bundle

两盒软妹~` 提交于 2019-12-18 04:15:34
问题 Is it possible to somehow unpack a bundle? I need to make sure all packages within a bundle are signed correctly... TIA 回答1: Dark.exe decompiles bundles; use -x to extract the bits. 回答2: Run the installer with the argument -layout and it should download or extract (as appropriate) the packages that it contains to the directory the installer is in. You can specify a target directory as a second argument if you wish. This was tested with a bundle created with version 3.6.2520.0 . It is known to

Specify the INSTALLLOCATION of packages in WiX inside the Burn managed bootstrapper

大兔子大兔子 提交于 2019-12-17 18:42:07
问题 I have a WiX 3.6 bundle (using Burn) and managed bootstrapper that install several MSI packages. Some of the packages install to a common location ( C:\program files\MyApp ). I want to let the user choose the install location inside the managed bootstrapper application (C# WPF, especially because the application is large to install; about 1 GB). How can I specify the INSTALLLOCATION for each MSI packages inside my bundle? 回答1: Use an MsiProperty child for each MsiPackage to specify

WIX database deployment, installation

无人久伴 提交于 2019-12-17 17:27:24
问题 During my setup I give an option to use "windows authentication" OR "server authetication". Everything works fine and db gets installed as long as I do "server authentication" and provide db userId and password. What do I need to do in order install db using "windows authentication" (in wix)? thanks My product.wxs file: <Product Id="*" Name="MySetup2" Language="1033" Version="1.0.0.0" Manufacturer="Hewlett-Packard Company" UpgradeCode="bf1da750-c2fe-4026-9d2b-9d291a61a8b5"> <Package

WiX Heat tool, create Component with Win64 attribute

你说的曾经没有我的故事 提交于 2019-12-14 01:46:55
问题 Is there a way to generate file using heat tool which will have Win64 attribute in Component sections? The problem is, in my 64-bit installer most of the files are 32-bit components, which must be marked as Win64="no" in Component entries. I use heat tool to generate them, so additional manual step is since required, and this brokes our automated build. UPDATE : The short answer is "no" (which is marked as answer), I suppose I will just go with some additinal tool which will do the job. 回答1:

WiX - Trying to set the permissions of a service using util:PermissionEx and getting an Error 1

懵懂的女人 提交于 2019-12-13 12:53:23
问题 The question WiX - Install Windows Service and give permissions is exactly what I am trying to do. First I have added the UtilExtension namespace like this: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> Then I have added the following to the ServiceInstall element: <util:PermissionEx User="Authenticated Users" GenericAll="yes" ServiceChangeConfig="yes" ServiceEnumerateDependents="yes" ChangePermission="yes"

Patch (minor upgrade) creation issues with MSM (merge modules)

百般思念 提交于 2019-12-13 05:12:51
问题 I am facing issues with patches (minor upgrade) installation (updates) with MSM (merge modules). I am creating MSI (test.msi) with texst.wxs. And inside text.wxs referring to app.msm file (there is a folder app, which contains so many folders and files. And harvesting this folder and making app.msm file) Below are steps for making app.msm file. heat dir "app" -gg -sfrag -template:module -srd -ke -var var.source -out app.wxs candle -dsource=app app.wxs light app.wixobj Below is snippet of test