Windows Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 25 March 2011

Package DirectX for AutoCAD 2012 and Wise Package Studio

Posted on 07:39 by Unknown
I'm currently working on a new book as a follow-up on the previous edition called "The AutoCAD Network Administrator's Bible, 2012 Edition" to focus on changes provided in AutoCAD 2012.  This is an excerpt.

Because Autodesk is still ignoring me (story of my life), the situation with regard to using SCCM to install a network deployment package of AutoCAD 2012 is still hampered by DirectX and also .NET 4.0.  That's life.  There are ways around these road bumps.  First, I will run through packaging the custom DirectX bundle.  .NET 4.0 is easy to push with SCCM, but it has to be done before you deploy the AutoCAD 2012 deployment package.  Otherwise it will crash and burn but still report back "Success!" and laugh at you.

To compile the DirectX component installer package for AutoCAD 2012 using Wise Package Studio version 8.0.   WPS 7.0 is pretty much the same (8.0 is essentially 7.0 SP4 anyway), and these idiotic instructions should work the same.  The process for InstallShield / AdminStudio is roughly the same (you bundle up the files, drop them on the client and run the install with /SILENT and tell it to ignore the exit code).  Ok, that was the spoiler, so you can skip the rest and do it yourself, but if you want more detail, keep reading...

Preparation
  1. Copy the “DirectX” folder from the AutoCAD 2012 installation source (it can be found under “\3rdParty\DirectX”) and place the copy somewhere like C:\Acad2012DX.   The files that are included are:
  • Apr2006_d3dx9_30_x64.cab
  • Apr2006_d3dx9_30_x86.cab
  • Apr2006_MDX1_x86.cab
  • Apr2006_MDX1_x86_Archives.cab
  • Apr2006_D3DCompiler_42_x64.cab
  • Apr2006_D3DCompiler_42_x86.cab
  • Apr2006_d3dx9_42_x64.cab
  • Apr2006_d3dx9_42_x86.cab
  • Apr2006_d3dx10_42_x64.cab
  • Apr2006_d3dx10_42_x86.cab
  • Apr2006_d3dx11_42_x64.cab
  • Apr2006_d3dx11_42_x86.cab
  • DSETUP.dll
  • dsetup32.dll
  • dxdllreg_x86.cab
  • DXSETUP.exe
  • dxupdate.cab
Create a Wise Project

1.       Open Wise Package Studio
2.       Click File / New Project
3.       Fill-out the Project information and Save it
4.       In the left-hand panel, under the “Projects” tab, select “Run” beside “Create Package”
5.       If you have a Wise Share Point server environment, select the top “Change” button and select “Use configuration file on share point”, click OK
6.       Click “Next”
7.       Select “Snapshot”, click “Next”
8.       If prompted to choose “Use initial scan” or “Rerun the initial scan” choose the latter, click “Next”
9.       Click “Next” to begin the snapshot scan
10.   On the “Execute Installation” page, leave all entries blank and click “Next”
11.   Click “Next” again to end the snapshot scan
12.   On the “Inclusions” page, make sure nothing is included (Files, Registry, INI, Shortcuts). If any items are captured, select them and click “Exclude” to remove them.  Click “Next”
13.   On the “Exclusions” page, click “Next”
14.   On the “Finish” page, confirm the package information and click “Finish”

After the base project package is created it will return to the Project menu.  Click “Run” next to “Edit package”
  1. When the “Windows Installer Editor” window appears, click “Files” under “Feature Details”
  2. In the lower left-hand panel, under “Destination Computer”, expand to select \Windows\Temp (highlight the folder)
  3. In the upper panel, expand the drive to access the folder where you placed a copy of the DirectX files (e.g. “C:\Acad2012DX”) and select that folder (highlight it)
  4. Click the “Add Contents” button, confirm and click OK
  5. Save the Project (press CTRL+S)
  6. Click the “MSI Script” tab (at bottom)
  7. Select the “Execute Deferred” tab (bottom right)
  8. Scroll to the bottom of the script editor and click (once) on the “InstallFinalize” line
  9. In the left-hand “Actions” panel, double-click “Execute Program From Installed Files”
  10. Set the Custom Action Properties:
    1. Custom Action Name: “InstallDirectX”
    2. Executable File:  (select DXSETUP.EXE)
    3. Command Line Arguments: /SILENT
  11. Click the “Properties” tab
    1. Set Processing to “Synchronous, Ignore exit code”
  12. Click OK
  13. The new line should read “Execute Installed Program DXSETUP.exe Command Line /SILENT (InstallDirectx)” and appear just above the “InstallFinalize” line.  If you insert it in the wrong place, use CTRL+UP or CTRL+DOWN to move the line up or down in the editor.
  14. Save the Project
  15. Compile the Package (press F7)
Deploying it with SCCM

You have two options, maybe more (but it's Friday and I'm too lazy to think of more than two, so, that's pretty much the deal for now):
  1. Grab the .MSI file and stuff it into SCCM as a new package and advertise it at the Collection which contains the computers that will later on receive AutoCAD 2012 - OR...
  2. Make a .CMD script to run your new DirectX .MSI package and then run the AutoCAD 2012 deployment installation.
As for .NET 4.0

Copy the folder from the AutoCAD 2012 installation media that contains the .NET 4.0 installer files.  This resides under "\3rdParty\NET\4\wcu\dotNetFramework" and paste it into a folder on your SCCM package source share folder structure

Create a new SCCM package that points to that new folder.

Create a new program within that package for x86 and another for x64 (if needed) using one of the commands below (depending on 32 or 64 bit)
  • dotNetFx40_Full_setup.exe /q /x86 /norestart /lang:ENU
  • dotNetFx40_Full_setup.exe /q /x64 /norestart /lang:ENU
Set the program to suppress notifications (advanced tab) and run "whether or not user is logged on" (environment tab)

Advertise it to the same collection (ahead of the AutoCAD 2012 deployment) - OR - drop this into a script and make it all a single SCCM package along with the DirectX installer.  You might want to add a line of code to check if .NET 4.0 is already installed and skip the installation of .NET unless it hasn't been installed.  A pretty good way to check for .NET 4.0 is

if exist "%windir%\Microsoft.NET\Framework\v40.30319" (
   echo dotnet 4.0 is installed
) else (
   echo dotnet 4.0 is not installed
)

Enjoy!


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in autocad, autodesk, config manager, installation, network administration, sccm, software packaging | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Voting Time: Help Me Out?
    I need to get a better view of how I should manage this blog if I'm going to keep at it. I'd like to know how you typically discover...
  • A World Without Competition
    Try to imagine what things would be like today had there not been fierce competition in certain key parts of our world.  I’ll give you some ...
  • Book Update
    I posted some gibberish a few weeks ago about another book project.  Well, I'm getting close to wrapping it up, so I thought I'd go ...
  • Cost
    Software technology, like any technology, provides a means to solving problems.  Some big. Some small.  Some that help.  Some that hurt.  An...
  • Windows 7: Default User vs All Users
    A lot of confusion seems to occur with understanding the difference between the "Default User" profile, and the "All Users...
  • Time to Give Props
    With the ever-expanding volume and breadth of information on the Internet today, it's easy to focus on my own thoughts, experiences, ide...
  • Table of Contents (Preliminary)
    Here's the preliminary Table of Contents for my new book "The AutoCAD Network Administrator's Bible - 2013 Edition".  I...
  • The Nicest IT and IT Vendor Folks I Know
    I've ranted many times before how it's unfair to "hate" an entire company, without providing a rationale for it based on s...
  • Windows 8
    Two small, yet irritating things, that I hope Windows 8 addresses with respect to Windows 7: Being able to put the Recycle Bin in the S...
  • Stupid Assumptions
    After years of watching sci-fi TV shows, movies, etc. it's finally come to a point where even the so-called brightest of our authors and...

Categories

  • a
  • activation
  • active directory
  • advertising
  • agile
  • agility
  • amazon
  • american
  • apple
  • application virtualization
  • applications
  • art
  • articles
  • asp
  • augi
  • authors
  • autocad
  • AutoCAD Autodesk
  • autodesk
  • autolisp
  • automation
  • automotive
  • backups
  • batch
  • beer
  • beta
  • blackberry
  • blogs
  • bongloads
  • book
  • books
  • Books writing kindle amazon technology business projects
  • browsers
  • business
  • cad
  • career
  • certification
  • chrome
  • city government
  • civilization
  • cloud services
  • cmd
  • cmmi
  • comedy
  • command
  • community
  • computers
  • conferences
  • config manager
  • consultants
  • consulting
  • contracting
  • cranium drainium
  • crapware
  • culture
  • data center
  • data mining
  • databases
  • deployment
  • directx
  • DLL
  • domains
  • dumb
  • earth
  • economy
  • editor
  • education
  • election
  • elections
  • employment
  • engineering
  • entertainment
  • environment
  • error monitoring
  • events
  • exchange
  • facebook
  • family
  • firefox
  • flexnet
  • fud
  • fun
  • funny
  • games
  • gary vaynerchuk
  • gmail
  • google
  • government
  • group policy
  • hampton roads
  • health
  • history
  • holidays
  • home
  • html5
  • humor
  • hyper-v
  • iis
  • industry
  • infrastructure
  • installation
  • installshield
  • internet
  • internet explorer
  • interviews
  • jobs
  • jtbworld
  • kindle
  • kixtart
  • lab setup
  • languages
  • ldap
  • learning
  • legal
  • licensing
  • life
  • lifecycle
  • linux
  • lisp
  • logging
  • management
  • manufacturing
  • marketing
  • markets
  • mdop
  • mdt
  • medical
  • messaging
  • microsoft
  • microsoft access
  • military
  • mountains
  • movies
  • mozilla
  • music
  • nature
  • network administration
  • news
  • nook
  • nothing
  • office
  • open source
  • openoffice
  • opera
  • operating systems
  • oracle
  • osx
  • packaging
  • patches
  • people
  • photos
  • podcasts
  • policy
  • politics
  • powershell
  • predictions
  • process automation
  • products
  • programming
  • projects
  • psychology
  • publishing
  • rail
  • reading
  • registry
  • religion
  • reporting
  • reviews
  • rsat
  • rss
  • safari
  • safety
  • sales
  • satire
  • sccm
  • scheduling
  • science
  • scripting
  • search
  • security
  • servers
  • services
  • sharepoint
  • shopping
  • sms
  • social stuff
  • society
  • softgrid
  • software assurance
  • software deployment
  • software development
  • software packaging
  • sony
  • speaking
  • sports
  • sql express
  • sql server
  • statistics
  • Statistics news marketing
  • steve jobs
  • stories
  • stuff
  • stupidity
  • symantec
  • sysinternals
  • system center
  • systems architecture
  • t-sql
  • taxes
  • technet
  • technical support
  • technology
  • TED
  • ted talks
  • testing
  • textpad
  • thoughts
  • traffic
  • training
  • transportation
  • travel
  • troubleshooting
  • tutorials
  • twitter
  • ubuntu
  • unattend
  • unemployment
  • updates
  • upfront ezine
  • utilities
  • vacation
  • vba
  • vbscript
  • video
  • virginia
  • virginia beach
  • virtualization
  • visual lisp
  • vmware
  • vmware server
  • voting
  • war
  • weather
  • web
  • web browsers
  • web development
  • web sites
  • windows
  • windows 7
  • windows live
  • windows server
  • windows server 2012
  • windows8
  • winpe
  • wise
  • wmi
  • work
  • writing
  • ws08
  • wsus
  • wwa
  • x64
  • xml
  • ze frank

Blog Archive

  • ►  2013 (37)
    • ►  October (1)
    • ►  September (5)
    • ►  August (8)
    • ►  July (2)
    • ►  June (4)
    • ►  May (4)
    • ►  April (2)
    • ►  March (2)
    • ►  February (8)
    • ►  January (1)
  • ►  2012 (120)
    • ►  December (14)
    • ►  November (12)
    • ►  October (10)
    • ►  September (7)
    • ►  August (3)
    • ►  July (2)
    • ►  June (6)
    • ►  May (6)
    • ►  April (20)
    • ►  March (16)
    • ►  February (18)
    • ►  January (6)
  • ▼  2011 (343)
    • ►  December (15)
    • ►  November (23)
    • ►  October (27)
    • ►  September (35)
    • ►  August (29)
    • ►  July (17)
    • ►  June (23)
    • ►  May (20)
    • ►  April (38)
    • ▼  March (61)
      • The AutoCAD Network Administrator's Bible - 2012 E...
      • Reminding Yourself That Not Every Problem has a So...
      • How My Brain (sort of) Works
      • The AutoCAD Network Administrator's Bible - 2012 E...
      • Desktop vs Mobile: What Won't Change
      • Ralph Grabowski - What's Inside? AutoCAD 2012 ebook
      • Owen Wengerd on Muzzling AutoCAD 2012 InfoCenter
      • RIP Windows XP
      • AutoCAD 2012 VBA Enabler
      • Addendum to Packaging DirectX for AutoCAD 2012
      • Reverse Engineering AutoCAD 2012 Deployment INI Files
      • Package DirectX for AutoCAD 2012 and Wise Package ...
      • AutoCAD 2012 Network Deployments and SCCM
      • WWA: Toasted and Done
      • The Basis of a Base Image
      • SCCM 2012 Beta 2 is Now Available
      • Tech's Biggest Eaters
      • What does DCDIAG actually… do? - Ask the Directory...
      • PDF Sucks - eBooks Rule
      • Technical Books
      • History Always Repeats - but we only have a Pinhol...
      • I'm Not Kidding. I really have no life
      • Why I was Wrong: Part 2b
      • Five (5) Myths of Modern IT
      • WWA Code Freeze - Part 2
      • Code Freeze
      • A Book of Books
      • I Was Wrong
      • WWA build 2011.03.16.002 - Updated Screen Shots
      • Script/SCCM Upgrade Office 2007 to Office 2010
      • Managing Windows, AD and SCCM via the Web?
      • WWA Project Web Site is up
      • WWA Development Notes
      • More Screen Captures
      • Screen Shots of Windows Web Admin
      • Change of Direction: SCCM Web Admin to Web Admin?
      • App-V 4.6 SP1: SFTLIST crashes during Windows 7 SP...
      • Sequencing AutoCAD 2008 with App-V 4.6 SP1
      • State of the Blog
      • Software Deployment Methods Compared
      • Correcting Myself. Again.
      • SCCM Web Admin Project (update)
      • SCCM Web Admin Project
      • SCCM Deployment Program Sequencing
      • Three Days without my Server
      • Made in 'merica
      • The Love/Hate of Technology
      • Groceries
      • My Interview with some Extreme Visionaries
      • Google CR-48 Chrome Book - More Thoughts on my Tri...
      • Beware Kindle Book Ratings
      • Do's and Don'ts from the Field
      • Useless Data: Average Daily Work E-mail Volume
      • Preparing to Migrate from XP to Windows 7 in a Dom...
      • Happy Birthday Blog
      • The Social Network vs. the Book
      • What I've Accomplished This Week
      • Business and IT Stupidity
      • IT Support 101
      • Irony or Ignorance?
      • Facebook
    • ►  February (54)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile