Jan Jansen

Installation SolidWorks 2020 SP5 fails error code 2

Discussion created by Jan Jansen on Jan 5, 2021
Latest reply on Jan 7, 2021 by Alex Lachance

Hi there, a customer (education) would like to upgrade to SolidWorks 2020 SP5 from 2019 SP04. 

The complete package of Solidworks 2019 is installed, so with Electrical. 
With the new version they would not like to use Electrical so i filter out in the admin image.
We use SCCM to deploy de software and the software installes when nobody is logged on

 

This is de installation methode:
First Uninstall SolidWorks 2019. This is a script for al the products that are installed;

So for SolidWorks 2019 SP04;

msiexec.exe /uninstall {MODERATED} /qn

For Electrical;

msiexec.exe /uninstall {MODERATED} /qn

and so on...

The Uninstall script runs good and after the script is finished the computer reboots.

After that step 2; the installation of SolidWorks 2020 SP5;

startswinstall.exe /install /now

options;

- Create a new major version 

- do not uninstall 

 

unfortunately the installation failes on 3DEXPERIENCE Marketplace

[E 0 1 msiinstaller.cpp(3286) 15:39:55] ** Install FAILED with code 2
[E 0 1 msiinstaller.cpp(3138) 15:39:55] Product:3DEXPERIENCE Marketplace ErrorCode:2

 

Why does this error occur, needs more to be removed?

 

Here is the full installation log: (i replaced the server for ***)

----------------------------------------
[TYPE MID LEVEL SOURCE_FILENAME(LINE) TIME ] MESSAGE
----------------------------------------

[I 0 1 clientinstaller.cpp(7731) 15:38:59] InstallExtraPackageFiles found IM install directory already exists: C:\WINDOWS\SolidWorks\IM_20200-40500-1100-100 (4)\sldim
[I 0 1 clientinstaller.cpp(7775) 15:38:59] InstallExtraPackageFiles copying from app dir C:\WINDOWS\ccmcache\4j\64bit\sldim instead of source dir C:\WINDOWS\ccmcache\4j\64bit\sldim due to command-line request
[E 0 1 clientinstaller.cpp(7924) 15:38:59] INTERNAL ERROR copying option editor EXE from C:\WINDOWS\ccmcache\4j\64bit\sldim to C:\WINDOWS\SolidWorks\IM_20200-40500-1100-100 (4)\sldim: code=2
[I 0 1 clientinstaller.cpp(2131) 15:39:09] CheckCopyInstallFiles() called (0)
[I 0 1 clientinstaller.cpp(6560) 15:39:10] {0: Installing} MSI: {1: C:\WINDOWS\ccmcache\4j\64bit\SOLIDWORKS\SolidWorks.Msi}; command-line: {2: INSTALLDIR="C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\" ADDLOCAL=FeatureWorks,PhotoView,SolidWorksToolbox,SolidWorksRoutedsystems,SolidWorksUtilities,ScanTo3D,CoreSolidWorksTaskScheduler,TolAnalyst,CircuitWorks,Simulation,Motion,SolidWorksCosting,SolidWorksDesignChecker,ExampleFiles,Manuals,HelpFiles SLDIM=1 ADMINCLIENT=1 PUSHDEPLOYMENT=1 MSIFASTINSTALL=4 REBOOT=ReallySuppress SERVERLIST="25734@****" TRANSFORMS="C:\WINDOWS\ccmcache\4j\64bit\SOLIDWORKS\1033.mst" TOOLBOXFOLDER="C:\SOLIDWORKS Data\" OFFICEOPTION=3 ARPSYSTEMCOMPONENT=1 IMTOKEN=735386d3aab2a0f7a1ed0a1917f0adc1}
(ID {3: SolidWorks}, lang {4: }, pcode {5: {3F4681F3-B30B-4531-ADB2-3661B531F926}}, mode {6: 7}, upg = {7: }, f{8: 0}, costKB {9: 7147872})
[I 0 1 clientinstaller.cpp(6883) 15:39:10] Calling ::MsiInstallProduct; patched = 0, version = 20200-40500-1100, step = 7
[I 0 1 msiinstaller.cpp(3292) 15:39:43] ** Install SUCCEEDED **
[I 0 1 clientinstaller.cpp(2131) 15:39:44] CheckCopyInstallFiles() called (0)
[I 0 1 clientinstaller.cpp(2180) 15:39:44] REGISTERING AFTER FIRST INSTALL: step 2 (SolidWorks)
[I 0 1 clientinstaller.cpp(2236) 15:39:44] CopyInstallFiles() called (0, 0)
[I 0 1 clientinstaller.cpp(7731) 15:39:44] InstallExtraPackageFiles found IM install directory already exists: C:\WINDOWS\SolidWorks\IM_20200-40500-1100-100 (4)\sldim
[I 0 1 clientinstaller.cpp(7775) 15:39:44] InstallExtraPackageFiles copying from app dir C:\WINDOWS\ccmcache\4j\64bit\sldim instead of source dir C:\WINDOWS\ccmcache\4j\64bit\sldim due to command-line request
[E 0 1 clientinstaller.cpp(7924) 15:39:44] INTERNAL ERROR copying option editor EXE from C:\WINDOWS\ccmcache\4j\64bit\sldim to C:\WINDOWS\SolidWorks\IM_20200-40500-1100-100 (4)\sldim: code=2
[I 0 1 workerthr..nager.cpp(5017) 15:39:45] WriteInstalledXML succeeded: C:\WINDOWS\SolidWorks\IM_20200-40500-1100-100 (4)\sldim\sldIM_installed.xml
[I 0 1 clientinstaller.cpp(9581) 15:39:45] RegisterPackage() called to register IM
[I 0 1 clientinstaller.cpp(9691) 15:39:45] RegisterPackage() finished with value 1
[I 0 1 clientinstaller.cpp(2217) 15:39:45] CopyInstallFiles succeeded. Marking IM as registered.
[I 0 1 clientinstaller.cpp(6560) 15:39:45] {0: Installing} MSI: {1: C:\WINDOWS\ccmcache\4j\64bit\eDrawings\eDrawings.msi}; command-line: {2: INSTALLDIR="C:\Program Files\SOLIDWORKS Corp\eDrawings\" SHOWLAUNCHREADME=0 SHOWLAUNCHPROGRAM=0 LOGPERFORMANCE=0 LAUNCHPROGRAM=-1 LAUNCHREADME=-1 SLDIM=1 PUSHDEPLOYMENT=1 MSIFASTINSTALL=4 REBOOT=ReallySuppress TRANSFORMS="C:\WINDOWS\ccmcache\4j\64bit\eDrawings\1033.mst" ARPSYSTEMCOMPONENT=1}
(ID {3: eDrawings}, lang {4: }, pcode {5: {6B5BADA2-3EBD-4993-ADDF-0440E8580C4C}}, mode {6: 7}, upg = {7: }, f{8: 0}, costKB {9: 675538})
[I 0 1 clientinstaller.cpp(6883) 15:39:45] Calling ::MsiInstallProduct; patched = 0, version = 20200-40500-1100, step = 7
[I 0 1 msiinstaller.cpp(3292) 15:39:50] ** Install SUCCEEDED **
[I 0 1 clientinstaller.cpp(2131) 15:39:50] CheckCopyInstallFiles() called (0)
[I 0 1 clientinstaller.cpp(6560) 15:39:52] {0: Installing} MSI: {1: \marketplace_latest\3dexperience marketplace.msi}; command-line: {2: REINSTALL=ALL REINSTALLMODE=vomus SLDIM=1 PUSHDEPLOYMENT=1 MSIFASTINSTALL=4 REBOOT=ReallySuppress TRANSFORMS="C:\WINDOWS\ccmcache\4j\64bit\3DEXPERIENCE Marketplace\1033.mst"}
(ID {3: Marketplace}, lang {4: }, pcode {5: {0060450C-5B44-424B-BD42-559F2A5D820A}}, mode {6: 7}, upg = {7: }, f{8: 0}, costKB {9: 1405})
[I 0 1 clientinstaller.cpp(6883) 15:39:52] Calling ::MsiInstallProduct; patched = 0, version = 20200-40500-1100, step = 7
[E 0 1 msiinstaller.cpp(3286) 15:39:55] ** Install FAILED with code 2
[E 0 1 msiinstaller.cpp(3138) 15:39:55] Product:3DEXPERIENCE Marketplace ErrorCode:2

 

 

 

Thanks in advance!

Outcomes