I've noticed that ISPP doesn't seem to behave
properly when launched from
either NAnt or MSBuild. For example, checkout the
following simple Inno
Setup script:
#define MyVar "A Series of Characters"
#pragma error "Variable value is: " + MyVar
[Setup]
AppName=Test
AppVerName=1.0
DefaultDirName=Test
When compiled from the command line (or the Inno
Setup IDE), this script
works just fine and the output will look something as
expected:
...[ISPP] Variable value is: A Series of Characters.
When launched from NAnt or MSBuild (.NET runtime
environment), the variable
values are truncated, as in:
...[ISPP] Variable value is: A Series of Chara
I've attached the small files I'm using for testing.
The Inno Setup and
ISPP version information is:
Compiler engine version: Inno Setup 5.1.6 (ISPP
5.1.2.0)
Source Inno Setup, MSBuild, and NAnt files (all small)
Logged In: YES
user_id=631220
Unfortunately, I do not have neither NAnt nor MSBuild, so
having no idea what can cause this. Need more comments
(from others) and information.
Logged In: YES
user_id=1228710
NAnt is free and is available from http://nant.sourceforge.net/
MSBuild is also free (it's part of the .NET 2.0 runtime) and
is available from
http://www.microsoft.com/downloads/details.aspx?familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en