We bundle RSI software with our application install. For an intelligent install, it is useful for us to be able to acquire a few pieces of information.
- INtime dongle identifier / RMP serial number
- I have had some trouble building a simple tool to get this information.I have to be licensed to sucessfully instantiate the
MotionController
class in order to get the RMP serial. I can extract the serial number from the error created when I try. (error message below) - If there is an easier way to accomplish this, that would be cool.
- I have had some trouble building a simple tool to get this information.I have to be licensed to sucessfully instantiate the
- Is a specific instance of the install licensed? (i.e. Is rsi.lic valid for this machine?)
- For example, if I’m upgrading from 8.0.7 to 8.2.1, the old license won’t work. How can I know without running RapidSetup and having it complain? It would prefer to to be able to scriptomatically detect this situation rather than require the human to run a GUI tool and see what happens.
- I suppose I could attempt to instantiate
MotionController
and see if it fails and look for key words in the error text.
Error Creating MotionController:
Error Number: 5133
Text: Win32 RMP: Platform: incorrect file version :: {platformOS.c, line 1867} : Could not find license file : Contact RSI with serial #: 13739 (0x35AB) (Error 5133) (RSI::RapidCode::Impl::MotionController::InitControl) (Object 0) (File …..\source\motioncontroller.cpp) (Line 405) (Version 8.2.1 for 04.04.02.RMP)
The biggest down side to producing my own tools is that they may be specific to versions of RSI software with binary incompatibilities to previous versions. If there were “standard” tools to accomplish this, that would prove useful.
Do you have recommendations for how I can accomplish an “intelligent” install that allows me to inform the user of specific situations, like “you will need an updated license for serial #…” rather than the user having to know/remember to start RapidSetup and see whether it complains.