davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Evaluating a registry search on a prerequisite hangs

Hi I have found that adding a "Registry value with specified content" search to the Sql Server Express 2012 x64 pre-requisite causes Advanced Installer to hang if you attempt to "Evaluate" the search, and also causes the installer to hang as well.

This happens in version 11 but if I add the same pre-requisite in 9.8 the search evaluates fine.

So this looks like an introduced bug somewhere between 9.8 and 11.0

Also for your information the advanced installer process had grabbed the whole of the cpu on that core and over 3gig of my ram at this point, wheras it was sitting around 45meg before I attempted to evaluate. !
Attachments
evaluate.PNG
evaluate.PNG (33.91 KiB) Viewed 6055 times
search.PNG
search.PNG (29.4 KiB) Viewed 6055 times
davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Re: Evaluating a registry search on a prerequisite hangs

In addition it appears this only hangs when the "use 64 bit locations when evaluating conditions on a 64 bit machine" the version of advanced installer is irellevent.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Evaluating a registry search on a prerequisite hangs

Hi,

Indeed, this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Unfortunately, we don't have any workaround yet, you can only create a custom executable that searches for that registry value and use it as an install condition.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Re: Evaluating a registry search on a prerequisite hangs

I turned off the look in 64bit, and only have the prerequsite install for 64bit OS's, and reference directly the registry setting, that appears to work for me (i'm only installing this for 64 bit OS's)

Tho there is another issue I have, (mainly cosmetic) in the install prerequisite's dialog that comes up when I run the installer. The first install condition for that prerequisite passes (because Sql Server Express is already installed) but my second install condition fails (because the Sql Server instance I need isnt there). But in the dialog the reason I see for it wanting to install the prerequisite is "Required: 11.0.2100.60. Found: nothing", which is kind of correct because YES the required version of Sql Server Express IS 11.0.2100.60, BUT the "nothing" it found was my second condition, that looked for the named instance I need. So it's a little confusing, but not major, as it still behaves as it should.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Evaluating a registry search on a prerequisite hangs

Hi,

I'm glad you found a workaround.

Regarding the second issue, we will look into this, but it is quite complicated to display the correct information (which version is installed and which not) when more conditions are used for a prerequisite because the application cannot know which condition is more suitable to take this information from. Thank you for your suggestion.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Evaluating a registry search on a prerequisite hangs

Hello,

This was fixed in version 11.1 of Advanced Installer released on April 28th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”