burn

Communication with WiX Burn bootstrapper using embedded pipe

拜拜、爱过 提交于 2019-12-07 17:18:28
I'm working on a application, which works on top of WiX bundle, and communicates via embedded pipe (by utilizing ManagedBundleRunner) and receives progress and error updates. Currently I use the standard WiX bootstrapper. However, I will be creating custom managed bootstrapper to implement custom behavior. Part of this new behavior is a bidirectional communication of my application with the bootstrapper. After exploring WiX source (especially Burn engine), I've come up with two approaches: 1) create pipe inside managed bootstrapper and communicate with the application using custom protocol 2)

WiX Burn: Reading LaunchTarget from Registry

半城伤御伤魂 提交于 2019-12-07 16:14:22
问题 I'm new with WiX, and I'm trying to have my Bootstrapper launch my installed application when it completes. To accomplish this, I'm using <Variable Name="LaunchTarget" Value="path_to_exe"/> However, it is not easy for me to get the path to the executable. The reason for this is because I'm using <Chain> to install some pre-requisites and then an msi that actually installs my exe. So to do this, the msi is writting the path to a known location in the registry, and then the bootstrapper reads

How to find GUID of Wix Burn executable for programmatically uninstall?

那年仲夏 提交于 2019-12-07 12:18:12
问题 I've created wix bootstrapper project. While installing it creates registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{SOME_GUID} So I can uninstall it using ARP.But I'd like to uninstall it programmatically.To do this I need the value of {SOME_GUID} to search the key in registry for UninstallString value. However it's impossible to get this information from my project, because Bundle element does not have attributes to set this GUID. I found out that this

WiX ManagedBootstrapper SetDownloadSource confusion

冷暖自知 提交于 2019-12-06 16:25:04
I am a bit confused by the method Engine.SetDownloadSource(). What I am trying to do is change the download URL for the bundled packages from an external website to an internal one. (If there is an easier way to do this, I am open to other suggestions). Now for the problem. When calling this method it is asking for a user and password. I am not sure where I should get this info from. string downloadSource = Path.Combine(WebSitePath(), "WebSetup/WebSetupData/", Path.GetFileName(args.DownloadSource)); Engine.SetDownloadSource(args.PackageOrContainerId, args.PayloadId, downloadSource, user,

Downgrade File in MajorUpgrade

≯℡__Kan透↙ 提交于 2019-12-06 10:03:51
EDIT Please see the small repro at the bottom. I have the same issue as here: Windows installer deletes versioned file during product upgrade, instead of downgrading it File Table |File | Component_ | FileName | FileSize | Version| -----------|-------------------------------------------------------------------------------------------------------------------------------------------- old MSI |fileEcMWtDjRdBXxvVHY.WvW_XXJI4GZcq5iAszC_F3KIwk | Cj9pc73bMjDSVVGUqS81_nPSltSFuUEweshtzct2AHi4 | bftlang.dll | 118784 | 2004.553.4453.1067 new MSI |fileYXlC3cFPRwh6qrJ5u..Ll052XUiMylAmA6a4BwMlz_o |

WiX Burn Bootstrapper Localization

♀尐吖头ヾ 提交于 2019-12-06 05:46:58
问题 I have a custom burn bootstrapper application with localization in german (BurnUI_de-DE.wxl) and english (BURNUI_en-US.wxl). At present burn automatically starts in english. I don't know how to change the UI language at run time. The UI parts are designed in MVVM pattern and have a language selection drop down. I have a variable to detect the systemlanguageID like this <Variable Name="INSTALL_LANG" bal:Overridable="yes" Type="string" Value=[SystemLanguageID]"/> Everything is in place. Now,

How to modify the installed features of msi with wix bootstrapper?

白昼怎懂夜的黑 提交于 2019-12-06 04:13:13
问题 I am trying to call a msi inside wix bootstrapper program.It is working properly at the time of installation.And selected features are installed properly.But after installation i am trying to modify the installed features.In the control panel there is change button.But when i click it then it is showing a dialog with Repair, uninstall, cancel buttons.There is no modify button for modifying the features of installer. Please specify the solution if any. code inside Bootstrappertheme.wxl is <!--

How can I upgrade installer WIX bootstrapper bundle via MSI and vice-versa?

会有一股神秘感。 提交于 2019-12-06 02:03:45
问题 The situation: I have a WIX-based bootstrapper installer, which installs my msi package and (some) prerequisites (.NET). The installer is .exe and it works ok. Now, some clients want to install msi, especially in corporate environments where they can push it centrally. It looks easy, just give them the msi. Again, It works ok. Now, the problematic part. When the application is installed from MSI, and later upgraded to newer version from .exe installer, there will be two ARP entries. And vice

Wix: Managed BA command line not effective

蹲街弑〆低调 提交于 2019-12-06 00:37:25
While playing with TestBA Bootstrapper from Bryan , first I installed 1.0.0.0. Then I incremented version to 1.0.0.1 and logged the process. Here is the part where -uninstall -quite command line was passed during upgrade: [2870:21C0][2014-02-24T17:46:38]i300: Apply begin [1A44:1E54][2014-02-24T17:46:41]i360: Creating a system restore point. [1A44:1E54][2014-02-24T17:47:15]i361: Created a system restore point. [1A44:1E54][2014-02-24T17:47:15]i000: Caching bundle from: 'C:\Users\fwaheed\AppData\Local\Temp\{57a07296-0310-4628-971c-2da38aa09f25}\.be\BootstrapperSetup.exe' to: 'C:\ProgramData

Bootstrapper Application UI - How To move between pages

孤者浪人 提交于 2019-12-05 21:19:50
I am writing a Bootstrapper Application and want to create the UI for it using the WixStandardBootstrapperApplication. I want the UI such that on the first page(Install page), I see the standard EULA and a checkbox which says I accept and a button to proceed on the next page (Options page) which should get enabled only after I select the checkbox. On the next page, I list some text and want to have another checkbox, which kind of again says I accept and a button to Install which gets enabled only after I select the checkbox. <Page Name="Install"> <Text X="154" Y="12" Width="-65" Height="21"