How to resolve windows installer error The installer was interrupted error
Solution 1
Your problem is that RunSQLList custom action fails. My bet is that there are some SQL related problems on your machine.
Solution 2
Installing IIS6 Compatibility Tools fixed this for me.
(Note: This is in the year 2017, I built a "hello world" wen application in Visual Studio 2015, added a Web Deployment Project, transferred it to another machine, and this error happens - installing software that was written in 2002 and become obsolete in 2008 fixes the problem)
Solution 3
First thing you should do is, install with logging,
open an elevated cmd
msiexec /i /l*vx setup.log
Then the log to find error codes, normally before the Fatal Error that stops the installer there is a line with error code, in my experience I found the following lines:
Action WEBCA_SetTARGETSITE returned actual error code 1603
Closing MSIHANDLE(11)
WEBCA_SetTARGETSITE. Return value 3.
Doing Action: FatalErrorForm.
Finally google that error code, in my case it was ISS 6 Compatibility Role that needed to be added on the server. After adding it the msi installed without errors.
Victor Athoti.
Updated on June 04, 2022Comments
-
Victor Athoti. almost 2 years
i have create windows application and i create a setup file for this project.If i run the .msi file it is working and installation was fine .But,when i set orca settings and run the application i got Installation Error Screen.
Error:
The installer was interrupted before <MyApp> could be installed. You need to restart the installer to try again.
I search for this error in web but i did not get resolve so, finally i post this error in this site.please help me how to resolve this error .
Note : If i run any msi package file(which is created orca file) does not run in my system only.with out orca settings it is installed correctly..
-
Victor Athoti. over 11 yearsYes you are right Ciprian ,but how can i resolve this error.Is ther any solution please help me.
-
Ciprian over 11 yearsYou cannot solve this from the MSI side. Debug SQL on your machine. You said that it works on other computers. What's changed on your machine?
-
ysk silver almost 2 yearsthis saved my day