Wix4 Introduction

I need to learn some topics for my work. One of those topics is Wix4 Toolset.

In this article we understand

  • Why Wix?
  • What is Wix?
  • How to install Wix4 Toolset?

Why Wix

Wix is used for creating MSI packages.

As you know, MSI packages are reponsible for installing software into our Windows machine.

We already had Visual Studio Installer package.

But for some of our requirements I need to learn about it.

If you browse internet for Wix4 tutorials, there are very few.

So for my future purpose, I want to write what I have learnt from various place into my website.


What is Wix

Please see below πŸ‘‡πŸ» information about Wix4 Toolset.

Official Website: πŸš€ Wix Toolset

Description: Wix Toolset is a set of tools, developers use to create Windows Installation Experience.

Official Doc: πŸš€ Getting Started


How To Install Wix4

IDE: Visual Studio 2022 Community

Click above link to download πŸš€ Visual Studio 2022 Community

  • Open Visual Studio 2022 Community

  • In β€œHome” screen of Visual Studio, select β€œContinue without code” option as shown in below πŸ‘‡πŸ» image.

conitnue-without-code
Figure 1: Continue without code
  • This open Visual Studio without any project/solution as shown in below πŸ‘‡πŸ» image.
Visual Studio Without Solution
Figure 2: Visual Studio Without Solution
  • Select β€œView” ➑️ β€œTerminal” for opening Terminal as shown in below πŸ‘‡πŸ» image.
Open Terminal
Figure 3: Open Terminal
  • This will open β€œTerminal” window as shown in below πŸ‘‡πŸ» image.
Terminal Window
Figure 4: Terminal Window
  • Run below command to install β€œWix.exe” .Net tool.
dotnet tool install --global wix
  • Please see below image for installing β€œWix.exe”.
Install Wix Toolset
Figure 5: Install Wix Toolset
  • For checking if Wix is install or not, check Wix version by run following command.
wix --version
  • Please see below image for checking version of β€œWix.exe”.
Check Wix Version
Figure 6: Check Wix Version

That’s it!!!

In next article we will install β€œFree Heatwave Wix4 Extension”.

Hope this post helps you.

If you like the post then please share it with your friends also.

Do let me know by you like this post or not!

Till then, Happy learning!!!

Next Wix4 Visual Studio Extension