The user-account executing the command need write-permissions on the appropriate Sharepoint configuration databases (which can exist on a different physical computer from the Sharepoint web server). Otherwise an rather obscure error message with something like "...not set to a reference of an object" may occur. This was the case for me. After adding Sharepoint database-permissions to my account I could install the cab-file successfully.
↧