/build/static/layout/Breadcrumb_cap_w.png

SolidWorks Corporation Solidworks 2018

Version: SP5

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 312  |  Created: 02/26/2019 by: ndog

Average Rating: 0
Solidworks 2018 has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Windows Installer (MSI)
Average Package Difficulty Rating
Rated 4 / 5 (Somewhat Difficult) based on 1 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
0
Script

Create a SOLIDWORKS 2018 SP5.0 Deployment Package folder

Use the following script to install the software.

NB - This script was initially created in Silent Batch Maker, a very useful tool to help create silent installers quickly - https://github.com/nsy16/SilentBatchMaker/releases

install.cmd

@echo off&cls
for %%a in ("%~dp0\.") do set _parentdir=%%~nxa
title %_parentdir%

:: Install SOLIDWORKS 2018 SP5.0 Deployment Package

set _fPath_[1]=%~dp064bit\Microsoft_C++_2008_Redistributable\vcredist_x86.exe
set _swtch_[1]=/q
set _regKy_[1]={9BE518E6-ECC6-35A9-88E4-87755C07200F}
set _regDN_[1]=Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
set _regDV_[1]=9.0.30729.6161
set _fPath_[2]=%~dp064bit\Microsoft_C++_2008_Redistributable_(x64)\vcredist_x64.exe
set _swtch_[2]=/q
set _regKy_[2]={5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
set _regDN_[2]=Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
set _regDV_[2]=9.0.30729.6161

set _fPath_[3]=%~dp064bit\Microsoft_C++_2010_Redistributable\vcredist_x86.exe
set _swtch_[3]=/q
set _regKy_[3]={F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
set _regDN_[3]=Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219
set _regDV_[3]=10.0.40219
set _fPath_[4]=%~dp064bit\Microsoft_C++_2010_Redistributable_(x64)\vcredist_x64.exe
set _swtch_[4]=/q
set _regKy_[4]={1D8E6291-B0D5-35EC-8441-6616F567A0F7}
set _regDN_[4]=Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219
set _regDV_[4]=10.0.40219

set _fPath_[5]=%~dp0~dep\Microsoft C++ 2012\vcredist_x86.exe
set _swtch_[5]=/q
set _regKy_[5]={33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}
set _regDN_[5]=Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030
set _regDV_[5]=11.0.61030.0
set _fPath_[6]=%~dp0~dep\Microsoft C++ 2012\vcredist_x64.exe
set _swtch_[6]=/q
set _regKy_[6]={ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}
set _regDN_[6]=Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030
set _regDV_[6]=11.0.61030.0

set _fPath_[7]=%~dp064bit\Microsoft_C++_2013_Redistributable\vcredist_x86.exe
set _swtch_[7]=/s
set _regKy_[7]={f65db027-aff3-4070-886a-0d87064aabb1}
set _regDN_[7]=Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501
set _regDV_[7]=12.0.30501.0
set _fPath_[8]=%~dp064bit\Microsoft_C++_2013_Redistributable_(x64)\vcredist_x64.exe
set _swtch_[8]=/s
set _regKy_[8]={050d4fc8-5d48-4b8f-8972-47c82c46020f}
set _regDN_[8]=Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501
set _regDV_[8]=12.0.30501.0

set _fPath_[9]=%~dp064bit\Microsoft_C++_2015_Redistributable\vc_redist.x86.exe
set _swtch_[9]=/s
set _regKy_[9]={462f63a8-6347-4894-a1b3-dbfe3a4c981d}
set _regDN_[9]=Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24212
set _regDV_[9]=14.0.24212.0
set _fPath_[10]=%~dp064bit\Microsoft_C++_2015_Redistributable_(x64)\vc_redist.x64.exe
set _swtch_[10]=/s
set _regKy_[10]={323dad84-0974-4d90-a1c1-e006c7fdbb7d}
set _regDN_[10]=Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24212
set _regDV_[10]=14.0.24212.0

set _fPath_[11]=%~dp064bit\Microsoft_VBA\vba71.msi
set _swtch_[11]=/passive
set _regKy_[11]={5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
set _regDN_[11]=Microsoft Visual Basic for Applications 7.1 (x64)
set _regDV_[11]=7.1.00.00
set _fPath_[12]=%~dp064bit\Microsoft_VBA_1033\vba71_1033.msi
set _swtch_[12]=/passive
set _regKy_[12]={90F60409-7000-11D3-8CFE-0150048383C9}
set _regDN_[12]=Microsoft Visual Basic for Applications 7.1 (x64) English
set _regDV_[12]=7.1.0.0

set _fPath_[13]=%~dp064bit\Bonjour\Bonjour64.msi
set _swtch_[13]=/passive
set _regKy_[13]={6E3610B2-430D-4EB0-81E3-2B57E8B9DE8D}
set _regDN_[13]=Bonjour
set _regDV_[13]=3.0.0.10

set _fPath_[14]=%~dp064bit\VSRemoteDebugger\install.exe
set _swtch_[14]=/q
set _regKy_[14]=Microsoft Visual Studio 2005 Remote Debugger Light (x64) - ENU
set _regDN_[14]=Microsoft Visual Studio 2005 Remote Debugger Light (x64) - ENU

:: http://help.solidworks.com/2017/english/Installation/install_guide/r_command_line_global_properties.htm?id=b7bcaf2e0749423ea08052441ca52365#Pg0
set _fPath_[15]=%~dp064bit\SOLIDWORKS\SolidWorks.Msi
set _swtch_[15]=/passive /forcerestart INSTALLDIR="C:\Program Files\Solidworks 2018" TOOLBOXFOLDER="C:\SolidWorks Data" UPGRADESWINSTALL=0 ENABLEPERFORMANCE=0 OFFICEOPTION=3 SOLIDWORKSSERIALNUMBER="9710 XXXX XXXX XXXX XXXX PKD5" SERVERLIST=25734@XAMPP ADDLOCAL=CircuitWorks,ExampleFiles,FeatureWorks,HelpFiles,Manuals,Motion,PhotoView,RealViewGraphicsdisplay,ScanTo3D,Simulation,SolidWorks,SolidWorksAnimator,SolidWorksCosting,SolidWorksRoutedsystems,SolidWorksToolbox,TolAnalyst
REM set _swtch_[15]=/qr INSTALLDIR="C:\Program Files\Solidworks 2018" TOOLBOXFOLDER="C:\SolidWorks Data" UPGRADESWINSTALL=0 ENABLEPERFORMANCE=0 OFFICEOPTION=3 SOLIDWORKSSERIALNUMBER="9710 XXXX XXXX XXXX XXXX PKD5" SERVERLIST=25734@XAMPP ADDLOCAL=CircuitWorks,ExampleFiles,FeatureWorks,HelpFiles,Manuals,Motion,PhotoView,RealViewGraphicsdisplay,ScanTo3D,Simulation,SolidWorks,SolidWorksAnimator,SolidWorksCosting,SolidWorksDesignChecker,SolidWorksRoutedsystems,SolidWorksToolbox,SolidWorksUtilities,TolAnalyst ; takes forever
set _regKy_[15]={837A0B0D-F508-4088-8B05-606477DEB905}
set _regDN_[15]=SOLIDWORKS 2018 SP05
set _regDV_[15]=26.150.0066

:: solidworks addon
set _fPath_[16]=%~dp064bit\SOLIDWORKS CAM\SolidWorks CAM.msi
set _swtch_[16]=/qr
set _regKy_[16]={C9043FEF-A6CE-4725-8A93-1488DF0335DF}
set _regDN_[16]=SOLIDWORKS CAM 2018 SP05
set _regDV_[16]=26.50.0066

:: view solidworks composer files - will restart machine
REM set _fPath_[17]=%~dp064bit\SOLIDWORKS Composer Player\SolidWorks Composer Player.msi
REM set _swtch_[17]=/qr
REM set _regKy_[17]={DED607E3-AA70-4A76-A7FD-56124754A762}
REM set _regDN_[17]=SOLIDWORKS Composer Player 2018 SP05
REM set _regDV_[17]=26.50.0066

:: requires SQL database install - later if required
REM set _fPath_[18]=%~dp064bit\SOLIDWORKS Electrical\SolidWorks Electrical.msi
REM set _swtch_[18]=/qr TOOLBOXFOLDER="C:\SolidWorks Data" UPGRADESWINSTALL=0 ENABLEPERFORMANCE=1 OFFICEOPTION=3 SOLIDWORKSSERIALNUMBER="9710 XXXX XXXX XXXX XXXX PKD5" SERVERLIST=25734@XAMPP ADDLOCAL=ALL
REM set _regKy_[18]=
REM set _regDN_[18]=
REM set _regDV_[18]=

set _fPath_[19]=%~dp064bit\SOLIDWORKS Flow Simulation\SolidWorks Flow Simulation.msi
set _swtch_[19]=/qr
set _regKy_[19]={984CA261-0340-4C4F-AC6E-FE4890B5D6DF}
set _regDN_[19]=SOLIDWORKS Flow Simulation 2018 SP05
set _regDV_[19]=26.50.0067

set _fPath_[20]=%~dp064bit\SOLIDWORKS Plastics\SolidWorks Plastics.msi
set _swtch_[20]=/qr
set _regKy_[20]={9F301E50-ED1C-408F-85AC-D182E400F61B}
set _regDN_[20]=SOLIDWORKS Plastics 2018 SP05
set _regDV_[20]=26.50.0066

set _fPath_[21]=%~dp064bit\SOLIDWORKS Visualize\solidworks visualize.msi
set _swtch_[21]=/qr
set _regKy_[21]={FA9DFD3D-B786-491F-8195-8320FA7D2425}
set _regDN_[21]=SOLIDWORKS Visualize 2018 SP05
set _regDV_[21]=26.50.0066

REM set _fPath_[2x]=
REM set _swtch_[2x]=
REM set _regKy_[2x]=
REM set _regDN_[2x]=
REM set _regDV_[2x]=


:: loop through installation packages
set _count=21
for /l %%g in (1,1,%_count%) do (call :sub_install "%%g")

:: cleanup
rd /s/q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2005" 2>nul
del "C:\Users\Public\Desktop\SOLIDWORKS 2018.lnk" 2>nul
del "C:\Users\Public\Desktop\SOLIDWORKS Visualize 2018.lnk" 2>nul


:: script finished
goto :eof


:sub_install <index>
call set _fPath=%%_fPath_[%~1]%%
if not defined _fPath goto :eof
call set _swtch=%%_swtch_[%~1]%%
call set _regKy=%%_regKy_[%~1]%%
call set _regDN=%%_regDN_[%~1]%%
call set _regDV=%%_regDV_[%~1]%%

:: multi query registry for 64bit and 32bit uninstall locations
:: display version
if defined _regDV for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayVersion" 2^>nul') do if "%%a" geq "%_regDV%" goto :eof
if defined _regDV for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayVersion" 2^>nul') do if "%%a" geq "%_regDV%" goto :eof
:: display name
if not defined _regDV for /f "usebackq tokens=1-2*" %%a in (`reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayName" 2^>nul`) do if "%%c" equ "%_regDN%" goto :eof
if not defined _regDV for /f "usebackq tokens=1-2*" %%a in (`reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayName" 2^>nul`) do if "%%c" equ "%_regDN%" goto :eof

:: install software with switch
echo Installing %_regDN%
start /wait "" "%_fPath%" %_swtch%

goto :eof


Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: Somewhat Difficult
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Solidworks 2018

Version

SP5.0

Questions & Answers (0)

Questions & Answers related to SolidWorks Corporation Solidworks 2018

Blogs (0)

Blog posts related to SolidWorks Corporation Solidworks 2018

Reviews (0)

Reviews related to SolidWorks Corporation Solidworks 2018