1001 always means that the custom InstallUtil action (Installer Class) is not completed. It is impossible to give you a more detailed answer, because, well, this is "custom." It is not known which code throws the exception.
If you want to save this computer and do not need to rebuild it, you need to register the deletion in order to get the name of the user action to be performed, use ORCA to configure MSI to turn off the user action, reuse MSI and perform the deletion.
Now you know why:
1) Always use a VM to test MSI throughout the development / testing life cycle.
2) Avoid using custom actions whenever possible
3) Never use the special InstallUtil actions. They are not a good model or practice.
Christopher painter
source share