Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-25-2005, 05:21 PM
johnd johnd is online now
Registered User
 
Join Date: 01-01-1970
Posts: 2
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.
Reply With Quote
  #2  
Old 01-26-2005, 08:46 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #3  
Old 01-26-2005, 08:59 AM
johnd johnd is online now
Registered User
 
Join Date: 01-01-1970
Posts: 2
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
Reply With Quote
  #4  
Old 01-26-2005, 10:04 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:33 AM.


Copyright © 1999-2023 Kinook Software, Inc.