ales.hrodek
Posts: 65
Joined: Mon Jun 11, 2012 11:40 am

Prerequisites Install dialog shows "Failed"

I have WI 4.5 in pre-install prerequisites. Because it require restart message "You must reboot your ..." is shown. Problem is there is status Failed on background window even installation was successful. There are users who calls support before reboot. I think it should show status "Reboot required" or something similar. Definitely not "Failed".
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisites Install dialog shows "Failed"

Hello,

Please keep in mind that searches from "Prerequisites Install Condition tab" are performed twice:
- first to determine whether the prerequisite should be installed ( if the conditions are false)
- and second time, after the prerequisite has been installed, to determine whether the prerequisite install was successful ( when the conditions should be evaluated as true )
The reason you are getting this issue is because when your conditions were evaluated second time they failed, because the reboot wasn't performed.

In order to achieve what you want you should enable "Reboot system after installing this prerequisite" option from "Prerequisite Properties tab".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ales.hrodek
Posts: 65
Joined: Mon Jun 11, 2012 11:40 am

Re: Prerequisites Install dialog shows "Failed"

I understand why it shows this status. "Reboot system after installing this prerequisite" is already checked. Reboot dialog [Yes/No] is shown. Everything works like should. There is no issue with final result but some users when spot "Failed" on background start their own predictions something is wrong. Maybe if "Reboot system after installing this prerequisite" is checked and prerequisite condition result is still false then status can show "Reboot required" instead.

I can live with current behaviour - it is just tiny gap for further improvement.
navya
Posts: 55
Joined: Thu Jan 05, 2012 6:36 am

Re: Prerequisites Install dialog shows "Failed"

Hi team,

I have a issue in adding perspective to my installer. I want java,MYSQL Connector perspectives to my installer. Before installing main application, it need to check whether the perspectives are installed or not. If not installed it need to be installed.
So what i have done so far is, I added java perspective from perspective page-->product tab-->add-->java-->JDK-->File path with global perspective. and For MYSQL connector-->New-->adding MYSQL connector file location with global perspective type.
Now issues is When I install MYSQL connector after installing MySQL Connector I am getting status as failed and it is asking me to click on back button. Even MY installation went successful it still getting status failed. I goggled and tried with many settings
Example:
http://www.advancedinstaller.com/forums ... =2&t=23069
http://www.advancedinstaller.com/forums ... 120#p58120

Please check the above screen shot and aip.
Its really very very urgent to solve this issue. waiting for the reply
Attachments
installer.JPG
installer.JPG (130.75 KiB) Viewed 7755 times
perspective.aip
(10.87 KiB) Downloaded 591 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisites Install dialog shows "Failed"

Hello,

As I said in previous post, this may happens if you are not using valid install conditions for the related prerequisite package (MYSQLCONNECTOR). Can you remove, from "Prerequisites -> Install Conditions" tab, the following search
  • Criteria: Product Version (identify by Product Code)
    Product Code: {00000000-0000-0000-0000-000000000000}
and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
navya
Posts: 55
Joined: Thu Jan 05, 2012 6:36 am

Re: Prerequisites Install dialog shows "Failed"

Hi Daniel,

Still I am getting "Status: Failed" after successfully installing MYSQL ODBC Software. IT need to get "Status:Success" and open the main installation automatically.
Please tell me what configurations I need to change to make the Status: failed to Status:success". Its really emergency. Please let me know as early as possible.
Please check my attached aip file
Attachments
perspective.aip
(10.72 KiB) Downloaded 555 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisites Install dialog shows "Failed"

Hello,

Can you replace your prerequisite install condition with the following condition:
  • Criteria: Registry value containing a version
    Registry Value: HKLM\SOFTWARE\MySQL AB\MySQL Connector/ODBC 5.1\Version
    Minimum: 5.1.10
and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”