FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log inLog in 


Solution: Installation ends prematurely because of an error

Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog Tips & Samples
View previous topic :: View next topic  
Author Message
Alan45



New Zealand
Joined: 08 Sep 2011
Posts: 2

PostPosted: 9 Sep 2011 0:34    Post subject: Solution: Installation ends prematurely because of an error Reply with quote

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!

_________________
Alan Matheson
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog Tips & Samples All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum