License-Free Installer Development: A Guide on Utilizing the WiX Toolset for Easy Setup Creation

License-Free Installer Development: A Guide on Utilizing the WiX Toolset for Easy Setup Creation

Donald Lv12

License-Free Installer Development: A Guide on Utilizing the WiX Toolset for Easy Setup Creation

Versus

Inno SetupInno SetupWiX ToolsetWiX ToolsetInstallShieldInstallShieldMSIX Packaging ToolMSIX Packaging Tool

icon subscribe mail

Check your inbox and confirm the
subscription

Exclusive NewsletterExclusive Newsletter

Exclusive NewsletterExclusive Newsletter

Get the latest WiX insights direct to your inbox. Subscribe now!

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

How to build an installer without a license page using WiX Toolset

Although it is not required, almost every WiX UI configuration has a License Agreement Dialog. In this article, we will go through how to use WiX Toolset to build an installer without a license page.

How to Build an Installer Without a License Page in WiX Toolset

The WiX UI Minimal dialog set will serve as a starting point for our project.

To get started, let’s add the WiX UI minimal dialog set.

1. Add a new reference for the WixUIExtension.dll file, that you can find in the bin directory of the WiX Toolset installation folder.

Add a new reference for the WixUIExtension.dll file

https://techidaily.com

2. Now that the WiX UI Extension is referenced, add this code to your project under the Product Tag:

1 1 1 1 1 1 1

Copy

As you can see, this code implements the WixUI_Minimal dialog set – we slightly modified it to remove the license agreement dialog. The major difference is that it uses WelcomeDlg instead of WelcomeEulaDlg.

From this point on, all we have to do is wire up the dialogs.

Coming up, let’s see how you can use Advanced Installer to build your installer without a license page – you won’t need any code!

Are you new to Advanced Installer? Get familiar with it through our 30-day full-feature trial .

https://techidaily.com

How to Use Advanced Installer to Build Your Installer without a license page

Yes, there’s an even simpler way to build your installer without a license page. Here’s how you can achieve that with the Advanced Installer GUI:

Advanced Installer doesn’t use the WelcomeEulaDlg by default**,** giving you the freedom to choose if your installer will include a License Agreement Dialog – you just need to add a LicenseAgreementDlg.

How can you add a License Agreement Dialog in Advanced Installer?

1. Go to the Dialogs page and press the Add Dialog button. A window will pop up containing a list of predefined dialogs that you can use without any extra fine-tuning.

Add Dialog

https://techidaily.com

2. From that list choose the LicenseAgreementDlg.

Choose Predefined Dialog LicenseAgreementDlg

3. A new window will pop up where you will need to specify the path of the license file, which has to be an RTF file.

Specify Path of License File

https://techidaily.com

Conclusion

Now you know how to build an installer without a license page both with WiX Toolset and with Advanced Installer. It’s up to you which one you want to use.

While WiX enables you to code a friendly UI that is OK to begin with, Advanced Installer has its own dedicated GUI that you can use to quickly bring in any type of dialog.

What are your thoughts about WiX? Do you have any questions? Share them in the comments!

Advanced Installer #1 alternative to the WiX Toolset

We decided to focus on our main goal to save precious time of our developers.

HANS-LEO TEULINGS
PHD – CEO, NEUROSCRIPT, LLC

You might find useful:

Get the most from packaging with Advanced Installer

Try the 30-day fully-featured edition absolutely free!

Download Free Trial

No credit card required

Also read:

  • Title: License-Free Installer Development: A Guide on Utilizing the WiX Toolset for Easy Setup Creation
  • Author: Donald
  • Created at : 2024-09-28 20:19:28
  • Updated at : 2024-10-03 18:38:14
  • Link: https://some-tips.techidaily.com/license-free-installer-development-a-guide-on-utilizing-the-wix-toolset-for-easy-setup-creation/
  • License: This work is licensed under CC BY-NC-SA 4.0.