#1
|
|||
|
|||
Innosetup 5
I'm using VB 5.6b with Innosetup 5.07 and having a problem with the Commandline generated by the Innosetup action.
The Inno Setup action builds a commandline with the parameters prior to the script name ie: iscc.exe /omydir myinstall.iss Innosetup wants to have the script name as the first parameter followed by any other options and generates an error that it cant find the scriptfile if it isnt. Thanks, John Data Techniques, Inc. |
#2
|
|||
|
|||
iscc.exe 5.0.7 documents the usage as
Usage: iscc [options] scriptfile.iss That's the order VBP's Inno Setup action passes the options to it, and it works here in my testing. Can you provide a test case the demonstrates the problem? Thanks. |
#3
|
|||
|
|||
Hi,
Turns out if you have the Inno Setup Preprocessor option installed the commandline params are the oposite of the install with just the Innosetup compiler. On my install with the preprocessor i get: [c:\program files\inno setup 5]iscc.exe Inno Setup 5 Command-Line Compiler Copyright (C) 1997-2004 Jordan Russell. All rights reserved. Portions by Martijn Laan Inno Setup Preprocessor Copyright (C) 2001-2002 Alex Yackimoff. All rights reserved. Usage: isppcc scriptfile [ definition | option ]... scriptfile filename of Inno Setup script (.iss), '-' to read from standard input definition emulates #define directive: /d<name>[=<value>] #define public <name> <value> option emulates #pragma directive: /$<letter>(+|-) #pragma option -<letter>(+|-) /p<letter>(+|-) #pragma parseroption -<letter>(+|-) /i<paths> #pragma include <paths> /s<string> #pragma inlinestart <string> /e<string> #pragma inlineend <string> /v<number> #pragma verboselevel <number> specify output path: /o<path> specify output filename: I'll just do a DOS command to work around this for now. Thanks, John |
#4
|
|||
|
|||
Hmmm. It appears that iscc.exe will actually accept the parameters on either side, so changing the Inno Setup action to put them after the script filename may solve the problem. We'll have to investigate to see what version(s) of iscc supported this or create a compatibility flag.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|