Hello,

I have an application which is packaged with Wise Installation wizard.

What are the switches to perform a silent install and automatically installing to E:\
Default it installs into C:\.

I've already found out that /s is for silent installation, but couldn't find anything about predefined installation paths

Thanx
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I guess you are creating an exe install right? When ever you install a file you have to specify the install path as a variable, which by default is %MAINDIR% in Wise. You can set %MAINDIR% in the Setup Editor (the scripting view) of Wise to be anything you want. Below is a list of common command line options from Wise. This is from their help file. To retrieve options passed to your executable from the command line use the builtin variable %CMDLINE%.

/T Installs in Test mode.
/X pathname Extracts files to pathname.
/Z pathname Extracts files to pathname, then reboots.
/M Runs the installation in manual mode, prompting for system directories (examples: Windows, System).
/M=filename Specifies a value file for installation. For information on reading variables, see Set Variable.
/M1 Displays the name of each self-registering .OCX or .DLL as it is registered.
/M2 Reserved for internal use by WiseScript Editor during debugging sessions.
/M5=dir_name During installation, temporary files are written to the hard drive. On some locked-down machines with restricted privileges, these temporary files might fail to write, resulting in a failed installation. Use this command line option to specify a directory name for which the end user has write privileges.
/S Installs in silent (automatic) mode with no end user choices.
Answered 02/17/2006 by: yarborg
Blue Belt

Please log in to comment
0
I'm not building the executable.

It is a prebuild .exe
I just need to know how to silently let it install to E:\ instead of the default C:\
Answered 02/17/2006 by: Alvinlie
Yellow Belt

Please log in to comment
0

MAINDIR is the name of the folder where the application should be installed. Not the path to that location

it is possible to set the variable in a parameter file passed with the /M=<pathtomyparameterfile>


Answered 07/18/2014 by: ERAMBA
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity