prolancer
Posts: 17
Joined: Wed Nov 23, 2011 6:16 am

Cannot re-run install package from different location

Hi,

we are experiancing a problem which is preventing us from re-running the installation EXE file, which we create with AI 8.8.2, from a different directory to the one used to run it the first time. Here is the scenario:

1. We run c:\Temp\MyApp-Install-1.0.0.exe for the first time on the machine and install one feature.
2. We MOVE the exe file to say c:\downloads\MyApp-Install-1.0.0.exe and re-run it (because we want to install another feature this time). We get an error saying that c:\Temp\MyApp-Install-1.0.0.exe cannot be found. (Note: the error is about the previous location of the file).

After some investigation we found that the package creates a registry key HKLM\SOFTWARE\Wow6432Node\Caphyon\Advanced Installer\LZMA\<PROD KEY>\1.0.0\AI_ExePath. If we (manually) remove this key, all works well.

I read some of the posts that come up when you search using "lzma" and "ai_exepath" and I understand that the key is created if we choose to bundle all install files in one exe install file. BTW, we do not select the "Archive installation files using LZAM ..." option on the Media tab.

So my quetion is: how can we enable users to re-run the install file from a different location?

Our users are downloading the install file, installing, and very likely disposing of the install file after installing. If they wish to add a feature, they simply download the install file again and repeat the process (however, the download may end up in a different location).

Thank you
Emil
Last edited by prolancer on Sun Feb 19, 2012 11:17 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Cannot re-run install package from differnt location

Hi Emil,

Unfortunately I cannot replicate this issue.

Can you please send us the .AIP ( project file ) and a verbose log of the failing installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prolancer
Posts: 17
Joined: Wed Nov 23, 2011 6:16 am

Re: Cannot re-run install package from different location

Files sent via e-mail as per your request.

Emil
ccdev
Posts: 1
Joined: Mon Aug 19, 2024 6:41 am

Re: Cannot re-run install package from different location

We have similar issue. When uninstalling our application, if the original installation file (*.exe) was removed, renamed or moved to different folder, some of the files that were installed and belong a particular pre-requisite are not being deleted.

I also found that the key here:

Code: Select all

 HKLM\SOFTWARE\Wow6432Node\Caphyon\Advanced Installer\LZMA\<PROD KEY>\1.0.0\AI_ExePath
is pointing to that installation file (*.exe). Removing that key does not help.

This was tested in different (clean) machines and same behaviour occurs always. Any ideas?

PD: this post is also similar viewtopic.php?t=28673
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Cannot re-run install package from different location

Hello and welcome to our forums,

If you are using CAB files, have you tried checking the "Do not remove extracted MSI and CAB files" from the "Builds" page?

From your post, it looks like you are using the LZMA compression (or at least from that registry key). Is that correct?

If possible, please try to create a sample project that reproduces (the AIP file and its resources, so I can build it) this and forward that to me by email at support at advancedinstaller dot com so I can further test and investigate this.

If you can not do that, please provide:

- a download link for the setup

- a copy of the AIP File

- a test-case with the expected&actual results

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

Return to “Common Problems”