Balaji
Posts: 54
Joined: Wed May 06, 2020 9:15 am

Could not access Network location

Hello team,

I am preparing an installer using Advanced Installer for my project. There is one scenario:
  • I am reading value from the registry to get the installation location of a specific software
  • If suppose there is an invalid value present in the registry, which I am trying to read from the registry, then the installer is throwing "Could not access Network location" error/pop-up
So, can you please let me know, instead of showing this standard message, can I display my custom message, like "The specified software is not installed on this machine".

Can you please confirm, is it possible to change the standard error message to a custom message?

Regards!
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Could not access Network location

Hello Balaji,

According to your scenario, I'm assuming that after the search in the registry for the path, you are using a property based folder.

If that is the case, I'm afraid the message can not be changed becuase that is a message thrown by the "CostFinalize" standard action.
Screenshot_86.png
Screenshot_86.png (6.44 KiB) Viewed 4545 times

This is a standard error message and has the error code 1606.

If we want to show a custom message, we might need to fail the setup ourselves via a custom action before the CostFinalize is executed.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”