Can't install Ranorex 7.1

Bug reports.
David Zita
Posts: 14
Joined: Thu Mar 31, 2016 1:20 pm

Can't install Ranorex 7.1

Post by David Zita » Fri Jul 07, 2017 9:43 am

Hi,
When I try to install Ranorex 7.1, it ends prematurely with no specific message (see the picture). I tried to find some log, but only one I could find was the attached install.log from %temp% dir. I have win 10 64bit (version 1703), I can install and run Ranorex 6.2 and also 7.0.1. Any help would be appreciated, thanks.
Attachments
install.log
(7.98 KiB) Downloaded 18 times
2017-07-07 10_36_23-Ranorex 7.1 Setup.png
2017-07-07 10_36_23-Ranorex 7.1 Setup.png (24 KiB) Viewed 509 times

User avatar
Vega
Posts: 109
Joined: Mon Jul 11, 2016 2:15 pm

Re: Can't install Ranorex 7.1

Post by Vega » Fri Jul 07, 2017 6:53 pm

Since this is the last step in the log you provided, please ensure the file C:\Users\ZITA\Downloads\Ranorex-7.1.0\Ranorex-7.1.0-d146006c.msi is actually located at that path.

Did you see anything weird in the Windows Event Viewer by chance? I would probably look under Windows Logs -> Application

David Zita
Posts: 14
Joined: Thu Mar 31, 2016 1:20 pm

Re: Can't install Ranorex 7.1

Post by David Zita » Mon Jul 10, 2017 8:48 am

I have run the installation with verbose logging and here is the result:

Code: Select all

Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: v1
   at System.Version.op_LessThan(Version v1, Version v2)
   at RxWixExtension.CustomActions.AssertNoVirtualMachine(Session session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
Attached you may find the whole log.
Attachments
install.zip
(21.46 KiB) Downloaded 20 times

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Can't install Ranorex 7.1

Post by krstcs » Mon Jul 10, 2017 8:40 pm

Try installing from the EXE instead of the MSI. The MSI does NOT include any of the prerequisites (.NET, VC++ Runtime, etc.). My guess is that the installer is not finding a prereq that it needs.
Shortcuts usually aren't...

ahoisl
Certified Professional
Certified Professional
Posts: 125
Joined: Fri Sep 07, 2007 8:16 am

Re: Can't install Ranorex 7.1

Post by ahoisl » Tue Jul 11, 2017 8:44 am

This looks more like code fails that cares about other Ranorex installations, e.g. older versions. Have you uninstalled all other Ranorex versions?

Regards,
Alex
Ranorex Team