If you don't wish to undo anything done during the
"install" of an MSI you should have a look at the
"No Installation Registration" section.
The resources are members of a component, the "ComponentId" can be set to "" so that Windows Installer never registers it. No uninstallation (or "repair") will take place, for example: