Write a WPF Wix Installer

前端 未结 2 445
半阙折子戏
半阙折子戏 2020-12-13 07:35

I have written an installer using WIX for a product, which uses:

  • custom extensions
  • custom actions
  • customized ui dialogs

etc.

相关标签:
2条回答
  • 2020-12-13 08:20

    https://marketplace.visualstudio.com/items?itemName=MarkusWehrle.Laika42WiXToolsetExtension

    this is an extension provided by Laika. download it embed an .msi in its bundle and execute the application , go through the code u will be able to understand everything about WPF Burn Bootstrapper

    • in bundle file -
      MsiPackage Id="abc" Compressed="yes" Visible="no" SourceFile="_Dependencies\abc.msi"

      ----> this will come under opening\closing a Tag like <...>, stackoverflow is not allowing to put the tag

    put the msi in application folder where Bin folder resides or create a _Dependencies(name it as u like) folder and put the msi there

    0 讨论(0)
  • 2020-12-13 08:25

    Download the WiX latest (weekly) release source code at http://wixtoolset.org/releases and look at the project located in src\Setup\WixBA. The WPF you write will be the bootstrapper UI which references the WiX bootstrapper engine (Burn).

    I also created a minimal example that I blogged about here. Please note that it is a bare bones example to get someone started. Using the WiX source as an example is better because it's complete and robust.

    0 讨论(0)
提交回复
热议问题