We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Flo
Posts: 5
Joined: Tue Oct 22, 2019 1:06 pm

Error 1606 with "Could not access network location" message

I try to configure an aip to build an installation package for my application.

- I click on the installation package exe.
- The dialog appear with a button "Update".
- I click on him and after a while during the process I get the error "Could not access network location...".

And the update of my application isn't done.

I tried to find what was wrong on my .aip but didn't find anything to resolve this.

I will be very glad if you could help me to find what is wrong ? I attach the .aip that I produce and the logs file too.
Attachments
AIP.log
(361.44 KiB) Downloaded 312 times
VNextFactorielles-Reseau - MAJ.aip
(433.58 KiB) Downloaded 494 times
Flo
Posts: 5
Joined: Tue Oct 22, 2019 1:06 pm

Re: Error 1606 with "Could not access network location" message

I have an hint on what could be trigger this error.

Indeed, if I get the logs file I can see the TARGETDIR without the same value than APPDIR ?

Is this difference could be the explanation about this error ? And why they would be not the same ?

Thank you for your help.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 1606 with "Could not access network location" message

Hi and welcome to our forums.

The problem appears because the "APPDIR" folder is set to an invalid path (VNextFactorielles) at some point during the installation. However, I tested your project, but I could not reproduce the problem. Can you reproduce this on multiple machines?

Maybe there problem is produced by the older version that is uninstalled during the upgrade. Does the problem appear anymore if you manually uninstall the old version before installing the new one?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Flo
Posts: 5
Joined: Tue Oct 22, 2019 1:06 pm

Re: Error 1606 with "Could not access network location" message

Many thanks for your reply.

I'm currently blocked with this since few days...

In fact that I can see in logs is indeed the APPDIR value is set with a wrong value in RemoveExistingProducts. i don't know why.

I will try your checking I go back to you to tell you the result.
Flo
Posts: 5
Joined: Tue Oct 22, 2019 1:06 pm

Re: Error 1606 with "Could not access network location" message

I was able to update my software but not entirely. Indeed, the update is done but I have two entries in the list of my software in the Control Panel. There are still the old version and the newest.

To explain what I done is what I didn't understand is when I was at upgrade, when it tried to RemoveExistingProducts, it used the installation sequence of the old version and indeed, when it was doing that, the APPDIR was wrong. So I change the SET_TARGETDIR_TO_APPDIR sequence number to fill the APPDIR before SET_APPDIR. Now my update package run until the end.

But I can see two entries in Control Panel. I try to remove the old version manually and can see the registry value still here HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

The old version installation sequence was not able to remove that registry key at uninstall.

Do you know what could be not removed this product registry key ?

Many thanks again for your help and explanation.

I attach the old version aip.
Attachments
oldVersion.aip
(492.87 KiB) Downloaded 302 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 1606 with "Could not access network location" message

Hi,

Please read the "Why files are left behind after package uninstall" FAQ where is explained why both versions of your product remain on the machine after the upgrade.

This problem may appear if some registry entries got corrupted after many tests done on the same machine. That is why we recommend tests to be done on clean virtual machines that can be easily restored to their clean state.

You can try to clean all the unnecessary information remained on your machine about the product that fails, by using the Windows Installer CleanUp tool.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Flo
Posts: 5
Joined: Tue Oct 22, 2019 1:06 pm

Re: Error 1606 with "Could not access network location" message

I solved all my issue. The two entries is probably because I haven't a clean machine indeed.

Thank you so much for your help.

Florian.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 1606 with "Could not access network location" message

You're welcome Florian. I'm glad you solved the problems.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”