Hello Everyone,

I created admin Image and install all pre-requisites and started install using cmd line

INSTALLDIR="C:\Program Files (x86)\SolidWorks" TOOLBOXFOLDER="C:\Program Files (x86)\SolidWorks\" SOLIDWORKSSERIALNUMBER="xxxx xxxx xxxx xxxx xxxx xxxx" ENABLEPERFORMANCE=1 OFFICEOPTION=3 SERVERLIST="YYYYY@xxxxx" ADDLOCAL=SolidWorksDesignChecker,Manuals,ExampleFiles,SolidWorksToolbox,FeatureWorks,SolidWorks /qb

It is installing al files and shortcuts for few minutes without any interruption but at last giving an error saying

"Error 1722. There is a problem with this windows installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action Register_i386_SldSheelExtServerExe, location: C:\Program Files\SolidWorks\sldShellExtServer.exe, Command: sldshellextserver.exe /REGSERVER"

I tried regestering by using the same command mentioned in the error message but no luck,

So If anybody have come across the same problem please help me out to overcome this.


Answer Summary:
The File path exceeded the limit over 255 windows character limit that's what the error message about so I copied the source files to Local Computer and installed it. It is running without any issues. Thanks
0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


I belive that you are installing this application to 32 - bit folder structure in 64 bit Operating System..

The custom action Register_i386_SldSheelExtServerExe is trying to register sldShellExtServer.exe file from "C:\Program Files\SolidWorks\" folder (64 - bit folder structure in 64 bit OS)...

But the sldShellExtServer.exe file is getting delivered to "C:\Program Files (x86)\SolidWorks\" folder (32 - bit folder structure in 64 bit OS) as per your INSTALLDIR mentioned in the above command line.

You may have to edit the location of this sldshellextserver.exe file in Register_i386_SldSheelExtServerExe custom action..


Answered 06/05/2012 by: jagadeish
Red Belt

Please log in to comment



This is definitely the case of wrong folder path. You can extract the com information in your package and remove the registration all together. Or just change the path as suggested above.

If you register through Custom Action, make sure to unregister at uninstall as well.

Answered 06/13/2012 by: piyushnasa
Red Belt

  • Can you give me more details about your two fix it options. How do I change the path or remove the registration?
Please log in to comment

I had this same error and found that when installing on windows 7 or Vista machines, UAC must be turned off.                                                navigate to the registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System                                                                                                             Locate the DWORD value:   EnableLUA                                                         set the value to: 0 


Answered 09/18/2012 by: jessil
White Belt

Please log in to comment

This could be due to permission issue..

Did you try installaing this application in "Run as Administrator" mode...

Goto Start Menu –> Programs –> Accessories, right click on "Command Prompt" icon and click on "Run as Administrator"

Type your command line in the cmd window and check it.



Answered 06/04/2012 by: jagadeish
Red Belt

  • Hi Jagadeish, I tried as you mentioned but this time the installation rolledback with out any error message and the log file is showing 1603 generic error.
  • I experience the same problems with the SW install. In my case it is due to the toolbox. When removing the SolidWorksToolbox from ADDLOCAL the install runs without any errors. I reported this to my VAR..still waiting for the solution...
Please log in to comment
Answer this question or Comment on this question for clarity