ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

avoid empty prequesite window

Hi,

How can the empty prequiste window be removed when all the prequiste are already installed?

see attachement.

best regards
Attachments
Empty_Prequesits.png
Empty_Prequesits.png (44.96 KiB) Viewed 14489 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: avoid empty prequesite window

Hello,

You can use "Show only if" from the dialog's context menu to get this done.

Add every prerequisite search (from its Install Conditions tab list) in the Search page. You can then set a public property if all searches return a value. This way you can use that property to condition the prerequisite dialog.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

Re: avoid empty prequesite window

Hi,

Is there not a less complicated way to do this?

As far as I see in the search if see no

"prequiste installed" condition or
"registry key exits" to get the value and also I must make or because of 32 and 64 bit because

http://www.advancedinstaller.com/forums ... =2&t=21285

Short:

I must install and patch the .Net 4.0 Framework.
When its done the window should be simple not shown.

Please provide me a simple solution for this.

Best regards
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: avoid empty prequesite window

Hello,

Unfortunately there's no easier then with searches way unless you're considering custom actions.

You could try to add a couple of predefined searches and use them with "Show only if". The somewhat related predefined searches are:
searches.jpg
searches.jpg (38.31 KiB) Viewed 14466 times
However the condition will be as described (the dialog will be shown whether "Aspnet_regiis.exe" is installed)

Code: Select all

ASPNET_REGIIS_40_PATH_X64 OR ASPNET_REGIIS_40_PATH_X86
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

Re: avoid empty prequesite window

unfortunatly this is not a good solution.

Maybe you can fix this please in a next version

See http://www.advancedinstaller.com/forums ... =1&t=21342

best regards
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: avoid empty prequesite window

Hello,

I added this on our TODO list so our development team can consider adding it in a future version. Thank you for bringing it to our attention and for helping us make Advanced Installer a better product.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: avoid empty prequesite window

Hello,

After later investigation it seems this issue was target OS related, not if the prerequisite is installed or not. This means that if you have a prerequisite with 64-bit supported windows version option disabled, it won't be shown in the dialog when installing on such a machine. This can lead to the list in the dialog to be empty.

The only solution in this case is to use "Show only if..." using VersionNT64 property as described in the following article:
How do I install resources based on the Operating System version?

We'll improve the behavior in this area by creating a property which will ease the dialog's conditioning, but the "Show only if" step will still be required.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”