wix3.5

How to customize dialog window icon using WIX?

此生再无相见时 提交于 2019-12-01 20:18:51
问题 Is it possible to change standard icon (small icon, wich is displayed on the left from title of setup dialog window)? There was used WIX 3.5 for setup's dialogs creation. 回答1: No, Windows Installer doesn't support changing the window icon. 来源: https://stackoverflow.com/questions/6680527/how-to-customize-dialog-window-icon-using-wix

Display files in a directory list control

两盒软妹~` 提交于 2019-12-01 12:29:29
问题 Is there a way for user to select a specific file using BrowseDlg? All i can find is that you can select only a folder!! I believe File selection is one of the "common" functionality in use. Can anyone provide some suggestion on how this can be achieved. Thanks! Update I am thinking of creating a C# custom aciton for this, as all other CA in project are in C#. But I am not sure about few things.... How can I sequence this CA dialog with my exsiting UI sequence. How to trigger a CA on a button

how to change from per user to all user installation?

送分小仙女□ 提交于 2019-12-01 08:53:21
问题 For our msi , we did not mention allusers property in existing releases. so by default it went as per user. Our customers installed the application using an admin user id and that admin left the company. So his user id is no more in valid condition. Now they are unable to migrate to newer version using another admin account (as it was installed as per user). Though we can change our msi to support allusers ,it would not work in migration (major upgrade). It seems like only when we give total

How to manage files with same name in Wix?

自闭症网瘾萝莉.ら 提交于 2019-12-01 05:58:33
I have some dll compiled either in .Net3.5 or in .Net4.0. (They have the same name) In wix, I have 2 conditionals features. Feature A installs .net3.5 dll of my app with ComponentRef Id="Cmp35" Feature B installs .net4.0 dll with ComponentRef Id="Cmp40" Features are mutually exclusives, only one feature is installed. my components: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Component Id="Cmp35" Guid=".."> <File Id="Behaviors.Assembly" Name="$(var.Behaviors.v3.5.gen.TargetFileName)" Source="$(var

Wix: show custom dialog if previous version found

烂漫一生 提交于 2019-12-01 04:28:27
问题 I want to customize my installer to show custom dialog when previous version is already installed: after Welcome dialog user should see a custom dialog OldVersionDlg with information that previous version was found and will be uninstalled automatically. But for some reason property set by UpgradeVersion element always null when I check it in condition in UI/Publish Dialog . Here are essential code snippets. Product.wxs : <Product Id="*" Version="$(var.Version)" UpgradeCode="$(var.ProductId)"

Harvesting multiple directories in WiX

假如想象 提交于 2019-12-01 03:32:41
问题 I'm trying to build an installer that includes a number of features and I'm using heat to harvest a directory of files for each feature. My source directory structure looks something like this: HarvestDir \FeatureA \FeatureImpl.dll \FeatureImpl2.dll \FeatureB \FeatureImpl.dll \FeatureImpl2.dll So I execute heat.exe for each feature to create a fragment for each feature but I get basically identical fragments e.g. [...] Source="SourceDir\FeatureImpl.dll" [...] Source="SourceDir\FeatureImpl2

WiX CustomAction ExeCommand failing?

冷暖自知 提交于 2019-11-30 22:36:28
I have a command line I want to run during the install of a merge module (created by WiX ) with the below code. <CustomAction Id='SetWebsiteProtocols' Execute='commit' Return='ignore' Impersonate="yes" FileKey='Web.config' ExeCommand='c:\windows\system32\inetsrv\appcmd.exe set app "Default Web Site/My Website" /enabledProtocols:http,net.tcp,net.pipe' /> <InstallExecuteSequence> <Custom Action="SetWebsiteProtocols" After="InstallFiles"/> </InstallExecuteSequence> When I run the command on the command line (hard coded at the moment) it works fine. However, when run during an install, it fails.

How to include fragments in Wix?

余生长醉 提交于 2019-11-30 17:37:45
I have created a wixlib to share fragments in some wix projects. I can reference fragments which have Property in my main wix file with a PropertyRef, but how can I reference fragments where I want a bulk copy of its content?? For example I have a fragment which tests if .net framework is installed and I want to include that fragment in my main wix file in the project tag... Here's the fragment located in my wixlib that I want to include in several wix project: <Fragment Id="fm35"> <PropertyRef Id="NETFRAMEWORK35" /> <Condition Message="framework 3.5 is not installed"> <![CDATA[Installed OR

WIX Custom Actions built for .Net Framework 4.0 does not work? Ways to resolve?

给你一囗甜甜゛ 提交于 2019-11-30 17:28:25
We were using WIX 3.5 (Build Number 1811) and built a custom action built using Visual Studio 2008 and with target framework as .Net 3.5. This used to work great, until we built the custom action using Visual Studio 2010 and with target framework as .Net 4.0. WIX is unable to invoke the custom action, the error that we get is this: SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI69BD.tmp-\ SFXCA: Binding to CLR version v2.0.50727 Calling custom action SomeCompany.SomeProduct.InstallerPlugin!SomeCompany.SomeProduct.InstallerPlugin.XYZProductCustomAction.ABCMethod

How can I exclude files from being harvested with heat (WiX 3.5)?

谁说我不能喝 提交于 2019-11-30 16:54:32
I would like to harvest a folder with a lot of files by using heat.exe. But instead of harvesting all files, I would like to exclude specific file extensions like "*.txt" or something like that. How can I do this? I think the only option for now is to harvest the entire folder and apply a transform to the resulting .wxs file (see -t:<xsl> switch) to exclude what is not required (txt files in your case). However, I didn't try the 3.5 version of heat (judging based on the 3.0), but I don't think there are changes in this area. I'm not a huge proponent of this pattern. How do you ensure change