BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Warning if registry entry not found

Hi Gurus,

We have an install program that installs prerequisites. The directory location of the install is based on a registry entry. The registry entry is defined under Custom Behavior, Search. We ran the install program on a new computer which did not have the registry entry. We have not run the install program in over a year. The install program failed. The error message was, "Could not access network location..." Figuring out the real problem took some time. Is there a way to get a better error message. Something like displaying an dialog at the start saying registry xxx not found.

Advance Installer 8.5
Everything is run on some version Windows.

Thanks
Bob Crothers
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Warning if registry entry not found

Hi Bob,

To prevent the automated message, you can add an Error Message custom action right after AppSearch standard action. Also, you should set its execution condition with your registry search name.

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

Return to “Common Problems”