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.
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?
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 ?
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.
FOLLOW US
Get the latest news in Application Packaging