Adventures in Installing a C#/WPF Application (WiX)

后端 未结 1 1090
难免孤独
难免孤独 2021-01-23 10:29

I\'ve got a C#/WPF application that is one step up from simple - it\'s got the main application, a couple of libraries, and then some NuGet packages. If I look in the project\'

1条回答
  •  星月不相逢
    2021-01-23 10:57

    WiX can basically do anything, but it is fiddly. Quick list of MSI tools.


    In Medias Res: Maybe try to check this answer first - trying to avoid adding the same code all over the place - dual source and all that.


    1. Hello WiX: Check this good, but aging "Hello WiX - CodeProject article" - understand the basics
    2. Simple Sample: Download this sample:
      • https://github.com/glytzhkof/all/blob/master/VBScriptWriteToLog.zip
      • Just click the "Download" button, unzip, open and compile
      • More here, just look for zips.
    3. Link Collection: Check the "Hello World & Hello WiX" section here: WiX / Deployment link collection
      • Click-by-click insufferable, but useful WiX Votive demo
      • Scroll down and read inline source comments first?
    4. Real-World Advanced: Check this "real-world" advanced sample: https://helgeklein.com/blog/2014/09/real-world-example-wix-msi-application-installer/
    5. Visual Studio: Votive step-by-step.

    Links:

    • WiX Samples: https://github.com/rstropek/Samples/tree/master/WiXSamples
    • Aging, but great WiX blog articles: https://docs.microsoft.com/nb-no/archive/blogs/alexshev/from-msi-to-wix
    • Cross reference

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