Windows Tech Support

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

Sunday, 25 September 2011

Acad 2012 DirectX - The Final Chapter

Posted on 16:29 by Unknown

I know that I said I was done with this topic, but someone hit me up over the weekend with a desperate request for help and I couldn't say no.  As always, I prefer to share answers on the blog rather than by e-mail because it [A] helps more people at one time and [B] avoids repeating the same answer over and over.  This might go a bit deep, but hopefully it serves to help someone out there to get over this hump with a little less effort.

The Better Way

If you have InstallShield, here's how to do this in the simplest and most effective way:

  1. On a clean reference computer (virtual machine) install the Remote Repackager
  2. Start the Repackage Wizard and select "Snapshot" mode, using multiple steps
  3. When the capture is done, click Finish
  4. Copy the "DirectX" folder from the "3rd Party" sub-folder of your AutoCAD 2012 network deployment into the C:\Windows\Temp folder of the reference computer (making C:\Windows\Temp\DirectX)
  5. Open the folder and launch DXSETUP.exe and complete the process to "finish"
  6. Re-run the Repackage Wizard in snapshot mode to capture the delta state info
  7. Save the output to C:\Packages on the reference computer
  8. Copy the output up to your InstallShield developer share so you can edit it further

When you open it in Repackager, exclude all the junk that relates to "per-user" stores (HKCU, User Profile, etc.) and exclude anything not related to your DirectX installation (background scans, scheduler services, etc.)  Save the output to a new folder (e.g. "Project")

Open the .ism output from the "Project" folder in InstallShield Editor.

Set all the desired properties (title, subject, comment, etc.), there's a lot of stuff to manipulate, so unless you need all the nitty-gritty details I'll skip over them for now.

Build the project into an .MSI package

Run the MSI Validation and clean up any ICE references that matter (ignore ICE27, for example - but don't ignore ICE18, and so on).  Build again, and repeat the Validation until all is good.

You should now have a .MSI installer

TESTING

Once you have your shiney new .MSI installer, test test TEST TEST TEST TEST it until you feel good it's working like it should.  By TEST I mean install it on a new computer, along with .NET 4.0, and then target that computer with the AutoCAD 2012 network deployment using Configuration Manager 2007 or Altiris, etc.  If it works fine and the application launches without errors, you're good.  DO NOT - I REPEAT - DO NOT look at the Configuration Manager advertisement report for the "Success" and call it a "win".  That's NOT good enough.

DANGER ZONE

This is where we separate the men from the boys (or more apropos: we separate the daring idiots from those that prefer to keep their job).

WARNING: The rest of this article is UNSUPPORTED and potentially RISKY.  Always make a backup of your entire AutoCAD network deployment share before making any manual changes.  This information is NOT supported or condoned by Autodesk, its resellers or anyone on this planet.  I do not guarantee this will work for you and there is NO WARRANTY provided, either explicitly or implicitly, for any purpose or use whatsoever.  I accept NO LIABILITY or responsibility for any consequences that may arise from your use or adaptation of this information for any purposes.  In short: YOU ARE ON YOUR OWN - YOU ACCEPT ANY AND ALL RISK from this point on.  Results may vary.  Batteries not included.

Place the new Acad2012DX.msi file in a folder under your AutoCAD 2012 network deployment share.  You can drop it in the "DirectX" folder actually.

Open the deployment .INI file and locate the [DIRECTX] key.  It should look something like the example shown below.

[DIRECTX]
PLATFORM=ALL
PRODUCT_NAME=DirectX Runtime
EXE_PATH=3rdParty\DirectX\DXSETUP.exe
EXE_PARAM=/silent
IGNORE_FAILURE=YES
DISKCOST=50000000

Change the values beneath it to suit the new .MSI installer, as shown in the following EXAMPLE...

[DIRECTX]
PLATFORM=ALL
PRODUCT_NAME=DirectX Runtime
EXE_PATH=3rdParty\Directx\Acad2012DX.msi
EXE_PARAM=/quiet /norestart
LOG=%tmp%\Acad2012DX.log
IGNORE_FAILURE=YES

Save the file and test a deployment on a computer that has .NET 4.0 but has not had AutoCAD 2012 installed prior to your testing. 

NOTES

I have not provided any guidance for getting .NET 4.0 to install with the AutoCAD deployment bundle (via a Configuration Manager 2007 unattended deployment), because I feel it's bad to try to do it that way.  I recommend deploying .NET 4.0 as a separate package/advertisement, in advance of deploying AutoCAD 2012.  The only reason I bother with DirectX like this is because it's a custom DirectX installation (from Autodesk, not me), so it fits more logically with the AutoCAD deployment, than as some sort of general Windows platform update.  Basically, you would never deploy this without AutoCAD 2012, while .NET 4.0 on the other hand would be.

I hope this wraps this boring, ugly, depressing saga up with no hanging threads.

Drop a comment (reply) here if you have any helpful advice for making this work better/faster/easier than I've described.  We'd love to hear it.  I'd love to put the final nail in this coffin and move along actually.

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | 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)
      • Swallowing Without Looking
      • The Zen of Systems Automation
      • Interaction is Highly Overrated
      • Testing. Testing. Testicles?
      • Autodesk Network Deployment Strategies
      • Slow Autodesk Network Deployments?
      • Querying Services on Remote Computers
      • Test ADO Connection using VBscript
      • 10 Ways to Manage Windows Services
      • 5 Ways to Read Windows Event Logs
      • Automation Gyration
      • 11 Ways to Manipulate the Windows Registry
      • Acad 2012 DirectX - The Final Chapter
      • 10 Easy Ways to Screw Up a Good Computer
      • College Degree vs. Cert vs. Experience
      • Self-Review Time
      • A Friday Mini Braindump
      • What Makes a Great IT Professional
      • What's Wrong with Google+?
      • A Pictorial Timeline
      • Windows 8 Dev Prev - VMware Player Error
      • Organic Architecture. Part 1
      • Windows 8 - My First 4 Hours
      • Windows 7 System Restore: A Lifesaver
      • Moochers Everywhere
      • Changes
      • By The Numbers
      • When You're Bored
      • The Candidates
      • Two Questions
      • Tune In. Turn On. RSS Feed Out
      • Nanny State?
      • Awesometarded?
      • Patching Civil 3D 2011 - Part 3, The Final Chapter
      • Patching Civil 3D 2011 - Part 2
    • ►  August (29)
    • ►  July (17)
    • ►  June (23)
    • ►  May (20)
    • ►  April (38)
    • ►  March (61)
    • ►  February (54)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile