wix-extension

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

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 replace dialog

孤街醉人 提交于 2019-12-14 01:29:06
问题 How may I replace one standard dialog, e.g MaintenanceTypeDlg? I have a reference to UIExtension.dll and when I add MaintenanceTypeDlg.wxs to my project, I get an error about duplication of dialogs. Can I replace a single standard dialog without removing the reference and adding all needed .wxs files? 来源: https://stackoverflow.com/questions/5432526/wix-replace-dialog

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"

Wix Installer start menu shortcut not appearing

感情迁移 提交于 2019-12-13 11:48:37
问题 I am trying to create an installer project for a windows application using WiX v3.7 (as VS2012 does not include setup and deployment projects any more) for learning purposes. Wix toolset is entegrated to VS and I am creating a new WiX single installer setup project. The installer is always compiled succesfully (except for warnings in icon extension), it runs perfect and places desktop shortcuts as they should be, but fails to put proper start menu shortcuts on Windows 7 Professional x64

File missing after upgrade

99封情书 提交于 2019-12-11 11:16:42
问题 I have installation of version 1.1. I created upgrade with version 1.2. In both products I have 2 files: <Component Win64="yes" Id="cmpFILE1" Guid="*"> <File Id="filFILE1" KeyPath="yes" Source="$(var.BasePathCMP)\Performance.dll" /> </Component> <Component Win64="yes" Id="cmpFILE2" Guid="*"> <File Id="filFILE2" KeyPath="yes" Source="$(var.BasePathCMP)\LockLib.dll" /> </Component> During the upgrade LockLib.dll is removed and not being replaced. In clean installation of 1.2 it is present. What

building wix managed Custom Actions in .net 4.0

删除回忆录丶 提交于 2019-12-11 00:45:47
问题 We just recently upgraded all our code base to .net 4.0, and are trying to build custom actions in our installer using .net 4.0. We are using wix 3.5 to do that, I am getting BadImageException, saying its built using a newer version of .net runtime than currently loaded. does wix 3.5's makesxca utility support .net 4.0 ? 回答1: Have you tried changing the <supportedRuntime> version in the CustomAction.config to "v4.0"? I didn't try myself, it is just a guess. This article is referenced as the

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='

Conditional choose between two exit dialog when using WIX's InstallDir UI extension

◇◆丶佛笑我妖孽 提交于 2019-12-10 15:28:14
问题 I would like to have two different exit dialogs based on the version of the VersionMsi property in order to utilize the hyperlink control for the exit dialog. More information here. I'm using a customized version of WIX's InstallDir_UI extension for my install process. Since I would like to optionally support the hyperlink control if available, I have created two different dialogs: <Dialog Id="NonHyperlinkExit" Width="370" Height="270" Title="!(loc.ExitDialog_Title)"> <Control Id="Finish"

What is the difference between NetFx45WebLink and NetFx45RedistLink

白昼怎懂夜的黑 提交于 2019-12-10 13:43:11
问题 I used WiX 3.7 to write a bootstrapper which installs .net 4.5 first and then my application's MSI: <Chain> <PackageGroupRef Id="NetFx45Redist"/> <MsiPackage Id="MainAppPackage" After="NetFx45Redist" SourceFile="..\bin\Debug\MyApp.msi"/> </Chain> The WiX documentation says that NetFx45Redist is a standalone setup while the NetFx45Web is a web setup. After I built the bootstrapper with Id set to NetFx45Redist it had the same size compared to when I build it with NetFx45Web Id specified. I was