Nils
Posts: 17
Joined: Fri Jun 22, 2018 11:55 am

Old prerequisite used after failed installation

I recently encountered unexpected behaviour while installing another app as a non predefined prerequisite. Because of a problem during the installation of the prerequisite the installation could only be stopped on some machines by killing the installer with the task manager. After fixing the problem and successfully testing it individually, the app still failed as a prerequisite.
After some investigation we managed to figure out that the faulty prerequisite installer was still present in the folder \AppData\Roaming\[CompanyName]\[Product]\prerequisites\ and used during installation. There is also a registry entry pointing at this installer Caphyon\Advanced Installer\{Product Id}\[VersionNumber]\AI_ExePath. While this might be an edge case I would expect the installer to clean-up pre install to avoid these kind of issues.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Old prerequisite used after failed installation

Hello,

Most likely, you are encountering this behavior because you have manually killed the installation process of your prerequisite using task manager. It is impossible for Advanced Installer to perform a clean-up when the installation process has been forced to end prematurely.

Also, as a side note, for testing purposes we always recommend to be used virtual machines with clean states so that when something goes wrong you can easily revert to a clean state of the virtual machine.

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”