Sunday, January 05, 2014

What Are You Doing To Be Ready For 2014?

In his autobiography, Benjamin Franklin described the practice of identifying thirteen virtues that he wished to integrate into his life.  For each, he would spend one week deliberately focusing on that virtue and incorporating it.  He would then repeat the process three more times during the year, thereby fostering his personal growth during each of the 52 weeks of the year.

Welcome to 2014.  It is the first week in a new year.
In the style of Benjamin Franklin, I too will be working on a specific weekly track of self-improvement.  David Allen (of Getting Things Done fame) has written a book, Ready for Anything: 52 Productivity Principles for Getting Things Done.  Throughout 2014, I will be reading one of these lessons each week, and implementing it into my life.

Lesson 1 challenges us with the following:
  • Where are your potential cleanup areas?
  • What is the next one to tackle, when you are not sure what else you to be doing?
  • What could you forgive today?
- James

Tuesday, April 17, 2012

Autodesk DWG TrueView 2013 error when Deploying via Group Policy, Part 2


In my previous post, I showed how to overcome a limiting change in Autodesk DWG TrueView to allow deployment via Group Policy.  Note that you could use a variation of the same procedure to edit dwgviewr.msi instead of generating a transform:

While dwgviewr.msi is open in ORCA:
Right-click on the row with the Condition listed above
Select Drop Row
OK (the row should disappear)
File - Save (or hit the Save button)
Autodesk DWG TrueView 2013 error when Deploying via Group Policy

Autodesk recently released its 2013 suite of products, and I dutifully downloaded the latest DWG TrueView and Design Review in order to upgrade the stations on our network.  However, when testing the deployments, I noticed that Autodesk has changed the MSI-based deployment for DWG TrueView so that it fails.  Specifically:
Event ID: 10005
Source: MsiInstaller
Description: Product: DWG TrueView 2013 -- Run Setup.exe to install DWG TrueView 2013.


I went to my first line of defense: I created an Administrative deployment, and installed from that.
msiexec /a dwgviewr.msi
Disturbingly, this resulted in the same error. Disturbing, because there IS no Setup.exe in an administrative deployment...

After a few gyrations, I finally opened the MSI in ORCA (a free tool from Microsoft, available at http://msdn.microsoft.com/en-us/library/windows/desktop/aa370557%28v=vs.85%29.aspx)

Once ORCA has been installed, right-click the dwgviewr.msi and choose "Edit with Orca."

I found the following line in the Section "LaunchCondition"
Condition:  ADSK_SETUP_EXE="1" OR ACAD_SECONDARY_INSTALL="1" OR PATCH
Description:  Run Setup.exe to install [ProductName].


So, I tried creating a Transform (MST) file to remove this check.

While dwgviewr.msi is open in ORCA, select:
Transform
New Transform
Right-click on the row with the Condition listed above
Select Drop Row
OK (the row should now have a green strikethrough)
Transform
Generate Transform


I called mine DontRunSetup.mst
A copy is available for download at http://www.barbarianhamster.com/Services/DontRunSetup.zip

I re-created the Group Policy Object for deployment, including the Transform file under "Modifications."  Then I re-launced my testing virtual machine, and VOILA!  It smoothly replaced DWG TrueView 2012.  I subsequently tested as a clean install, and that worked as well.

I use virtual machines of Windows XP Professional (x86 and x64) for deployment testing, and the same transform works for both the x86 and x64 versions of the software.