SOLIDWORKS Admin Image Deployment
This document is intended for IT administrators and SolidWorks Power Users with installation privileges. The installation procedure outlined below is not intended for single workstation installations and it is best suited for deployments in environments with 5+ SOLIDWORKS installations.
The general procedure outlined here is intended to assist you with putting together an installation package and preparing it for deployment. Your individual environment and deployment tool may vary slightly from methods outlined here. Please adapt this to suit your needs and notify us if you need further assistance with the deployment.
We will review the following sections in this guide:
NOTE: Any installation from an admin image may not be modified or repaired from the Programs and Features area in the Windows Control Panel on the client. Changes to the client installation are instead performed by re-deploying the image or uninstalling from the client.
We will use the following procedure to install an administrative image to a folder share on the server you intend to run the image from. The location for our share is on D:\SW_Images for the example. This location will be shared using the server location \\HOU-SAM-X\SW_Images.
1. Login to customerportal.solidworks.com
(should you need to setup an account, refer to our tech article for setting one up: https://mlc-cad.com/solidworks-help-center/download-installation-media/)
a. Select Downloads and Updates
b. Download the installer for the desired version of SOLIDWORKS Software
2. Run the downloaded installer
3. Select “Create an administrative image to deploy to multiple computers”
NOTE: This guide is directed toward setting up an image for the first time. If you have an existing image you can choose “Create a new image using settings and files from an existing image. This will save you a lot of time later in the guide.
a. Click Next
b. Input all SOLIDWORKS Serial numbers licensed to you
c. Click Next
d. Select Change in the Products Section
i. Note: You will want to install all products used by anyone in your organization. We will limit their use later in this process.
f. Click Back to Summary
g. Select Change in the Administrative Image Location Section
h. Select Browse and locate your share directory
j. Select to Accept the terms of SOLIDWORKS
k. Select Download and Create Image
l. When Complete, Select Customize Image
NOTE: Once the image is completed you can access the customization area by opening ‘sldAdminOptionEditor.exe’.
a. Instead of selecting Upgrade… we will choose “Create a new Major Version”
NOTE: We recommend using this combination of “Create a new Major Version” and “Uninstall All Versions”. It will cleanse the machines of all prior versions of SOLIDWORKS to provide a very consistent client experience. Choosing “Upgrade an Existing Major Version” can leave undesirable remnants of old installations.
i. Select to remove Registry Entries
NOTE: Selecting this option will remove all custom interface settings for the client. This guide assumes that a best practice settings file will be deployed with the completed image.
ii. Select to remove Data Files and Folders
NOTE: If the Toolbox is located on a network share or in SOLIDWORKS PDM this option can be used. If the Toolbox is local to the client and has been customized, the information should be backed up prior to deploying this option. The default local data location for Toolbox is C:\SOLIDWORKS Data\.
NOTE: This section of the setup may require a design and drafting power user to assist IT. These settings are potentially specific to your engineering environment.
If this is being done from the standards machine then you can use the option “Import SOLIDWORKS 2020 options from this computer”.
If you already have an established settings file in sldreg or sldSetting format, then you can browse for your file using the ‘…’ button.
i. Click Next
ii. Make desired changes. You will need to select each item on the left, then choose what to change on the right. Changed/Locked settings will be applied to machines during the deployment phase.
iv. Click Next
v. Fill out the form with the following information
Organization = MLC CAD Systems
Email = email@example.com
Phone = (800) 364-1652
Web = https://mlc-cad.com/solidworks-case-request/
Web Text = SolidWorks Support Request
Note = If this is the first time you are seeing this issue, please restart your machine and try the function again. Otherwise, please use SOLIDWORKS RX’s Problem Capture utility to capture the issue for support to review.
vi. Then select Preview to view the dialog
vii. Click Close and Next
viii. Input the correct CAD Admin credentials and password for options changes
ix. Click Save and navigate to the Image Location (D:\SW_Images\)
x. Name the file SW_Settings
xi. Click Save and OK
e. Once complete, click the Change button again to accept the Global changes to the image
c. Right-click the group and choose Add Machine
i. Using the Add Multiple Machines will pull a list from the domain
ii. Machines can also be added by IP or by IP range
b. Select Change
c. Once complete, click the Change button again to accept the Group changes
7. Select OK when finished with all options changes
Deployment with SOLIDWORKS Deployment Method
There are two types of deployment using the SOLIDWORKS Deployment Methodology, the first is a manual option where the user or IT technician “pushes the button”. The second is utilizing an automatic deployment option for push deployment. We will cover each in detail here.
NOTE: A ‘Send Email’ option is also available in the Option Editor to help with distributing the network location via email.
1. Open Windows Explorer (WIN+E)
2. Navigate to the Image share by typing in the navigation bar (\\<server>\<ImageShare>\)
Example: (\\HOU-SAM-X\SW_Images\SOLIDWORKS 2020 SP0.1)
3. Double-Click ‘StartSWInstall.hta’
4. Select ‘Install SOLIDWORKS Products Now’
5. Select Finish when the installation is complete
With automatic deployment, installation tasks are pushed to target machines and carried out by the Microsoft Task Scheduler on each system, without requiring any actions by users. Use this method when users do not have administrative privileges to install software on their systems.
With a push installation, the Task Scheduler launches SOLIDWORKS Installation Manager to run under credentials specified by you, the administrator. The Task Scheduler runs under the computer’s LocalSystem account. This account is represented on the network as a computer security principle. The computer security principle must have read access to the shared folder where the administrative image is located.
In Active Directory, when you add a computer to a group of a shared folder, select Object Types and make sure that Computers is selected. In addition, the computer serving the administrative image and the target client machines must be members of the same Active Directory domain.
1. Select Deploy Automatically in the Option Editor
2. Select the machines/groups you wish to deploy
3. Set the option on the right for the deployment
a. Use the Test button to verify that the clients will deploy
b. Should the Test fail, hovering over the red X will offer some guidance
c. Prior to Deploying the image all tests will need to be successful, use the Test and Run Again options until all issues are resolved.
a. Verify the network path
b. Click OK
c. Status Column will show completed installations
This section will review the code required for scripted installations and push deployment methods using alternate push deployment software, such as Microsoft SCCM.
Prepare clients for installation
Command Line Scripted Installation
This method can be used to install or uninstall an administrative image on a machine. The method uses the StartSWInstall.exe program from the administrative image location. Use the following syntax for the method:
“\\<server>\<image>\StartSWInstall.exe” /Install /Now
Example: “\\Hou-SAM-X\SW_Images\SOLIDWORKS 2020 SP0.1\StartSWInstall.exe” /install /now
Leveraging this command line string for use in Windows Active Directory script deployment can be performed by placing the installation code inside of a .bat file or powershell script.
To create a batch (.bat) file, do the following: