wix

Initiate / call bootstrapper in WiX

邮差的信 提交于 2020-01-15 09:38:25
问题 I have created a bootstrpper using the dotNetInstaller tool. The created bootstrapper internally has these installers: .NET Framework 4.0 SQL Server Express Now through WiX, what are the steps that I need to follow to invoke the above Bootstrapper from WiX? 回答1: You should not invoke a bootstrapper from WiX - that has no sense. The idea behind the bootstrapper is to "bootstrap" the prerequisites of the installation (.NET and SQL Express in your case) and the main installation package. The

WIX: When upgrading, what to do when there are 2 different UpgradeCodes?

二次信任 提交于 2020-01-15 07:47:51
问题 After getting a good answer here: WIX: How can I uninstall a previous MSI built using a VS *.vdproj, now i'm facing a different issue in the field. I have 2 versions out there, with 2 different UpgradeCodes. That happened because we already deployed one version of the new WIX w/out syncing the UpgradeCode with the old MSI. Syncing the new Wix installer with one of the codes, upgrade goes smoothly. Am I hosed on the second one? I tried to just uninstall the extra one from Add/Remove and that

Merging two msi using wix toolset

久未见 提交于 2020-01-15 03:50:26
问题 How to merge two msi using wixedit, presently they are having 4.0 version of wixtoolset. In the documentation they have mentioned that merging two msi in windows is possible using bundles and chain tags. But whenver I try to do it, it always show some error. Please let me know any example of wix tool set to merge two msi using bundle and chain tags. I am following Bootstrapper method as provided in pdf of wix 3.6. To bundle two msi using chain element. 回答1: <?xml version="1.0" encoding="utf-8

Wix Bootstrapper Won't Run When Using ThemeFile

二次信任 提交于 2020-01-15 03:33:13
问题 I have created a wix bootstrapper that runs fine on all computers when no theme file is used. If I use a theme file, it will run on my computer but not on anyone else's. <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" > <bal:WixStandardBootstrapperApplication LicenseFile="C:\eula.rtf" ThemeFile="C:\myTheme.xml" /> </BootstrapperApplicationRef> 回答1: First, look at the bundle log file on the other machines to see the error. Likely the message will indicate there

Wix - Use WixVariables on .wixproj

丶灬走出姿态 提交于 2020-01-15 01:52:52
问题 i'm on Visual Studio 2012 and i use wix I wanted to use a WixVariables or a DefineConstants on Target After build (wixproj) when i unload the project i used on <DefineConstants>VersionNodeServer=0.0.1;</DefineConstants> Or <WixVariables>VersionNodeServer=0.0.1;</WixVariables> but when i used this variable 'VersionNodeServer' like that <Target Name="AfterBuild"> <WebDownload FileName="test.msm" FileUri="$(VersionNodeServer)"/> the build failed because FileUri is empty. i saw my variable on the

Where do I find Microsoft.Tools.WindowsInstallerXml.dll?

Deadly 提交于 2020-01-14 19:18:04
问题 I am trying to write an extension for Wix by subclassing CompilerExtension but I can't locate the dll to reference the Microsoft.Tools.WindowsInstallerXml namespace. I searched on the web with no luck. Any ideas where this can be found? Mark 回答1: The type Microsoft.Tools.WindowsInstallerXml.CompilerExtension is in the assembly wix.dll (there is no assembly/DLL named Microsoft.Tools.WindowsInstallerXml.dll ). The assembly is located in <wixinstalldir>\bin (e.g. C:\Program Files (x86)\WiX

WiX EmbeddedChainer Examples?

半腔热情 提交于 2020-01-14 11:29:52
问题 With Windows Installer 4.5, there was a new table added for MsiEmbeddedChainer Table. This table was supposed to allow multiple-package installation. WiX added support for the table by creating the EmbeddedChainer element. I've read the wiki, but are there any examples on how to use the element? I'm attempting to install a JRE before my program. 回答1: Embedded chainers only work after the installer that contained them is installed, and can only install raw .msi files (.msi files with their own

WiX EmbeddedChainer Examples?

主宰稳场 提交于 2020-01-14 11:27:07
问题 With Windows Installer 4.5, there was a new table added for MsiEmbeddedChainer Table. This table was supposed to allow multiple-package installation. WiX added support for the table by creating the EmbeddedChainer element. I've read the wiki, but are there any examples on how to use the element? I'm attempting to install a JRE before my program. 回答1: Embedded chainers only work after the installer that contained them is installed, and can only install raw .msi files (.msi files with their own

Call command line after installation in Wix

喜夏-厌秋 提交于 2020-01-14 10:42:43
问题 I am using wix and want to call command line after installation. How can I do this? My command line is here "bcdedit.exe /set {current} nx AlwaysOff" // this makes dep off Yes, I've read about custom actions, but I didn't see any example with command line. P.S. bcdedit is usual exe in Win 7 and higher. P.S. currently I have next script and it does not work: Directory ="INSTALLLOCATION" ExeCommand ='echo hello> echo_test.txt' Execute ="immediate" Return ="asyncNoWait" /> 回答1: echo is not an

why two shortcuts after Major upgrade (migration)?

末鹿安然 提交于 2020-01-14 09:42:10
问题 We are using WiX for our windows installation. We were supporting major upgrade without any issues until recently. I was asked to change the shortcut name as we changed our product name. So i changed it. After a major upgrade, 2 shortcuts are being displayed instead of one. The beauty is while we are installing all the feature migrated in same machine ,it deleted the old shortcut properly it seems. But when we are installing one of the features (webserver feature ) in (webserver) machine, 2