Article Preview
Buy Now
COLUMN
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):
project15309.zip Updated: 2017-04-30 19:20:12
Related Web Link(s):
http://www.jrsoftware.org/isinfo.php
http://github.com/stfx/innodependencyinstaller
http://developer.xojo.com/innosetup
http://www.example-sample.co/
http://github.com/stfx/innodependencyinstaller
http://codeproject.com/Articles/20868/NET-Framework-1-1-2-0-3-5-Installer-for-InnoSetup
http://www.example-sample.co/
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.