Showing posts with label mdt. Show all posts
Showing posts with label mdt. Show all posts

Monday, September 3, 2012

Table of Contents (Preliminary)

Here's the preliminary Table of Contents for my new book "The AutoCAD Network Administrator's Bible - 2013 Edition".  I'm very close to wrapping it up, and as soon as it is reviewed and checked, I can incorporate the corrections and publish it on Amazon.


Contents
Introduction
What’s New in This Book
About the Author (me)
Overview
Who This Book is For
Terms Used in This Book
Why Bother With Network Deployments?
Assumptions
Planning & Design
Testing
Roll-Out
Technical Support
Environmental Changes
Organizational Environment Types
The Small Office Home Office (SOHO)
Small Business
Small-to-Medium Business (SMB)
Enterprise WAN
International Enterprise WAN
Deployment Planning
Resources
Constraints
Designing a Deployment Solution
Autodesk Product Deployments
Target Client Devices
32-bit AutoCAD 2013 installations (minimum)
64-bit AutoCAD 2013 installations (minimum)
AutoCAD Mac installations (minimum)
More Client Device Types
Deployment Servers
License Servers
Storage
Naming Conventions
Software and Licensing
Designing a License Management Architecture
Distributed License Server Responsiveness
Distributed Licensing and Client Settings
Network License Manager Folders
Virtual Environments
Making Your Business Case Work
Deployment Methods
Interactive (Manual)
Scripting
Group Policy (GPO)
System Center Configuration Manager
Client Imaging
Creating an AutoCAD 2013 Deployment
Walking Through the Process
Including Service Packs and Updates
Exploring the Deployment Folder
Copying and Moving Deployments
Deployment Folder Security
Windows File System Security Basics
The “Domain Computers” Group
Removals and Upgrades
Deploying License Servers
Single Server Configuration
Verifying the FlexLM / NLM Version
Sharing Licenses with Other Vendors and Products
Upgrading FlexLM and LMTOOLS
FlexLM and Firewall Considerations
Additional FlexLM Features
Verifying FlexLM License Services on Windows
Additional Information:
Using Configuration Manager 2007
Deployment Scenarios
Configuration Manager Basics
Configuration Manager 2007 Terminology
A High-Level Overview
Configuration Manager Deployment Overview
Selective Targeting
Configuration Manager Deployment Strategy Tips
AutoCAD Deployments vs. Distribution Points
Creating a Configuration Manager Package
Creating a Program
Creating the Advertisement
Testing your Deployments with Configuration Manager
Tracking Configuration Manager Deployments
Updating Collections
Advertisements and Web Report History
AutoCAD 2013 Installation Documentation
Using Configuration Manager 2012
Applications vs. Packages
Preparation
Creating an Application
Creating a Deployment Type
Targeting Users and Devices
Deploying AutoCAD 2013 with Group Policy
Assign an installation to a Computer
Adding a Language Pack to the Group Policy Deployment
Microsoft Deployment Toolkit 2012
Configuration Manager vs. MDT
Overview of MDT 2012 Features
MDT 2012 Update 1
Basics of Provisioning
MDT Deployment Options
Manual Interaction
Boot Media
Windows Deployment Services
Configuration Manager OSD
Deploying DWG TrueView with MDT 2012
Basic Setup
Preparation
Creating an Application
Creating a Task Sequence Item
Updating the Deployment Share
Updating Deployment Media Content
Deploying AutoCAD 2013 with MDT 2012
Option 1, Leave the AutoCAD Deployment As-Is
Option 2, Copy into MDT and modify Deployment .INI file
Preparation Work
Screen Shots of the Deployment in Action
Conclusion
Deploying Prerequisites
Deploying Microsoft .NET Framework 4.0
Deploying .NET Framework 4.0 with Configuration Manager 2007
Deploying .NET Framework 4.0 with Configuration Manager 2012
Design Review 2013
Deploying Autodesk Design Review 2013 with Configuration Manager 2007
DWG TrueView 2013 via Configuration Manager 2007
DWG TrueView 2013 via Configuration Manager 2012
Prerequisites
Create the Application
Create the Installation Deployment Type
Making an Uninstall Deployment Type
Setting up the Detection Method
Setup.EXE and Spawned Processes
Performance Optimization
Autodesk 360
Troubleshooting Tips
Investigating Deployment Issues
Forcing Windows Installer Logging
Troubleshooting Custom Deployments
Dave’s Troubleshooting Procedures
Communication Center / Information Center Issues
Restoring a Bad AutoCAD Profile
Forcing a Mandatory AutoCAD Profile
Restricted Users
Plotting Issues
Corrupted DWG Files
The PURGE Command
ObjectARX and Proxy Objects
Disappearing Dialogs
Converting DWG Formats
DWG vs. DWGx Files
Interoperability
Calling in the Big Guns
Environmental Changes
Server Changes
Printer and Plotter Changes
Product Service Packs, Updates, and Hot-fixes
Third-Party Add-Ons
Hardware Failures
Standalone License Activation
Network License Server and Client Changes
Facility Outages
Employee Changes

Packaging and Custom Automation Tools
CACLS and XCACLS
Comparing CACLS and XCACLS
REGINI
REG.exe
Microsoft Installer Clean-Up Utility
Sysinternals Utilities
PowerShell
Scripting Examples
CMD Script - Install AutoCAD 2013
Notes:
PowerShell Script - Install a Windows Installer Package
PowerShell Script - Install Multiple Windows Installer Packages
PowerShell Script - Install DWG TrueView 2013
What is a "Short" File or Folder Name?
Appendix A - Recommended Web Sites
Appendix B - Recommended Books
Appendix C - Helpful Blogs and Twitter Folks
Acknowledgements
Where You Can Find Me


Friday, June 15, 2012

Microsoft TechEd 2012 - The Experience in Review

I'm not a professional writer, well, actually, that's not true.  I have written a few (e)books for sale on Amazon, so I guess that makes me a professional, even though I don't earn enough to make a car payment from that, it still helps.  However, I did spend a week in Orlando (thank you to my company president for sending me!  very much appreciated!), attending the Microsoft TechEd 2012 conference.

Key Take-aways for me:


  • My skills are getting dated
  • The changes coming with the 2012 products are vast and diverse
  • Microsoft is changing their direction in some very surprising ways
  • My skills are getting dated, but so are everyone else's now
Like many attendees, I flew in on Sunday, got to my hotel and immediately went on a hunt for food and beer.  It was HOT and HUMID, as is expected in Florida in June.  I walked a mile to meet up with my team mates at their hotel (we were booked in separate places due to timing), and I lost about 10 lbs from sweat along the way.  
Hotel Room - Day 1
Just for the record: The Wyndham Orlando Resort hotel is not a place I'd recommend you stay.  The staff is very nice and helpful, but the facilities are falling apart.  My door lock was busted and took a few hours to get fixed.  Then my phone went out.  They have no free breakfast, or Wi-Fi access, so you have to plug into the phones to go wired, and they never worked the entire time I was there.  The door didn't shut tight either.  At least the air conditioning worked well enough.

I rehydrated at Miller's Ale House on International Drive, where I enjoyed the Ossobuco dinner special, and was left speechless at how damn good it was.
(Ossobuco, already half-eaten)
Afterwards, I had to grab a taxi back to my hotel because I didn't feel like walking another mile-and-a-half in 95 F heat and sticky humidity.  The $5 fare was worth it.

Day 1 - Registration, Breakfast, Keynote, Sessions, Lunch, Sessions and Beer

First stop was registration.  Sign in.  Pick up my badge and backpack.  Stuff my things into the backpack and head for breakfast.  Twenty or so lines were opened up with a cheering staff (I'm not kidding) pointing us to the shortest lines to pile up eggs, bacon, sausage, fruit, pastries, juices, milk and so on.  Then we fan out to one of a hundred or so group tables to chow down.  Afterwards, it was comparing schedules with colleagues and new friends, coffee and heading over to the keynote session.

Registration (not yet full, but would be full soon after)

The Keynote

It was a lot of emphasis on Azure cloud services, new scalable features in Windows Server 2012, and new capabilities in Visual Studio 2012.  Lot's of comparison's of the new Hyper-V features against "the competition" as well.
Keynote session

WCL327 - Maximizing Windows 7 Performance: Troubleshooting Tips - Johan Arwidmark

What can I say? Any session Johan presents is going to be good, and worth attending.  It was.  I learned a ton and enjoyed quite a few laughs.

Lunch - (chomp chomp, slurp, mumble, burp, repeat...)

Lunch (or Breakfast)

WCL309 - What's New in Microsoft Deployment Toolkit 2012 (MDT) - Michael Niehaus

While a lot was said about Windows 8 deployment support, MDT 2012 packs a ton of improvements and features to help with Windows 7 deployments as well.  Michael always does a fantastic job of presenting.

WCL302 - Alphabet Soup Deployment: From AIK to ZTI - Migrating from Windows XP to Windows 7 Using Nothing But Free Tools - Stephen Rose

This was more of a broad overview of the options available to replace legacy deployment tools like Symantec Ghost, with AIK (ADK), MDT, DISM, and WDS.  Not really technically deep in any one technology, but just enough to provide a reason to consider dumping your legacy (costly) products to at least try out the free alternatives Microsoft provides.

After the last session ended at 6:00 PM, the expo floor opened up.  That means vendor frenzy.  Free food, drinks.  Swag and goodies to fill up your backpack.
Beer!


Day 2 - Breakfast, Vitamins, Water, Sessions, More Food and Beer

Another Keynote?  Nope.  I went to the Hands-On Labs area to work with App-V 5.0.  Even though it's still "beta" and a little rough, it's a huge improvement over 4.x from what I saw.  The customer I work with now is looking to implement App-V and I'm glad they never deployed 4.x since that means no need to co-exist or migrate.

WCL303 - Microsoft Desktop Virtualization: The Right Technology for Your Business Scenario - Karri Alexion-Tiernan and Skand Mittal

This was also more of a high-level scope coverage of App-V, UE-V, MED-V (very little on that however), RemoteApp, and VDI.  Most of the demos were on App-V, UE-V and RemoteApp.  They also spent quite a bit of time demoing the VDI features in Windows Server 2012, which look really nice (and powerfully simple too).

Lunch - I'm a sloppy eater.  I will spare you the details.

WCL382 - Deploying Windows 8 with the Microsoft Deployment Toolkit - Michael Niehaus

The name says it all.  It was a very good session.  Michael also discussed upcoming changes in "Update 1" for MDT 2012 and future "wishlist" features as well.

SIA312 - What's New in Active Directory in Windows Server 2012 - Dean Wells

Dean reminds me so much of Ricky Gervais, more in speaking, tone, humor and body movement than physical looks, that I had to keep reminding myself it wasn't Ricky doing the presentation.  Thankful he was funny, because this was a very deep dive into AD and LDAP, Kerberos, bug fixes, RID services, FSMO management, and much more.  The room was packed and it was one of the larger rooms.  I put Dean on my list of favorite presenters to follow in the future.

SIA311 - Sysinternals Primer: Gems - Aaron Margosis

Great slice of Sysinternals tools which are often overlooked.  Aaron is a funny guy and does a fantastic job in front of a large audience.  Bonus: Mark Russinovich dropped in and sat directly in front of me. I still need to pick up the Sysinternals Toolkit book they both co-authored.

Expo Floor.  Food.  Beer.  Vendor Party at Ice Bar.  Interesting place made (almost) entirely of ice.  The bar, the walls, the seats and decor.  Even the drink glasses are ice.  One free (tiny) drink.  Meh.


I dropped my backpack off at the hotel where my colleagues were staying (because it was closer to the party location).  Afterwards, I couldn't find a cab, so I walked the 1.5 mile stretch along International Drive to my hotel.  I think I worked off the beer and food.

Day 3 - Breakfast, Sessions, Lunch, Sessions, Expo, Food, Beer again

SIA402 - How to (un)Destroy Your Active Directory - Ralf Wigand

Ralf is surprising. A renown MVP, he has a classic German accent, but he's very soft spoken.  That soft-spoken demeanor delivers some seriously powerful information.  He's also very funny.  If you get a chance to attend one of his presentations, do it.  I learned a lot about common errors and some not-so-common errors that can screw up an otherwise functional AD environment.  Even better, he focused on 2008 R2 AD, rather than all 2012, so it was information everyone could put to use "now".

SIA316 - Windows Server 2012 Dynamic Access Control Best Practices and Cast Study Deployments in Microsoft IT - Brian Puhl

This was surprising for me for a few reasons:
  • Brian was very candidate about the challenges inside of managing Microsoft's internal IT operations
  • DAC is not a cure for all security management needs
  • DAC is not a replacement for security groups
  • DAC is a good enhancement to using security groups by extending a policy-driven approach to implementing template-based access management with delegation.
I really had a weak understanding of DAC before this because I had only read up on the capabilities alone.  I had not seen any documented results of actual usage in production environments.  This was an eye-opener for sure.

Lunch (you know the rest)

WCL404 - Turn PowerShell Commands into Reusable CLI and GUI Tools - Don Jones

Wow! Don is such a fantastic speaker and presenter.  This was only my second time seeing him at TechEd, and I saw him again in a later session (read later).  Don covered a lot of aspects of PowerShell, what it is, what it isn't, and provided some great demos of building out a reusable function cmdlet, and then provided a brief overview of creating GUI forms using either WPF or Windows Forms.

BOF11-ITP - Windows PowerShell Best Practices - Ed Wilson and Don Jones

This session was packed into a very small room, which was kind of dumb planning on the logistics side. Not the fault of Ed or Don though.  This was essentially a free-for-all, stand-up, un-scripted (pardon the pun) session where the speakers interacted with the audience to share ideas, challenges, methods, tips and resources among each other.  The session was also broadcast live on Channel 9 (and other outlets?).  I was in the back of the room, leaning on the door next to Jeffrey Hicks.

I was going to attend a session at this point but ran over to the HOL area instead, to play with App-V 5.0 some more.

Day 4 - Final Day - Breakfast, Sessions, Lunch, more Sessions, Closing Party

WCL325 - Raiders of the Elevated Token: Understanding User Account Control and Session Isolation - Raymond Comvalius

I really didn't expect to learn a lot from this session because I foolishly believed I already had a firm grasp of how UAC and sessions work in Windows 7.  I was wrong.  Raymond gave a very good presentation with demos and explanations of how each piece of the process works.  It was well worth sitting in on this one. Raymond has a soft voice and a Dutch accent that fools you into thinking he's going to go easy on the crowd.
Lunch

WCL290 - Microsoft Application Virtualization 5.0: Introduction - Andy Cerat

This session covered some gaps from the WCL303, but in all, they each fit together to provide a fairly good picture of App-V 5.0.  Andy ran through several demos to show how the new web-based management interface works, how to create and import packages, apply access controls, publish and unpublish packages, and refreshing clients.  He also demonstrated Connections and Extensions and how they work to make a more integrated and cohesive experience for users.  I'm looking forward to App-V 5.0 projects.

Lunch - More obscene sloppiness and lost fingers

Hands-On Labs

WCL301 - Case of the Unexplained 2012: Windows Troubleshooting with Mark Russinovich

Anyone who's been to TechEd knows Mark's "Case of..." session is the biggest attendee draw of the week. It was packed.  They should have booked this in the main keynote hall rather than the regular "large" room they used.  I can't do this justice in my own words, so just trust me that if you haven't been to one of his sessions, and you get the chance to go to one in the future, do it.

Mark Russinovich at TechEd 2012


I was planning on attending WCL402 (App Compat for Nerds, Chris Jackson), but I was so burned out from walking and being squished in the room during Mark's session, that I had to take a breather and get ready for the closing party...

Closing Party: Universal Studios Theme Park

They closed the park to everyone else except TechEd attendees from 7:00 pm until roughly midnight.  I started off with pizza, and a Coke, then moved on to beer, and roamed the park.  This is a fairly large park and you can wander for a long time.  It's an interesting place.  I've been to Busch Gardens, Williamsburg, Disney World, and Universal Studios Theme Park in Los Angeles, as well as Elitch Gardens in Denver.  This park has some very new attractions which were fantastic:  The Harry Potter Adventure and The Hulk.  I also ran through the Amazing Spiderman
Hogwarts - Harry Potter Adventure

The Hulk (part of it)

Getting on The Hulk

Leaving the park was a sad moment, but it also meant I was closer to getting back home to my family and my dog Lucky.

Today, my colleagues and I boarded our Southwest flight back home to Norfolk airport and on to Virginia Beach.  The picture below is from the Orlando airport food court near gate 102.  It's a very nicely designed airport and the birds flying around the inside are a nice touch (none of them bombed us, as far as I could tell).

Conclusion

It was a good year this time.  I think the Orange County Convention Center worked out better than the Georgia World Congress Center (Atlanta, 2011) did.  It made it much easier getting around from one session to the next, and the single central hall works better for sharing an expo, food and lab space with plenty of room to spare.

The buses all ran on time and I never had a problem getting to or from the event and my hotel or Universal's park.  The closing party was fantastic as well.  I met some interesting and impressive people throughout the week.  In all, if you haven't been to TechEd before, and you work with Microsoft products, services or technologies, or even if you are just curious about them, I highly recommend it.  It's just such an overwhelming deluge of useful information, demos and perspectives that your head will hurt after the first few days.

Cheers!

Thursday, July 28, 2011

Calling a URL from WinPE / DaRT Environment

So maybe you find a need to call a URL from a WinPE or DaRT session (yes, I know, DaRT is a modified WinPE), but without IE or a browser you find it a challenge.  Fear not.  There are options at your disposal.

Option 1 is to install a light-weight browser into your WinPE bundle, like Bart’sPE did/does.  Firefox is a fairly common choice for that, but if you can get another browser to do that you have that option.

Option 2 is to invoke the XMLHttp object via script.  You can do that with VBscript since wscript/cscript components are part of WinPE and DaRT.  The nice thing about this is with XMLhttp, you essentially have a browser but without the GUI.  You call URL's and even fetch (i.e. "scrape") the return HTML results if needed (I do that a lot and may post some examples soon).  A command-line browser, sort of.

Here’s an example of option 2 – calling an ASP page with parameters…

url = "http://myserver.domain.com/loginfo.asp?c=Workstation123&os=Windows7&ts=Enterprise32b"

On Error Resume Next
Set ohttp = CreateObject("Microsoft.XmlHttp")
oHttp.open "GET", url, False
If err.Number <> 0 Then
wscript.Echo "fail: unable to open remote URL for asset number!"
wscript.Echo "fail: error is " & err.Number & " / " & err.Description
Else
oHttp.send ""
textData = oHttp.responseText
wscript.echo "info: completed"
End If


If error-checking isn't your cup of tea (or Four Loco), you can leave off the code from line no.4 to the end.  The meat of this is lines 2 and 3 actually.  Just create the object instance and call the .open method.  That boils down to just the following...



url = "http://myserver.domain.com/loginfo.asp?c=Workstation123&os=Windows7&ts=Enterprise32b"

Set ohttp = CreateObject("Microsoft.XmlHttp")
oHttp.open "GET", url, False

Tuesday, May 3, 2011

VBScript Bulk Import for MDT 2010

Michael Niehaus had posted a nice blog article on using PowerShell to perform bulk import of computers into MDT 2010.  My near-term project pipeline has me working more with VBscript and ASP than PowerShell, so I needed to figure out a way to port at least a basic portion of Michael's efforts to help with what I was working on.  I didn't go as far into building out a mini-API like he did, but I did manage to get the bare minimum working: bulk computer import.  The script is only built for reading a simple CSV format text file right now, but it could easily be modified to read from XML or Excel or pretty much any FSO or ADO data source.  The script is posted on my download page at https://sites.google.com/site/skatterbrainz/downloads/mdt2010.vbs.txt?attredirects=0&d=1   Read the comments in the heading (including the snooze-fest disclaimer stuff) and kick the tires. Let me know if it works for you or not?

ok, actually, the path that led me to Michael's article was like this:  I downloaded MDT Web Frontend from Codeplex and played around with it.  I emailed Maik Koster about how to make it capable of bulk/batch computer import and he pointed me to Mitch Tulloch's tutorials on MDT 2010 and the one (part 22 actually) on using Michael Niehaus' bulk import PowerShell script.  Phew!  See what happens when you fall down a slippery slope?  Amazing things happen.

Wednesday, April 27, 2011

Imaging Computers with MDT 2010 and AutoCAD 2012

Microsoft Deployment Toolkit (MDT) 2010 is a FREE product that is aimed at helping System Administrators prepare and deploy custom operating system installations (images).  I’m not going to explain MDT, WAIK or WDS here.  There are too many other sites, books, and videos that do a great job of that. I don’t need to add any more noise there.

 

If you have network license AutoCAD clients and a network deployment share, you already know how that can save time doing repeated installations.  You may also know how much it helps when pushing installations via SCCM 2007 (or similar products).  Maybe you’ve tried bundling AutoCAD into your operating system image process but are using Ghost or some other snapshot process and find it less than ideal.  Well, MDT not only provides an easier option, it eliminates much of the headache incurred with push installations.

 

For starters, MDT uses a sequential process to perform tasks (hence “task sequences”).  Rather than running entirely under an unattended SYSTEM context with no UI, it runs under a user context (typically), so most of the prerequisite tasks of the deployment work just fine (unlike trying to push with SCCM, where the .NET Framework 4, and DirectX component steps fail).  So you can run the default installation and simply add the "/W" parameter to use it with MDT 2010.

Caveats:

 

You may have better luck than I’ve had with using a “thin” image process and trying to install .NET Framework 4 as a task sequence package instead of going with a “thick” or “hybrid” client build*.  In my experience, the .NET 4 installation via MDT task sequence never works.   But you may be blessed.  My approach is to include .NET components in the base image via a reference capture.  It is crucial to have .NET 4 installed before attempting to install AutoCAD 2012 via an automated/unattended process or it will fail.

I only use network license deployments of AutoCAD when installing via SCCM or MDT.  I do not ever recommend installing standalone/individual licenses

 

Steps:

  1. Build your AutoCAD 2012 deployment share ON the server where the MDT package will refer clients to (this works much better than building it elsewhere and then moving it and editing the deployment configuration INI files)
  2. Configure permissions on the deployment share to suit the user context of the MDT installation (if needed)
  3. Right-click the AutoCAD 2012 installation shortcut in the UNC folder (e.g. Acad2012.lnk), select Properties
    1. Copy the “Target” string contents
    2. Click Cancel to close the properties dialog form
  4. Open the MDT Workbench, expand the Deployment share, select Applications
    1. Add a new Application to the MDT workbench deployment group
    2. Option:  Application without source files or elsewhere on the network
    3. Properties:
      • Publisher: Autodesk
      • Application Name: AutoCAD
      • Version: 2012
      • Language: (leave blank unless you really want to enter it)
    4. Details:
      • Command Line: “setup.exe” (for now)
      • Working Directory: Browse to the UNC share path (do NOT choose from drive letter!) make sure to specify the AdminImage sub-folder in the path (e.g. “\\ ServerName\Acad2012\AdminImage”)
      • After created, click Finish
    5. Double-click the AutoCAD 2012 entry in MDT
      • Click the “Details” tab
      • Replace the “Quiet install command” text with the string copied in step 3/a (example below).  Be sure to replace <uncpath> with your actual UNC path.
        • Example: <uncpath>\AdminImage\setup.exe /W /qb /I <uncpath>\AdminImage\<deployment>.ini
      • Click OK
    6. Right-click the Deployment Share in MDT Workbench and select “Update Deployment Share”

Assuming the rest of your MDT deployment share is configured, and you've already generated a suitable Boot WIM and Boot ISO file set, you should now be ready to start deploying AutoCAD 2012 with your images.

 Notes:

1.       If you discover (like I have) that you also need to install the DirectX components ahead of the AutoCAD deployment installation, you can add the Acad2012DX.msi package I’ve posted and set a Dependency within the AutoCAD 2012 application entry so it runs the DirectX installer first.  If you do this, click “Hide this application in the Deployment Wizard” from within the MDT application properties for the Acad2012DX application item.

2.       A return code of 259 from the AutoCAD installation can be ignored.  I have not seen, heard or experienced any detrimental effects after that has occurred.

3.       Because there is NO OPTION to disable desktop shortcuts for Design Review 2012 or Inventor Fusion 2012 via the Deployment Wizard configuration, you will have to resort to some trickery if you are required to keep shortcuts OFF of the standard desktop.  My trickery is to add DEL commands to a script that wraps the main installation.

4.       If you choose to enable the network log option, keep these points in mind:

a.       The UNC path to the logs needs to have appropriate ACL and Share permissions granted to allow the remote installation context to make updates to the folder contents (log file)

b.      It tracks the entire deployment bundle, but won’t be updated on the network share until the end of the installation process.

c.  If the connection fails before the installation completes, the only trace of a partial installation will be in the client logs.

d.  The network log is cummulative.  It grows with each client installation.  You may want to back it up, rename or delete it occassionally to recover space.

5.       Why does Design Review 2012 get a “Autodesk” prefix, while Inventor Fusion 2012 does not?  Consistency is important.

 

*terms borrowed from Johan Arwidmark and Mikael Nystrom of TrueSec (www.truesec.com)  - geniuses on the topic of Windows deployment automation

Assumptions:

·         MDT 2010 Update 1 with WAIK 7

·         32-bit Windows 7 client Deployment Image with .NET 4 included (sysprep’d from ref computer)

·         New install (not a refresh, upgrade or replacement)

Script Code:

Paste the following code into Notepad…

 

@echo off

TITLE Installing AutoCAD 2012

CLS

echo installing AutoCAD 2012...

SETLOCAL

SET XLOG=%TMP%\Adsk2012_Setup.log

echo %DATE% %TIME% installing autocad 2012 from network deployment >%XLOG%

rem ------------------------------------------------------

rem beware of word-wrapping below.  should be on one line...

rem ------------------------------------------------------

\\SERVERNAME\Acad2012\AdminImage\setup.exe /W /qb /I \\SERVERNAME\Acad2012\AdminImage\ACAD2012.ini /language en-us

rem ------------------------------------------------------

echo %DATE% %TIME% cleaning up desktop shortcuts... >>%XLOG%

del "%public%\Desktop\Autodesk Design Review 2012.lnk" /f /q

del "%public%\Desktop\Inventor Fusion 2012.lnk" /f /q

echo %DATE% %TIME% desktop shortcuts removed >>%XLOG%

ENDLOCAL

 

Edit the code to replace SERVERNAME and other info to suit your needs.  Save the Notepad file as setup.cmd somewhere on the MDT server (e.g. E:\Apps\Scripts\Acad2012\setup.cmd)

 

Import into MDT 2010 deployment share:

Right-click Applications, select New Application

Select type: “Application with source files”

Specify the properties (publisher, product, version)

Select the setup.cmd file (click Browse)

Confirm, import and click Finish

 

Open the Application properties, copy the “Application GUID” value to the clipboard

 

Open Deployment Properties, click Rules tab

 

Add to [Default] section…

 

; autocad 2012 custom deployment

Applications001={paste the application GUID here}

If you already have other ApplicationsXXX entries, just insert it after the highest number and assign the next sequential number (e.g. Applications011={guid} )

Useful Links on MDT 2010: