________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: Failed SDP Install: "Multiple launches of this installer is not allowed"
- SDP: 6.6.0
- Host: Any supported host
________________________________________________________________________
Recommendation
________________________________________________________________________
This is a rare issue with the InstallAnywhere installer used for installing the QNX SDP.
First check that you don't actually have multiple instances running. See the processes list, and try restarting the computer. If the issue persists, it is because the installer uses a lock file in the user's home directory to determine whether another instance is running, and this lock file was not properly removed when the installer exited. The issue can also occur if this directory does not exist.
The QNX SDP installer will produce a log file for the failed install. The log file will indicate where InstallAnywhere is trying to create the lock file: it's trying to use the directory identified by the "user.home" property (this is a Java specific property).
If this directory exists, locate the lock file and delete it. If this directory does not exist, then you can either create the directory to allow the installation to proceed, or change Java's "user.home" property to the correct value.
The lock file is named for the QNX SDP product ID and will look something like this: "28e51889-1f14-11b2-86f8-f93903c03ce4.tmp"
If the lock file cannot be found, an alternative is to temporarily change the "user.home" directory so that the installer cannot find the lock file. (for example, set user.home to a temp directory).
The user.home property can be specified by setting the _JAVA_OPTIONS environment variable as shown here:
_JAVA_OPTIONS = "-Duser.home=/tmp"
*ensure you have read/write permissions for the specified directory.
Then clear the _JAVA_OPTIONS variable when installation is complete.
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________