Could not access network location - Advanced Installer Community
Trax
Posts: 46
Joined: Wed May 06, 2009 5:24 pm

Could not access network location

During our install we have a few files that need to be copied from a shared path to out folders. I created a search path that is based off of a registry value that points to that shared path. I then added a Propertybased folder to "Files and Folders" based off that search. I then added File Operations to copy the files using the PropertyBased folder as its Source Folder. The problem we are having now is that our Shared Folder has changed and when we try to install a new MSI using the new Shared Folder Path or just try to uninstall the current MSI we get an error saying "Could not access network location..."

Any Ideas or help about this issue? Also did I go about setting this up the right way?

Thanks in advance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Could not access network location

Hi,

This is the normal Windows Installer behavior. If the path of the shared folder may change after the install and before the uninstall, it is not recommended to use it for a folder in the package. To remove or fix the broken installer you can try one of the approaches explained here.

Instead of using a file operation you can try using a custom action. Perhaps this thread will help you:
http://www.advancedinstaller.com/forums ... 65&p=17734

You can also find some sample VBScript code here.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Trax
Posts: 46
Joined: Wed May 06, 2009 5:24 pm

Re: Could not access network location

Thanks for the help. The Windows Installer Cleanup Utility worked for us
murali
Posts: 1
Joined: Thu Dec 12, 2013 10:47 am

Re: Could not access network location

Hi Frendz,

Am using java application through winndows installer tool...appliction build succesfully but once am running my applicationsome problem is coming

The problem is : could not access network location your value JavaProductDemo(this is my main application name)

please give me anybody the good answer as soon as possible earlier am waiting your's response
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Could not access network location

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This may happen if one of your installation folders is resolved to an invalid path during "CostFinalize" standard action. In order to achieve this behavior you should make sure that the related installation folder is resolved to a valid path before "CostFinalize" standard action. Please take a look on our "Installer error when default location is not reachable" thread which debates a similar issue.

Also, you can take a look on our "Install files in a custom folder" article which could be useful for you.

If this doesn't help you, then please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”