Using INNO installer to install packaged binaries

--MP_/7P.G_ieuGyneuGxjoD4J=HO
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

When creating a standalone (GUI) binary, I use the attached innosetup.iss
to create a Windows installer for it.

Part of the install process is a dummy run of the application, to pre-fill
the cache folder. For this, I add a line at the beginning of the
program:

  exit if @ARGV == 1 && $ARGV[0] eq "--quit";

The innosetup.iss file is fairly trivial, especially when you consult
http://www.jrsoftware.org/ishelp/ .

Have fun!

--MP_/7P.G_ieuGyneuGxjoD4J=HO
Content-Type: application/octet-stream; name=innosetup.iss
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=innosetup.iss

W1NldHVwXQ0KQXBwSUQ9e3s4RkQwMTFDOC1BRUEzLTVFNDYtNDk0Ny01OTdGOTUxRjkzMjJ9DQpB
cHBOYW1lPU15QXBwDQpBcHBWZXJzaW9uPTAuODAuMC4wDQpBcHBWZXJOYW1lPU15QXBwIDAuODAN
CkFwcFB1Ymxpc2hlcj1TcXVpcnJlbCBDb25zdWx0YW5jeQ0KRGVmYXVsdERpck5hbWU9e3BmfVxT
cXVpcnJlbCBDb25zdWx0YW5jeVxNeUFwcA0KRGVmYXVsdEdyb3VwTmFtZT1cU3F1aXJyZWwgQ29u
c3VsdGFuY3lcTXlBcHANCk91dHB1dERpcj17dXNlcmRvY3N9XE15QXBwDQpPdXRwdXRCYXNlRmls
ZW5hbWU9TXlBcHAtMC04MC0wLTAteDY0DQpDb21wcmVzc2lvbj1sem1hL01heA0KU29saWRDb21w
cmVzc2lvbj10cnVlDQpBcHBDb3B5cmlnaHQ9Q29weXJpZ2h0IChDKSAyMDE3IFNxdWlycmVsIENv
bnN1bHRhbmN5DQpQcml2aWxlZ2VzUmVxdWlyZWQ9bm9uZQ0KSW50ZXJuYWxDb21wcmVzc0xldmVs
PU1heA0KU2hvd0xhbmd1YWdlRGlhbG9nPW5vDQpMYW5ndWFnZURldGVjdGlvbk1ldGhvZD1ub25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