Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > "Could not access network location <appname>" - Error when running a Setup.exe that has been working until now...
 

"Could not access network location <appname>" - Error when running a Setup.exe that has been working until now...

I was wondering if anyone came across this problem and maybe have a solution.  I'm running a regular Setup.exe that I created using VS.NET, and it was working perfectly until today. All of a sudden I get "Could not access network location <appname>". I've built, rebuilt, deleted the files, rebuilt - and nothing is working.

It runs Windows Installer, disappears, then a dialog with that error pops up asking to Try Again or Cancel (neither work). Then gives me the error again with only OK as an option. Then the normal installation window pops up saying "Installation Complete.  The installer was interrupted before <appname> could be installed. You need to restart the installer to try again".  This happens on ANY computer I try to install it on.

Anyone have any ideas?

Thanks ahead of time,
Denvas
MigrationUser 1  Monday, April 05, 2004 12:21 PM
Never mind - stupid human error.  Under Application Folder properties, the Target needs to have c:\ in front of the path to install it if not [Program Files] - Duh.

If anyone has this problem - check that first.

-Denvas
MigrationUser 1  Monday, April 05, 2004 3:56 PM
hi,

I have been looking for a solution for this problem since last week. 

what applicaton folder properties did you change.  Did you change the properties of setup.exe file or of the folder that contained that file or of some other folder related to it. 

regards 

chetan 
MigrationUser 1  Saturday, May 15, 2004 10:42 AM
I'm not sure if you're using Visual Studio.NET 2003, but if you go to the 'Application Folder' under 'File System on Target Machine', and bring up the properties page, it's under the 'DefaultLocation' Property. The default is [Program Files] etc. So if you change it, make sure it's correct in syntax. For Example, "c:\AppName".

Hope this helps,
Denvas
MigrationUser 1  Monday, May 17, 2004 8:24 AM
Hi,

If I want to use an environment variable followed by some folder name for "DefaultLocation" Property, how to use that?
For example, I want to use the path stored in environment variable "ENVVARIABLE" and then sub folder say "abc". I tried the following way.
[ENVVARIABLE]\abc
This dint work. When ever I am giving absolute path it is working and when ever I give only environment variable it is working. If I club some folder name followed by environment variable, I am getting an error "could not access network location ******".

Please help me out.

Thanks,
Murthy
Murthy_P  Thursday, August 27, 2009 12:56 PM

You can use google to search for other answers

Custom Search

More Threads

• Delete old publish paths
• How to add assemblies on GAC
• ClickOnce & .NetFX 3.0 Problem
• Custom Boostrapper not installing msi on ClickOnce update
• Excel 2003 VSTO setup project not replacing workbook on upgrade install
• Winforms Deployement
• Can ClickOne by used in ME?
• Deploying a DLL
• Finding installation path during custom action
• Deployment (validation & localization)