One Step Forward, One Major Step BackwardWritten on May 8, 2020 by Kelly Shipman
This was both a productive, and non productive week. In the previous blog, I mentioned that I was held up by the revelation that Autodesk installs several applications in addition to 3ds Max. Since one of the goals of this benchmark is to be able to run it on every system we build that is going to be used for 3d modeling, we also need to be able to remove all trails of software once we are done. No one likes to receive an expensive computer with a bunch of software or files they don't want, or worse, may conflict with their intended software. I spent quite some time investigating exactly what needs to be removed, and this is the list of applications that I need to remove:
- Autodesk 3ds Max 2021
- Autodesk Desktop App
- Autodesk Material Library 2021
- Autodesk Material Library Base Resolution image Library
- Autodesk Genuine Service
- Autodesk Desktop Licensing Service
And here is the list of file locations that need to be removed:
- C:Program FilesAutodesk
- C:Program Files (x86)Autodesk
- C:Program Files (x86)Common FilesAutodesk Shared
A couple tricky issues have come out of this. First, the Material Library apps need to be uninstalled via the Windows Control Panel. Slightly annoying, but easy enough to do in AutoIt. Second is that the Genuine Service app will not uninstall until all other Autodesk apps are uninstalled, and all files from the above file locations are removed. That means my script needs to shut down any program that is running, uninstall most apps, then delete the file locations, then uninstal the Genuine Service app.
After uninstalling, and reinstalling a dozen or so times to make sure I have the correct order, and can close any dialog boxes that pop up, I have a mostly working Uninstall script. Just a couple more dialog boxes to clean up. The downside is that an entirely new problem appeared during all this that has me stumped.
Suddenly, for some reason, I can no longer launch 3ds Max after installing it. Normally when you launch Max, it gives you a dialog to accept the User Agreement, then another dialog box to sign in to your Autodesk account. Well now, it gives me the option to accept the User agreement, shows a splash screen, then closes itself. And this isn’t even with one of my scripts. If I sign in to my account in the Desktop App instead, Max still will not launch. This is completely baffling.
I’ve reached out to Autodesk, so while I wait, and to give myself a break from AutoIt, I started a small side project. With so many people at home, often trying to entertain and educate their children, I thought it would be fun to put together a blog post about game development for children. There are a surprising number of resources to teach kids programming and game design. The need to know even basic programming skills keeps growing, so this is a great time to give your kids something to do other than play games. This should be posted at the beginning of next week, so keep your eyes out for that.
Back to the Benchmark, until I hear back from Autodesk about a better way to license and uninstall their software, I’m going to have to move forward as if I don't plan on having our Production department run this benchmark on customer computers. It will only be for my use in Labs, and I’ll just manually remove the software as needed. It is not my ideal, but I’ll at least be able to get results people can refer too.