wix

WIX run vcredist_x64.exe on install

梦想与她 提交于 2021-01-29 07:07:37
问题 I have an application compiled in VS 2015 and requires the VC++ Redistributable package in order to run properly. Prior to this latest build, we were using an older version of VS and simply used a merge module to handle the installation of the appropriate redist files. However, I noticed that when using the latest version of the merge modules for 2015 (Microsoft_VC140_CRT_x64.msm) that my application still wouldn't work out of the box. I did some digging and it appears that some things have

How to get Installshield SplashBitmap image for wix?

≯℡__Kan透↙ 提交于 2021-01-29 02:39:22
问题 I need InstallShield msi background image to use in wix. I have extracted msi via 7zip but I couldn't find background image. Can anyone help me to find it? 回答1: Copyright : Not sure about the copyright issues involved, I definitely would use my own images, but if you just want to get the images for the size parameters and then modify the content, then maybe just use dark.exe to decompile the MSI to its constituent parts. See link below for WiX's own, default images on github.com. Dark.exe :

Really struggling to get how WiX works

孤街浪徒 提交于 2021-01-28 21:36:30
问题 I am working on a WPF project. I have created a Wix project which runs along with the main project and has a program.cs component as well as the XML file. Although I can see it creates the installer upon re-building the project, what is not clear to me is that why don't I have the actual WPF project inside it or as part of it. So really I don't install anything when I run it. Simply a shell program.cs file which is part of the Wix project. I don't get the actual project at all. So how do I

Undefined preprocessor variable '$(var.WixInstall.TargetPath)'. WixInstaller D:work\Extractor\WixInstaller\Product.wxs

和自甴很熟 提交于 2021-01-28 12:27:30
问题 I'm facing the following error while create windows installer using wix. Undefined preprocessor variable '$(var.WixInstall.TargetPath)'. WixInstaller D:\work\Extractor\WixInstaller\Product.wxs Please Note: I have tried the following answers but no gain [Wix 'undefined preprocessor variable' , [WiX undefined preprocessor variable , [WiX - Undefined preprocessor variable '$(var.SetupProject1.TargetDir)' Product.wxs code <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name

wix: upgrade didn't remove the earlier product from ARP

南笙酒味 提交于 2021-01-28 11:45:39
问题 Using Wix 3.5, my initial MSI package (MyProduct v1.0) contained quite a few features, e.g. MS Word 95/XP/2003/2007/2010, MS Excel 95/XP/2003/2007/2010, MS PowerPoint 95/XP/2003/2007/2010. Their feature level was initially set to 0 but set to 1 if the specific app existed (using AppSearch). In other words, if MS Office 2003 was installed, only Word 2003, Excel 2003 and PowerPoint 2003 features had level=1, and the rest remained as 0. Recently I made the upgrade MSI package (MyProduct v2.0)

wix: upgrade didn't remove the earlier product from ARP

匆匆过客 提交于 2021-01-28 11:40:52
问题 Using Wix 3.5, my initial MSI package (MyProduct v1.0) contained quite a few features, e.g. MS Word 95/XP/2003/2007/2010, MS Excel 95/XP/2003/2007/2010, MS PowerPoint 95/XP/2003/2007/2010. Their feature level was initially set to 0 but set to 1 if the specific app existed (using AppSearch). In other words, if MS Office 2003 was installed, only Word 2003, Excel 2003 and PowerPoint 2003 features had level=1, and the rest remained as 0. Recently I made the upgrade MSI package (MyProduct v2.0)

Wix installer failing on Windows Server 2012 R2

假装没事ソ 提交于 2021-01-28 08:58:03
问题 I have an installer for a windows service which works as expected on Windows 10 but fails on Windows Server 2012. The installer code is this -> <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="IWErpnextPoll" Language="1033" Version="1.1.0" Manufacturer="IWW" UpgradeCode="ccc3c2fe-d20f-45ce-b978-4dc7c84ce6c8"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A

Batch file is not executing before application uninstalled using WiX

一笑奈何 提交于 2021-01-28 06:22:37
问题 My batch file that I'm trying to run when an Excel plugin needs to be uninstalled is not executing. I'm using the following custom actions to do post install and also on uninstalling the product. The following code: <CustomAction Id="registeraddin" ExeCommand="[INSTALLFOLDER]RegisterMilerAddIn.bat" Directory="INSTALLFOLDER" Impersonate="no" Execute="deferred" Return="asyncWait" /> <CustomAction Id="unregisteraddinpostinstall" ExeCommand="[INSTALLFOLDER]UnRegisterMilerAddIn.bat" Directory=

Wix: CustomAction to set Folder permissions

故事扮演 提交于 2021-01-28 06:22:12
问题 We're using WiX to bundle up our ASP.NET code into an MSI installer, and we need to set the [ComputerName]\IIS_WPG group to have modify permissions on a folder (named "CO") under the installation directory. The directory structure looks like this after install C:\inetpub\wwwroot\MyApp\CO The CO folder is actually part of the .NET solution file, and when the application is bundled into an MSI, the CO folder is included automatically because there are XML files underneath it which are marked as

Wix Toolset RegistrySearch Uninstall problem MSI INFO 1402 “Could not open key. Verify you have sufficient access to that key”

谁说我不能喝 提交于 2021-01-28 05:05:27
问题 I am having a big problem trying to uninstall an application that I have created an installer for using WiX Toolset v3.11 I am using the "remember property" pattern to store some properties in a registry key so they can be read back during the uninstall. I will provide an example, but note there are 5 in total. <Property Id="MyProperty" Value="DefaultValue"> <RegistrySearch Id="MyPropertyRegSearch" Root="HKLM" Key="Software\Company\Installer" Name="myproperty" Type="raw" /> </Property> then I