wix3

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

Wix upgrade: preselect features

こ雲淡風輕ζ 提交于 2019-12-10 11:17:58
问题 we're using Wix to create our installers. We're using the UI where one can select the features that need to be installed. Some features are enabled by default and others are disabled. However, these defaults are retained when we run an upgrade. We would like the installer to remember what features were installed and enable them in the Feature Tree for upgrading. All other features should be disabled. We had this code, which seemed to work, but actually, it didn't: <Feature Id="MainFeature"

WiX patching not updating files correctly

微笑、不失礼 提交于 2019-12-10 05:21:03
问题 My "admin-image" style WiX test patches are failing to update the existing installation correctly. When using msiexec /lx, I get the following information related to patching "fi_executable.exe": MSI (s) (88:E0) [12:32:41:716]: Baseline: Patch {E244BAC8-7E62-4406-889B-4B67A4EA7369} modified fi_executable.exe with full-file update. MSI (s) (88:E0) [12:32:41:716]: Baseline: First patch for fi_executable.exe, saving native info. MSI (s) (88:E0) [12:32:41:716]: Baseline: fi_executable.exe version

Harvesting a .csproj with heat.exe in Visual Studio 2008 and WiX(v3)

帅比萌擦擦* 提交于 2019-12-10 03:41:43
问题 I found that Wix v3 uses a tool (heat.exe) to "harvest" information into WiX fragments. Either I am looking in the wrong location, or this is thinly documented. What is the best way to auto-generate a WiX fragment (likely using heat.exe) for a complex folder structure that contains media files: Of varying types (ico/png/xaml/etc) That may change regularly (names/locations/adds/removes) That are classified as "Content" and included in a .csproj such that they can be built into an installer via

How to check for installed package in WiX 3.0?

牧云@^-^@ 提交于 2019-12-09 13:15:24
问题 I'd like to check that Crystal Reports Basic for Visual Studio 2008 is installed as a condition for my own installation package. I found this in the bootstrapper description for this product (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\product.xml) : <InstallChecks> <MsiProductCheck Property="CRVSInstalled" Product="{AA467959-A1D6-4F45-90CD-11DC57733F32}"/> <MsiProductCheck Property="CRVSRunTimex86Installed" Product="{CE26F10F-C80F-4377-908B

Add a folder to installer in wix not files?

旧时模样 提交于 2019-12-09 13:05:34
问题 My installer has to copy files into installdir... My application has around 2000 files and it is not possible for me to write the script to add each and every file to the installer. Is there any option in wix so that I can add all the files or the entire folder consisting the files at once? I am new to wix and i didnt find any option in any tutorial for this... Please do assist me and thanks in advance..... 回答1: Heat is the WiX harvest tool. You can run it on a directory to generate the

WIX and Certificates in IIS

戏子无情 提交于 2019-12-08 02:55:53
问题 I am trying to setup my install to have my site configured with its certificate using WIX. I can view the certificate in IIS and have access to the .cer file. That is about all I know about certificates, so please dumb down any answers. (ie I have no idea what my "BinaryKey" is). The certificate is already installed on the machine. Ideally I would like to just have a way in wix to configure which installed certificate to use. If anyone knows how to do that please post it here! If that can't

WIX ServiceInstall - setting the service to run under the NetworkService account

吃可爱长大的小学妹 提交于 2019-12-07 09:16:27
问题 I am trying to create a WIX installer to install my windows service to run under the NetworkService account and getting an Insufficient Priviledges error during the installation. I found this post where someone seems to be experiencing the same problem but no real solution was offered: http://n2.nabble.com/Re-WiX-users-Digest-Vol-40-Issue-129-td3782055.html I'm sure someone must have acheived this previously and wondered if they'd be kind enough to share a code snippet? 回答1: NOTE: The answer

Wix RegistryKey Permission

匆匆过客 提交于 2019-12-06 12:47:57
问题 I am attempting to install a registry key that should only be accessible by certain users. Every other part of the installer works (it installs a service and registers a component). Here is the fragment. <Component Id="cmpXXX" Guid="{YYY}"> <RegistryKey Root="HKLM" Key="Software\ZZZ" Action="createAndRemoveOnUninstall"> <RegistryKey Key="Machine" Action="createAndRemoveOnUninstall"> <Permission User="Administrators" GenericAll="yes" /> <RegistryValue Type="string" Name="ID" Value="SecretID" /

WIX and Certificates in IIS

旧街凉风 提交于 2019-12-06 10:43:43
I am trying to setup my install to have my site configured with its certificate using WIX. I can view the certificate in IIS and have access to the .cer file. That is about all I know about certificates, so please dumb down any answers. (ie I have no idea what my "BinaryKey" is). The certificate is already installed on the machine. Ideally I would like to just have a way in wix to configure which installed certificate to use. If anyone knows how to do that please post it here! If that can't be done, then I would love a good example of how to install (and maybe uninstall) a certificate. Thanks