Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 15.3 ('Xojo Beginner's Guide')
Instant purchase and download via GumRoad!


Inno Setup

Open Source code for Xojo

Issue: 15.3 (May/June 2017)
Author: Scott Boss
Author Bio: Scott Boss is the founder of Nocturnal Coding Monkeys, Llc, who specialize in writing custom software. Scott has been a developer, system administrator, storage engineer, consultant, and architect to businesses from startup to global 100.
Article Description: No description available.
Article Length (in bytes): 12,470
Starting Page Number: 99
Article Number: 15309
Resource File(s):

Download Icon project15309.zip Updated: 2017-04-30 19:20:12

Related Web Link(s):


Excerpt of article text...

This month we are going to venture off our normal path. Over the last several months there have been lots of questions on how to install Xojo applications on Windows. This is especially true now with the Windows Universal Runtime libraries being needed by Xojo applications.

Some developers prefer just zipping up their application for distribution and deployment, while others prefer installers. The easy way to make sure all the .DLLs are installed is to install them next to the application.exe. But this takes extra space on the hard drive and the libraries won't get upgraded when new versions or patches come out. Another downside is that the runtime libraries might already be installed on the system. For instance, Windows 10 preinstalls those libraries for us.

So, this month I am going to talk about Inno Setup (http://www.jrsoftware.org/isinfo.php) and Modular InnoSetup Dependency Installer (http://github.com/stfx/innodependencyinstaller).

First we will talk about Inno Setup. Inno Setup is a long-time favorite of the Xojo community to make a Windows installer. Xojo has even documented how to use it (http://developer.xojo.com/innosetup) with Xojo apps.

If we look at the following code, we can see a simple installer script. This is not the same script from Xojo's documentation, but one I created for a sample application. See Figure 1 for a screenshot of our sample application (Figure 2 shows the software license screen).

Simple Inno Setup script.

...End of Excerpt. Please purchase the magazine to read the full article.