/build/static/layout/Breadcrumb_cap_w.png

Wise package install switches for install path?

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

Answers (3)

Posted by: ERAMBA 6 years ago
White Belt
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>


Posted by: yarborg 14 years ago
Blue Belt
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.
Posted by: Alvinlie 14 years ago
Yellow Belt
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:\
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ