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.
Silent and Custom Ranorex Installation
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Silent Install
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:
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
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"
"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
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
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Silent and Custom Ranorex Installation
Hi,
Ranorex Team
Regards,
Peter
Ranorex Team
Ranorex Team
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.anja wrote:Is there any possibility for us to automate this step?
Regards,
Peter
Ranorex Team
Re: Silent and Custom Ranorex Installation
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\"
E:\install\pcomm\setup.exe /v"/L*v\"%temp%\pcsinst.log\"
Last edited by Tiano on Thu Jun 21, 2012 1:32 pm, edited 2 times in total.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Silent and Custom Ranorex Installation
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.Tiano wrote:The /v command-line parameter enables you to pass parameters supported by Windows Installer through setup.exe to the MSI package.
Regards,
Alex
Ranorex Team