How do I fix "Package Installation Failed: UnspecifiedError" when trying to install RobotWare add-i

I've installed Robot Studio for the first time, and I restarted my PC after doing so.

In order to simulate a robot controller, I need a RobotWare Add-In.

When I try to add it, all I get is : "Package Installation Failed: UnspecifiedError"

How can I fix this?

Thanks,

Answers

  • Hello there,

    Which RobotWare version are you trying to install?

    Can you double-click the error and provide the description that pops up (if any)?

    I just installed RW 7.8.2 without any issues.

    Maxim Riabichev
    PC Software Support Engineer
  • Hi, I'm having a similar error while installing robotware 6.15.8. I get the following error code:

    1/30/2025 2:16:05 PM
    RobotStudio .NET exception: Offset to Central Directory cannot be held in an Int64.
    ============================================
    Base exception: InvalidDataException
    Offset to Central Directory cannot be held in an Int64.
       at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
       at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
       at RobotStudioServices.RspakMetadata.ExtractMetadata(Stream rspakStream, String fileName, Nullable`1 fileDate, Func`2 savePreview, Func`4 extractResource, Action`1 traceError)
       at RobotStudio.UI.Packages.PackageHelper.InstallablePackageFromRspak(String path, InstallablePackageDataSource source, Boolean throwOnFailure)
       at RobotStudio.UI.Packages.PackageHelper.<Install>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at RobotStudio.UI.Packages.PackageHelper.<Install>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at ABB.Robotics.RobotStudio.Environment.CommandBarButton.<RaiseExecuteCommand>d__52.MoveNext(