Archive for June, 2012

Deploy AutoDesk DWG TrueView 2013 using SCCM 2012

These are the steps I took to deploy AutoDesk DWG TrueView 2013 using System Center Configuration Manager 2012 (SCCM 2012).

These steps are for deploying DWG TrueView 2013 x64 to Windows 7 Enterprise x64 machines. Make sure you download the correct version of DWG that meets your needs. Download link for DWG TrueView 2013 is here.

For starters, make sure you meet the application requirements.
  1. Microsoft .NET Framework 4 SP1 (or update 1)
  2. VC++ redistributables: 2005 SP1, 2008 SP1 and 2010 SP1
  3. DirectX
Now, since I’m using SCCM 2012, I created a Software Update Group (SUG) to deploy .NET 4 SP1 and all VC++ redistributables.
For .NET Framework 4 you can select the following Microsoft’s articles ID from All Software Updates node in SCCM: 2656405, 2656351(2 updates), 2604121 (3 updates), 2656405, 2487367, 982671 (this is the actual framework) and 2487367. You can add all these updates, put them in a SUG and deploy this to your clients before attempting to deploy DWG TrueView.

As for VC++ redistributables , some are already installed since the SCCM client requires some of these to work properly, so just check your client testing machine and deploy the one(s) missing.

Now, to create the application in SCCM 2012.

  1. In the Create Application Wizard, select Manually specify the application information
  2. In the General section, fill in the proper fields for this application
  3. In the Application Catalog section, fill in the proper fields for this application
  4. In Deployment Types section, click on Add
  5. In the Create Deployment Type Wizard, select Script Installer (Native), and make sure that Manually specify the deployment type information has been selected
  6. In General Information section, fill in the proper fields for this application
  7. In Content section, browse to the network location where you saved DWG TrueView installer files
  8. In the Installation program field, type: setup.exe /w /t /l /q setup.ini  (do not type any quotes!)
  9. In the Uninstall program field: I’m still trying to research how to create an uninstall command for DWG TrueView
  10. In the Detection Method section, click on Add Clause
  11. In Setting Type field, select Windows Installer
  12. In Product Code type: {5783F2D7-B028-0409-0100-0060B0CE6BBA}  (you get this product code from an MSI located in \x64\dwgviewr\dwgviewr.msi)
  13. In the User Experience section, for Installation behavior, select Install for system
  14. For Logon requirement, select Whether or not user is logged on
  15. The next sections can be customized to meet your needs
These steps worked for my environment.

To-do: I still need to figure out how to un-install DWG TrueView 2013. At this point, only the deployment works properly.

From step 8
From steps 11 and 12

Remove TrueView 2013 Desktop Shortcut

This is an optional step, so follow it if you want to remove the desktop shortcut created by setup.exe.

Previously in Step 8, we used setup.exe command line to create the application package. You’re going to create a batch file (INSTALL.CMD) and type its name in this field replacing the entire setup.exe command line.

Here’s how batch file INSTALL.CMD should look like:

REM Install DWG TrueView 2013
setup.exe /w /t /l /q setup.ini

REM Delete desktop shortcut created by SETUP.EXE for all users
del /q c:\users\public\desktop\dwgtru~1.lnk

Note: If a user is logged on while the application is being installed, the user will see the icon for a few seconds while setup.exe finishes and passes control back to the batch file.
There is a setup.ini file which contains CREATE_DESKTOP_SHORTCUT=YES – changing this line to NO did not work for me, that’s why I decided to use the batch file installation approach.

Leave a comment