How to run an installer without installing the product
To run an installer without actually installing the product set the value of EXECUTEMODE property to "None" in the command line:
MsiExec /I MyProduct.msi EXECUTEMODE=None
That will let you to test-run your installer without actually updating the target system.
Remember: Well behaving custom action will honor the value of this public property.