Summary
Information on windows installer errors.Symptoms
When an installation is launched, the following error occurs after the setup initialization process:
Error 1606. Could not access Network Location [2].
In the error, [2] is replaced by the folder name or registry key that causes the error.
Cause
There are several known causes for this error message. While the following list may not be complete, it will be updated periodically when more causes are known.
- If the value of INSTALLDIR or DATABASEDIR under the General Information view is incorrect, this error can occur.
An example of a incorrect value is an invalid path or folder name (for example, testfolder, C;). Examples of correct values are C:\testfolder, [ProgramFiles]\test, and HKEY_LOCAL_MACHINE\Software\test\
Note: In InstallShield Express 3.x, only the INSTALLDIR variable accepts registry path values. Registry path values cannot be used for the DATABASEDIR variable.
- Sometimes the cause of this error message may not be the project, but the target system where the setup is being run. At run time, the Windows Installer service uses the registry to resolve folder paths to predefined folders such as MyPicturesFolder and AppDataFolder. If the path to one of these folders is invalid in the following registry key, then this error can occur:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders.
Resolution
Listed below are the solutions to the above causes. Because causes 1and 2 are related and have similar solutions, resolution 1 can be applied to causes 1 and 2.
-
Make sure that the path pointed to by INSTALLDIR and/or DATABASEDIR under General Information is valid. Make sure that DATABASEDIR variable in the General Information view does not point to a path specified by a registry value (for example, HKEY_LOCAL_MACHINE\Software\Test). If it does, change the value of DATABASEDIR to a predefined variable or an absolute path. Follow the steps below to correct the issue. This example uses INSTALLDIR. The same steps can be followed for DATABASEDIR:
-
Open the General Information view and click the ellipsis (...) in the INSTALLDIR field. This launches the Set INSTALLDIR dialog.
-
Select a predefined folder like ProgramFilesFolder or another folder and click OK. This populates the selected folder as the value of INSTALLDIR.
-
Click the ellipsis (...) in the INSTALLDIR field again to launch the Set INSTALLDIR dialog.
-
Scroll to the folder or registry path that was causing the error message.
-
Right-click on the folder or registry path and select Delete.
-
Click OK to save these changes.
-
Rebuild your release to eliminate the error message. Launch regedit.exe from your Start / run command to launch your registry. In the registry, go to the following location and make sure that the paths to all the folders are valid and exist on the system.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. -
This error has also occurred if the path specified by the following registry keys is not valid. Following are some other registry keys that one should verify in case the above error message occurs on the system:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WinNT\CurrentVersion (only for SystemFolder on NT-based systems)
Additional Information
Following are some Microsoft articles that discuss this error further:
- 313928 PIP: "Cannot Remove Previous Version" Error Message and Error 1606 Error Message When You Install Programs
- 315352 "Error 1606. Could not access network location <common administrative tools>.All Users\" error message when you install a program
Additional information on Error 1606 can be found in Windows Installer Help topic Windows Installer Error Messages.
Related Articles
Windows Installer Error 1606 3Number of Views Windows Installer Error 1310 3Number of Views Windows Installer Error 1907 5Number of Views Windows Installer Error 1706 47Number of Views Windows Installer Error 2732 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago