This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installing Silently and response file errors, Invalid command line option:
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 07, 2006
10:25 AM
Installing Silently and response file errors, Invalid command line option:
Hi ,
I am trying to create a larger installation package which will install Hyperion (which uses Install shield) the easiest way to do this is to install hyperion silently. I know I have to have a response file .iss file. I am having problems creating the file when ever I try to use the -r or /r parameters I just get the following message.
The wizard cannot continue because of the following error: Invalid command line option: r is not supported(1001)(403)
Regarding attatchment
Please ignore the "help" , I still get the same message but with "r" in place of help in the message.
Any ideas how I can get a response file or run the installation silently. I am writting the wrapping setup in C# .NET.
The installation comes in a set of three files
media.inf 1kb
setupWinPlatform.exe 17724 kb
suite.jar 91104 kb
I am trying to create a larger installation package which will install Hyperion (which uses Install shield) the easiest way to do this is to install hyperion silently. I know I have to have a response file .iss file. I am having problems creating the file when ever I try to use the -r or /r parameters I just get the following message.
The wizard cannot continue because of the following error: Invalid command line option: r is not supported(1001)(403)
Regarding attatchment
Please ignore the "help" , I still get the same message but with "r" in place of help in the message.
Any ideas how I can get a response file or run the installation silently. I am writting the wrapping setup in C# .NET.
The installation comes in a set of three files
media.inf 1kb
setupWinPlatform.exe 17724 kb
suite.jar 91104 kb
(5) Replies
‎Dec 07, 2006
12:13 PM
Is this a MultiPlatfrom installer?
If it is you can use an response or options file! In the options file you would set Properties by using '-P' and variables using '-V'!
So your basic response file would have at least:
-P installLocation = "your location"
If you know you have dialogs asking other info and know the variable for it you could set the variable by:
-V MYVAR = "value"
BTW: Running the installer in silent mode on windows will come right back to the prompt and basically run in the background! I would put the command in a batchfile on Windows if you want to run in silent mode, it will not come right back to the prompt!
Regards,
Tom
If it is you can use an response or options file! In the options file you would set Properties by using '-P' and variables using '-V'!
So your basic response file would have at least:
-P installLocation = "your location"
If you know you have dialogs asking other info and know the variable for it you could set the variable by:
-V MYVAR = "value"
BTW: Running the installer in silent mode on windows will come right back to the prompt and basically run in the background! I would put the command in a batchfile on Windows if you want to run in silent mode, it will not come right back to the prompt!
Regards,
Tom
‎Dec 08, 2006
03:46 AM
Firstly How do I know if its a MultiPlatfrom installer ? How can I detemine that ?
Secondly I'm trying to create the response file using the -r parameter but the installer doen't seem to accept it.
Thirdly is the options file a different file to the response file ?
Fourthly how can I find out more information regarding the installation. What version Installshield etc......
Thanks, Robert
Secondly I'm trying to create the response file using the -r parameter but the installer doen't seem to accept it.
Thirdly is the options file a different file to the response file ?
Fourthly how can I find out more information regarding the installation. What version Installshield etc......
Thanks, Robert
‎Dec 10, 2006
06:51 AM
Judging from the name of the exe and the .jar file - I would assume it's a MP type of installation! Just not sure how to tell what version of IS MP it or if it was built with InstallAnyWhere(not familiar with that one)!
Yes, a response file is the same as an options fle! You can generate this file by recording the install when installing by running:
java -cp suite.jar run -options-record optionsFileName
or generate the template by running this command with the jar file:
java -cp suite.jar run -options-template optionsFileName
These only work with version 4.53 or higher!
Regards,
Tom
Yes, a response file is the same as an options fle! You can generate this file by recording the install when installing by running:
java -cp suite.jar run -options-record optionsFileName
or generate the template by running this command with the jar file:
java -cp suite.jar run -options-template optionsFileName
These only work with version 4.53 or higher!
Regards,
Tom
‎Dec 15, 2006
07:07 AM
Thanks Tom,
Tht seems to have worked an I have now created the response file.
That being the case how do I run against the response file silently with as little user interaction as possible ?
Please tell me I don't have to run a java command 🙂
Robert
Tht seems to have worked an I have now created the response file.
That being the case how do I run against the response file silently with as little user interaction as possible ?
Please tell me I don't have to run a java command 🙂
Robert
‎Dec 19, 2006
09:47 AM
Well, you can create a batch file for the user and just tell them they need to modify the options file with the correct parameters!
Just add the line:
setupWinPlatform.exe -silent -options options.txt
See if you can run the setup without the jar file, if you can't, you just need to make sure the user has the .exe and .jar in the same location!
You can just run 'setupWinPlatform.exe -silent -options options.txt' at the command line but in doing so it comes right back to the prompt and runs in the bacground. So on Windows I would recommend putting it in a batch file!
Regards,
Tom
Just add the line:
setupWinPlatform.exe -silent -options options.txt
See if you can run the setup without the jar file, if you can't, you just need to make sure the user has the .exe and .jar in the same location!
You can just run 'setupWinPlatform.exe -silent -options options.txt' at the command line but in doing so it comes right back to the prompt and runs in the bacground. So on Windows I would recommend putting it in a batch file!
Regards,
Tom