Stop the installation from a custom action
问题 Is it possible to exit msi installar from a custom action without errors? I am using visual studio setup project to create the msi and I have added a custom action exe to install. If I return a value other than 0 from exe it terminate the installation. But it shows an error. I need to exit installation without showing errors. Thanks. 回答1: Finally I found a way to do it using a vbscript custom action from http://chensuping.blogspot.com/2013/05/windows-setup-project-vbs-custom-action.html. 回答2: