Software Deployment Question

SolidWorks 2012 SP01 installation Error 1722

06/04/2012 33065 views

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


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

All Answers


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?

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


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...
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ