Silent and Custom Ranorex Installation : How To …

Silent and Custom Ranorex Installation

Best practices, code snippets for common functionality, examples, and guidelines.

Silent and Custom Ranorex Installation

Postby dhalperin » Fri Mar 19, 2010 9:50 pm

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.
dhalperin
 
Posts: 1
Joined: Fri Mar 19, 2010 9:48 pm

Re: Silent Install

Postby Support Team » Sun Mar 21, 2010 7:34 pm

For silent installation of Ranorex please see the following thread:
can-i-automatically-install-ranorex-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
User avatar
Support Team
Site Admin
 
Posts: 4289
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Silent and Custom Ranorex Installation

Postby anja » Tue Jan 11, 2011 2:20 pm

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
anja
 
Posts: 42
Joined: Fri Nov 26, 2010 4:39 pm

Re: Silent and Custom Ranorex Installation

Postby Support Team » Tue Jan 11, 2011 2:40 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4289
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Silent and Custom Ranorex Installation

Postby Tiano » Tue Sep 13, 2011 10:29 am

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 cell phone spy setup.exe to the MSI package. To create the log file, type:

E:\install\pcomm\setup.exe /v"/L*v\"%temp%\pcsinst.log\"
Last edited by Tiano on Wed Oct 26, 2011 10:00 am, edited 1 time in total.
Tiano
 
Posts: 2
Joined: Tue Sep 13, 2011 10:27 am

Re: Silent and Custom Ranorex Installation

Postby Support Team » Wed Oct 19, 2011 12:32 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4289
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to How To …

Who is online

Users browsing this forum: No registered users and 0 guests