View Issue Details

IDProjectCategoryView StatusLast Update
0000331Inno Script StudioGeneralpublic2018-02-24 14:55
Reporterophers Assigned Totimchilvers  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformInno Script Studio 1.0.0.24OSWindows 7 Pro x64OS VersionSP1
Summary0000331: ISS doesn't correctly handle quotes in Parameters of [Run] items
DescriptionNote in the POC script attached:
 1) Open the item in the "Install Run" section. In the dialog, the "Parameters" field has the value:
     /arg1 "dummy string"

 2) But in the script view the line reads:
     Filename: "{app}\destfile1.exe"; Parameters: "/arg1 "dummy string""

When compiling a syntax error is reported.
TagsNo tags attached.
Attached Files
Untitled 1.iss (587 bytes)   
[Files]
Source: "sourcefile1.exe"; DestDir: "{app}"; DestName: "destfile1.exe"; Components: parent/child1 parent/child2
Source: "file2.exe"; DestDir: "{app}"; Components: parent/child2
Source: "sourcefile3.exe"; DestDir: "{app}"; DestName: "destfile3.exe"
Source: "file.exe"; DestDir: "{app}"

[Run]
Filename: "{app}\destfile1.exe"; Parameters: "/arg1 "dummy string""

[Components]
Name: "parent"; Description: "Parent component"
Name: "parent/child1"; Description: "First child of parent"
Name: "parent/child2"; Description: "Second child of parent"; Flags: checkablealone
Untitled 1.iss (587 bytes)   

Activities

timchilvers

2012-05-10 15:40

administrator   ~0000203

Last edited: 2012-05-10 15:40

Issues has been confirmed in latest build (1.0.0.24 & 2.0.0 Beta).

When writing section list back to the script it is not correctly handling the single quotation marks. The single quotation marks need to be converted in to double quotation marks.

I.E.
Original:
Filename: "{app}\destfile1.exe"; Parameters: "/arg1 "dummy string""

Working:
Filename: {app}\destfile1.exe; Parameters: "/arg1 ""dummy string"""

timchilvers

2012-05-10 19:17

administrator   ~0000204

Issue fixed in build 2.0.0.12

Issue History

Date Modified Username Field Change
2012-05-10 14:16 ophers New Issue
2012-05-10 14:16 ophers File Added: Untitled 1.iss
2012-05-10 15:37 timchilvers Assigned To => timchilvers
2012-05-10 15:37 timchilvers Status new => assigned
2012-05-10 15:40 timchilvers Note Added: 0000203
2012-05-10 15:40 timchilvers Status assigned => confirmed
2012-05-10 15:40 timchilvers Note Edited: 0000203
2012-05-10 19:17 timchilvers Note Added: 0000204
2012-05-10 19:17 timchilvers Status confirmed => resolved
2012-05-10 19:17 timchilvers Resolution open => fixed
2018-02-24 14:55 timchilvers Status resolved => closed