Installation analytics for Inno Setup
Installation analytics
- What is Inno Setup
-
Inno Setup is one of the best installation (Setup/Uninstall) tools for Windows software. It is also free.
As a result, it is loved by the independent shareware developers.InnoSetup has several 3rd party add-ons that further enhance its capabilities.
Our SoftMeter library can be used as an InnoSetup add-on.
- What is SoftMeter for Inno Setup
-
SoftMeter (formely libAppTelemetry) telemetry library allows software developers to see installation statistics/analytics of their shareware software via their free Google Analytics account.
Our library tracks installation statistics, such as Country, Operating System, Screen resolution, Application version and sends them to Google Analytics.
Google analytics has numerous reports (even real-time view) and can also show you aggregated data such as installations per month, installations per country, etc.Our library is currently free. You can include it in your setup in a couple of hours. This is a pretty good deal for the independent shareware/software developers.
Having usage statistics in your software is vital to the success of your software.
- How to add SoftMeter to your Inno Setup script
-
Download from GitHub page:
The inno-statistics.iss file contains the pascal code and the implementation instructions. Open the file in Inno setup (or any other preferred code editor) and follow the instructions inside the file.
Edit inno-statistics-config.iss
procedure trackInstallation(appName, appVersion, appLicense, appEdition, PropertyID:PAnsiChar); var eventAction: string; begin iStart(appName, appVersion, appLicense, appEdition, PropertyID, TRUE); eventAction := appName + ' Install'; iSendEvent(PAnsiChar(eventAction), 'Install', 1); iStop; end; procedure trackUninstall(appName, appVersion, appLicense, appEdition, PropertyID:PAnsiChar); var eventAction: string; begin uStart(appName, appVersion, appLicense, appEdition, PropertyID, TRUE); eventAction := appName + ' Uninstall'; uSendEvent(PAnsiChar(eventAction), 'Uninstall', -1); uStop; end;
During the install, the event value is 1, while during the uninstall is -1. This way, GA will automatically calculate the "net" installations. - What kind of reports can I have about my software installations?
- Below, you can see some report examples. These screenshots are from a report we created to monitor our own shareware.
We shared the report template as "Installs vs uninstalls of desktop software" on the Google Analytics solutions gallery. You can import it from there, into your G.A. property.
After including the library in your setup, you can release your new software version and start monitoring in Google Analytics how many installations you have, under which operating systems, the countries of the users, etc.
Comments
web admin
Sat, 01/13/2018 - 13:23
Permalink
Install Shield, NSIS
We will soon post instructions for Install Shield and NSIS (Nullsoft Scriptable Install System). But the way to link the DLL is similar.
web admin
Thu, 02/08/2018 - 14:05
Permalink
A new google analytics template in Google solutions gallery
We created a new report template for Google analytics. "Installs vs uninstalls of desktop software". You can import this custom report in your Google analytics profile and see the installation statistics of your desktop shareware software, using libAppTelemetry and Inno setup (or your preferred setup maker program).
See the report at: https://www.google.com/analytics/gallery/#posts/search/%3F_.viewId%3DWJ0...
and rate us if you like it.
web admin
Wed, 08/01/2018 - 10:31
Permalink
See also the All-in-one function
In SoftMeter v0.6.1, an all-in-one function was added, specifically for tracking installs and uninstalls.
This function does the complete sequence of start(), sendEvent(), stop().
As its parameters, it takes the combined parameters of start() and sendEvent()
We will soon update our examples to show this function in action.
Pieter (not verified)
Wed, 03/09/2022 - 07:34
Permalink
Has anyone set this up for
Has anyone set this up for Advanced Installer yet?
Add new comment