We are trying to deploy SOLIDWORKS 2018 via Command line, the installer stops with an error 1722 as shown below,
The installation was initiated with User having full admin rights.
OS: Windows 7
SOLIDWORKS Version: 2018
Service Pack: 2.0
Command used:
msiexec /i "<Admin Image Folder>\SOLIDWORKS 2018 SP2.0\64bit\SOLIDWORKS\SOLIDWORKS.Msi" INSTALLDIR="C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS" SOLIDWORKSSERIALNUMBER="XXXX XXXX XXXX" ENABLEPERFORMANCE=1 OFFICEOPTION=3 ADDLOCAL=SolidWorks,SolidWorksToolbox /qb
Have anyone faced this issue? with previous release or so...
Request your help here.
When I install from command line I use the command like this:
msiexec.exe /I "<Admin Image Folder>\SOLIDWORKS 2018 SP2.0\64bit\SOLIDWORKS\SolidWorks.msi" INSTALLDIR="C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\" UPGRADESWINSTALL=0 ENABLEPERFORMANCE=1 OFFICEOPTION=3 SOLIDWORKSSERIALNUMBER="XXXX XXXX XXXX XXXX XXXX XXXX" MBDSERIALNUMBER="XXXX XXXX XXXX XXXX XXXX XXXX" MOTIONSERIALNUMBER="XXXX XXXX XXXX XXXX XXXX XXXX" SIMULATIONSERIALNUMBER="XXXX XXXX XXXX XXXX XXXX XXXX" SERVERLIST=25734@ServerName TOOLBOXFOLDER="C:\SolidWorks Data" ADDLOCAL=CircuitWorks,ExampleFiles,FeatureWorks,HelpFiles,Manuals,Motion,PhotoView,RealViewGraphicsdisplay,ScanTo3D,Simulation,SolidWorks,SolidWorksAnimator,SolidWorksCosting,SolidWorksRoutedsystems,SolidWorksToolbox,TolAnalyst,CoreSolidWorksTaskScheduler,SolidWorksDesignChecker,SolidWorksUtilities /qb
You can take out the Simulation serial numbers if you don't have simulation. Then you can remove whatever you don't want from the ADDLOCAL section. I noticed that I use a "\" at the end of the install path that you don't have.
I also noticed that you don't have the UPGRADESWINSTALL=0 or 1 in there. The zero means install alongside whatever is there while the one means upgrade the current install version. When upgrading you have to include the SWMIGRATE=SOLIDWORKS 2017 SP4.1.
I don't think you need to include the TOOLBOXFOLDER but it doesn't hurt.
I also include the SERVERLIST so that it sets up the license server. I don't know if you need that for standalone licenses.
Here is the stripped down version to match yours.
msiexec.exe /I "<Admin Image Folder>\SOLIDWORKS 2018 SP2.0\64bit\SOLIDWORKS\SolidWorks.msi" INSTALLDIR="C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\" UPGRADESWINSTALL=0 ENABLEPERFORMANCE=1 OFFICEOPTION=3 SOLIDWORKSSERIALNUMBER="XXXX XXXX XXXX XXXX XXXX XXXX" SERVERLIST=25734@ServerName TOOLBOXFOLDER="C:\SolidWorks Data" ADDLOCAL=SolidWorks,SolidWorksToolbox /qb
This page is great for MSIEXEC errors: MsiExec.exe and InstMsi.exe Error Messages (Windows)
It doesn't list 1722 though.
Edited to add some color to make it easier to read.