wix3.8

WiX - Allowing a *manual* uninstall of one msi to uninstall another msi that shares the same UpgradeCode (and not just during the MajorUpgrade)

回眸只為那壹抹淺笑 提交于 2019-12-24 23:43:45
问题 I have a bootstrapper (C# windows forms applications) that trigger two different msi files consecutively out of its resource. The instance transforms between the msi are 'paired' such that one instance transform from the first msi shares an UpgradeCode with one instance tranform from the second msi; these are the pairs that are installed together via the bootstrapper. The 'core' msi (the first msi that runs) includes the MajorUpgrade element such that when a higher-versioned 'core' msi is run

error CNDL0027 : The File/@Name attribute's value, 'apcsystray.exe', is not a valid 8.3-compliant name.

被刻印的时光 ゝ 提交于 2019-12-24 09:17:03
问题 When I am running the windows installer build using WIX 2.0 tool set i am getting the below error. error CNDL0027 : The File/@Name attribute's value, 'apcsystray.exe', is not a valid 8.3-compliant name. Legal names contain no more than 8 characters followed by an optional extension of no more than 3 characters. Any character except for the follow may be used: \ ? | > < : / * " + , ; = [ ] (space). I am suspecting that it is due to the old version because i am using windows 10 32 bit

How do you detect installed product versions at each startup?

浪子不回头ぞ 提交于 2019-12-20 05:26:05
问题 This problem, in fact, is to avoid a problem I will not solve When I install my product once and I use the MSI again, the unloading process is performed. However, this does not remove residual information from the registry, which must be cleaned Up using "Windows Installer Clean Up", and when reinstalled, a registry permission issue occurs. I saw the Checking for Oldies, However, it was found that FindRelatedProducts only performed on the first installation, that is, when I installed the MSI

Wix toolset: complete cleanup after “disallowing uninstallation of component since another client exists”

房东的猫 提交于 2019-12-19 00:41:13
问题 today I found out that my installer does not uninstall correctly anymore. Meaning my app is not shown in control panel anymore after uninstalling from there but all files are still present. I looked at the log files and I see a lot of "disallowing uninstallation of component since another client exists" which afaik means I screwed up.. So what is the best way to cleanup my pc and to prevent it from happening in the future? What could have caused this? afaik a not completely uninstalled

Simple WiX Custom Action in Custom UI Ends Prematurely with Windows 7

一个人想着一个人 提交于 2019-12-13 00:19:59
问题 My WiX installer UI is getting error while using the Custom Action. Interesting part is, the installer is working fine in Windows 10 but while launching it on Windows 7, installer is getting interrupted. From the installer logs, the error code is displayed 2896 . Googling further the error code, pointed me that it could be the mismatch of .net framework version. So I modified my CustomAction.config as follows : <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4

WiX installer Bundle Launch App after install

大兔子大兔子 提交于 2019-12-11 09:38:58
问题 I have one bundle that includes PackageGroupRef for NetFx45Web, one ExePackage for needed driver and MsiPackage for my app. I want to launch my app after whole installation process completes. I tried using <Property Id="WixShellExecTarget" Value="[#myEXE]" /> <CustomAction Id='LaunchFile' BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes"/> in my app MsiPackage but it starts the app before installation is complete(when MsiPackage completes). 回答1: Create a variable like this, in your

Wix 'undefined preprocessor variable'

♀尐吖头ヾ 提交于 2019-12-11 09:05:40
问题 I have seen questions like this, but they seem to not help me. I am playing with a test web application. I added this into my RStp.wixproj, I had a hard time, but it works, it generates the Frags.wxs: <Target Name="BeforeBuild"> <Exec Command=" "$(WiX)bin\heat.exe" project "..\WebR\WebR.csproj" -cg Portals.Vendor -gg -pog Binaries -pog Content –configuration "release" -platform "AnyCPU" –out "Frags.wxs" " /> <ItemGroup> <Compile Include="Frags.wxs" /> </ItemGroup> </Target> My Frags.wxs looks

Include Image in Managed Burn BootstrapperApplication

强颜欢笑 提交于 2019-12-11 02:36:02
问题 I'm working on an installer with wix using Burn and a custom bootstrapper application. Everything works fine, but i fail to include a simple image into my application UI. I include the Image into my UI like this: <Image Source="logo.jpg" Height="100" HorizontalAlignment="Center" Margin="0,0,0,20" VerticalAlignment="Center" Width="250"/> It shows normal in the designer. I reduced the interface to nothing but the image to exclude other possible errors. I also added the Image as a payload in the

How can I use an update condition to set variables in Wix?

偶尔善良 提交于 2019-12-11 02:02:29
问题 We are using Wix V3.11 to build an msi setup for our C#-Application. We have a 32 Bit and an 64 Bit build for each version: The preallocated installation path for the 32 Bit build is: 'C:\Program Files (x86)'. The preallocated installation path for the 64 Bit setup is: 'C:\Program Files'. We use the following declaration to set the paths: <?define bitness = $(var.Platform) ?> <?if $(var.Platform) = "x86" ?> <?define ProgramFilesPath = ProgramFilesFolder?> <?define Win64 = no?> <?else?> <

Wix - How to get user input from a previously installed msi?

a 夏天 提交于 2019-12-11 00:07:33
问题 I'm trying to do an installer using wix 3.8. I can use custom properties to store my own input, but I'd like to use values that where inputs on a previously installed msi. Is there a way to accomplish such thing?. 回答1: To get you in the right direction add this (of course adapt it to your needs first) in your fist MSI: <DirectoryRef Id="INSTALLDIR"> <Component Id="RegistryEntries" Guid="{0AC76129-F8E2-47D3-B9FD-09B1E10A8541}"> <RegistryKey Root="HKLM" Key="Software\Company123\App123" Action=