I’m running into this error message while trying to install the latest version of the 3ds Max Datasmith exporter (see image below).
“There is a problem with this Windows Installer package. A program run as part of this setup did not finish as expected. Contact your support personnel or package vendor.”
Previously when I’ve installed older versions of the exporter to Max 2016, it worked fine. But after installing Max 2022, the newest version of the datasmith exporter refuses to install.
Anyone have any idea what might be causing this? I’ve already uninstalled and reinstalled Max 2022, no luck. I also tried installing an old version of the datasmith exporter following advice from another post here suggesting that the old installer has dependencies that the new one needs (4.2.5.1) - this didn’t work either. Uninstalling the old exporters, also nothing.
In the mean time do you mind running the installer in command line msiexec /i UnrealDatasmith3dsMaxExporter.msi /lvx* Install.log
and send me the log in a private message?
it could be corrupted dependencies or it could be that the registry keys for the old plugins were not properly uninstalled, we saw that issue a few time in the past.
First try deleting the folder at C:\Users\%USERNAME%\AppData\Local\Temp\DirectXPrereq
If this does not fix the issue, we need to remove all the registry keys and folders related to the Datasmith plugin.
go in the registry editor, use the Edit > Find tool and write down the name of the plugin as stated in the Apps and Feature / Remove programs management window of Windows. In your case it will be Unreal Datasmith Exporter for 3ds Max and press “Find Next”.
After a few seconds you will be presented with a list of Registry Keys. Select the associated Registry Key folder on the left and delete it.
To verify you have deleted the right Key, you can do step 1. again : if it doesnt find any entry after a few seconds, you’re good to go on that end.
To be sure to clean everything correctly before installing again, you can also delete the UnrealDatasmithMax folder located in C:\ProgramData\Autodesk\ApplicationPlugins
You should now be able to install the plugin without errors
This worked for me. One IMPORTANT thing to note here, make sure to “Run as Administrator” when you run Registry Editor (or when running CMD run it as administrator, then registry editor) to do your deleting.
We (IT department) and I were trying to delete the problem keys and it was erroring out. Ran CMD as administrator, then accessed Register Editor via CMD, searched “Unreal Datasmith Exporter for 3ds Max” and deleted the key folder…and voila, 5.3.1 installed with no issues.