InnoSetup Script error line 1

I’m getting an error in the InnoSetup script on line 1 and it makes no sense.
It is virtually the same as Eddies Electronics.
I have also no experience with scripts.

#define XojoAppName "ReviewCards"

I also assume that is line 1

If the next, then it is virtually the same problem.

#define XojoProjectName "ReviewCards.xojo_XML_project"

Any line beginning with # is a comment so look for the first line without the #

Then it would be the line for AppId

I wondered because it starts with 2 brackets…
From the manual:

If it’s 2 brackets, I wonder what else is wrong.

Actually comment lines start with a semi-colon.

The #define is a pre-processor directive: http://www.jrsoftware.org/ispphelp/topic_define.htm

I do not know why you’d get that error, though.

Perhaps it is a copy/paste problem or a bogus character? Have you tried the actual sample files instead?

Examples/Platform-Specific/Windows/Making Installers/XojoInstaller.iss
Examples/Platform-Specific/Windows/Making Installers/XojoInstaller64bit.iss

Thanks Paul.

[quote]Examples/Platform-Specific/Windows/Making Installers/XojoInstaller.iss
Examples/Platform-Specific/Windows/Making Installers/XojoInstaller64bit.iss[/quote]
The 64bit is not included in the current set of examples. It is included in r3

Edit: I copied the code from the manual. The code listed in the current pdf docs version has a title of:

No where in the docs does it mention that file extension should be .iss
If I had seen that, I would not have a need for posting.
It works.

I’m not too sure what I should do with this complaint about files missing and suggested file names.

I see the XojoInstaller64bit.iss in the 2018r4 install on both Windows and Mac.

The doc pages already show the location of the sample files in the Examples and also shows its extension as “iss”.

Try using Inno Script Studio, it’s got a guided wizard that can help you get an installer script made.
https://www.kymoto.org/products/inno-script-studio

Apologies about [quote]XojoInstaller64bit.iss[/quote] .
I think I was still expecting XojoScript extension.
Thanks Tim. Downloaded for experimentation.
Problem is solved with knowing it’s not XojoScript.

[quote]AppId={{27EFF741-9A5C-4C19-8841-E9F4B7E6BCFC}

If it’s 2 brackets, I wonder what else is wrong.[/quote]

You need 2 on the end as well.

It doesn’t show 2 pairs in any of the iss examples.

All the scripts I have , have 2 on either end.
It think it happens when you insert a new GUID.
But instead of telling me about their docs, have you tried adding the extra bracket?

Another ISS gotchat: the semicolon for comment can’t follow a variable assignment, e.g.

; delay is in msec
SignToolRetryDelay=3000

works but

SignToolRetryDelay=3000  ; delay is in msec

fails.