Installing Visual Prolog when you get the Fatal Error message "Installation ended prematurely because of an error"
This error is generated by msiexec.exe and can be extremely frustrating. In my case Visual Prolog would install in one computer running
Windows 7 Home Premium but not in my Laptop running the same operating system. In both cases the computers are running in administrator mode!
To get around this I did the following
Copy the file vip7303pe.msi to the root directory (to avoid typing long paths)
Open the command box in administrator mode. (The cmd box opens in the Windows\System32 directory.)
Type in msiexec /i c:\vip7303pe.msi /qn+
The entire line will look like this
C:\Windows\System32> msiexec /i c:\vip7303pe.msi /qn+
Press return
After a short interval you should get a windows box saying Visual Prolog has installed successfully.
When you start Visual prolog it will then attempt to install the example files. This also fails with
the Fatal Error message "Installation ended prematurely because of an error"
Go to the Program Files\Visual Prolog directory and copy setupExamples.msi to C:\ to avoid having to type in long paths.
Once again start the command box in administrator mode. This time type in msiexec /i c:\setupExamples.msi /qn+
The line should look like this
C:\Windows\System32> msiexec /i c:\vip7303pe.msi /qn+
Press return and everything works.
Note that though I normally run in administrator mode simply opening the command box and typing in the above didn't work, You have to open the cmd box specifically in administrator mode!