Page 1 of 1

Silent and Custom Ranorex Installation

Posted: Fri Mar 19, 2010 8:50 pm
by dhalperin
Hi,

I have downloaded the .zip file for v2.2.2 and tried to automate the installation. The problem is, no matter how I try to do this, it will always install the entire application. I am trying to install the core components ONLY. I would then like to use the package in SCCM to distribute it.

Thanks.

Re: Silent Install

Posted: Sun Mar 21, 2010 6:34 pm
by Support Team
For silent installation of Ranorex please see the following thread:
http://www.ranorex.com/forum/can-i-auto ... t1164.html

You can (de)select features installed by the MSI using the command line options "ADDLOCAL" and "REMOVE". For example, the following command line will install all Ranorex components except for Ranorex Studio:

Code: Select all

msiexec /i Ranorex-2.2.2.msi ADDLOCAL="ALL" REMOVE="RanorexStudioFeature"
Possible feature names used as parameter to ADDLOCAL or REMOVE (separated by commas) are:
"MainFeature" (core components)
"RanorexSamples"
"RanorexStudioFeature"
"RanorexFirefoxExtension" (Firefox add-on)
"RanorexIEAddon" (IE Add-on, available with Ranorex 2.3)

Regards,
Alex
Ranorex Support Team

Re: Silent and Custom Ranorex Installation

Posted: Tue Jan 11, 2011 1:20 pm
by anja
Hello,

I've got an additional topic to this...

Is it possible to add a parameter with the license-server and license type?
I ask this because our tests should be executed within several Operating Systems. For this we use VMs for execution.We want to use clean VM Images to start and then install Ranorex Runtime silent via command line. At this point we get the problem that no license is installed... The licenses are situated on a license server.
Is there any possibility for us to automate this step?

Thank you

Anja

Re: Silent and Custom Ranorex Installation

Posted: Tue Jan 11, 2011 1:40 pm
by Support Team
Hi,
Ranorex Team
anja wrote:Is there any possibility for us to automate this step?
Sorry but there is no parameter for the MSI Package, but there is another simple solution. Just use the command "XCOPY" in a batch file and copy following file "Ranorex2_Server.lic" to "ProgamData". Ranorex2_Server.lic file will be created when you use a License Server for one Ranorex Client. Just search for that file on such a machine.

Regards,
Peter
Ranorex Team

Re: Silent and Custom Ranorex Installation

Posted: Tue Sep 13, 2011 9:29 am
by Tiano
The /v command-line parameter enables you to pass parameters supported by Windows Installer through setup.exe to the MSI package. For example, you can create and save a verbose log file to a location of your choice by passing the /L parameter through setup.exe to the MSI package. To create the log file, type:

E:\install\pcomm\setup.exe /v"/L*v\"%temp%\pcsinst.log\"

Re: Silent and Custom Ranorex Installation

Posted: Wed Oct 19, 2011 11:32 am
by Support Team
Tiano wrote:The /v command-line parameter enables you to pass parameters supported by Windows Installer through setup.exe to the MSI package.
Actually, IMHO you do not even need that "/v" switch for the most command line arguments (except to bypass the arguments supported by the setup.exe directly, like "/?"). Usually, it should be enough to just pass the MSI command line arguments directly to the "setup.exe" or "Ranorex-X.X.X.X.exe" file.

Regards,
Alex
Ranorex Team