Installation files on target machine - Advanced Installer Community

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!

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Installation files on target machine

Hello,

I'm using the bootstrapper to deploy a 32/64 (En,DE) mixed installation (all files included in the exe).Everything works fine but I have some doubts. I have problems by changing/reparing an installation, when the exe (bootstrapper) is no more on the folder from where the installation was started. I have made some tests and got the following results as well as questions:

1.- In case the Bootstrapper options (Media) "Do not delete extracted MSI and CAB files" is unchecked (Default):
a) Unpacking: the unpacking process works fine. If one cancel the installation the files are also deleted as a part of the rollback process (cool).
b) Installing: the installation process works also fine. After finishing the installation process, the unpacked files are also deleted.
c) The Problem: Let say a user load my exe from the web, he copies it on the desktop and install it. Afterwards he deletes the file and some time after he try to change/repare the installation, by clicking the "modify" button on the Software list from Windows. At this point, the installation wants to have the path to the unpack folder, not letting the user to modify/repare.
Even worse (in my personal case. It happenned one time and I couldn't reproduce this again), cancelling this "Browse folder" dialog can make the installation process end with an error, avoid to deinstall the applciation, even if the files are located where they were.

2.- In case the Bootstrapper options (Media) "Do not delete extracted MSI and CAB files" is checked:
a) Unpacking: the unpacking works fine.
b) Installing: The installation woks fine. changing/reparing the instalaltion without having the initial exe works too. The unpacked files are deleted after uninstall, what I find perfect.
c) The Problem: Different than in Point 1-a, if one cancel the installation, the unpacked files remain on the computer. Since the installation was aborted I would expect that those files are deleted as a part of the rollback process. Is this a bug? or do I'm missing something here?

3.- About the C:\Windows\Installer folder:
- Other installation tools that I have seen (or Windows MSI itself, I'm not sure) create automatically a copy of the actual launched and installed MSI file on C:\Windows\Installer. This installation copy will then be called from MSI, for any change needed to do to the installation.
- Example: I have an installation (written with Wise Installation Studio 7) that uses also a kind of bootstrapper (but somehow separed of the "Media" part of the installation). This exe also extract the files to a temp folder, apply a transform to an msi, install the application and copy that msi to the Windows/installer folder. So can the user always repare/change the instalaltion, without having the original exe.
- The Problem: In case of Advanced-Installer will only a msi file created and copied to C:\Windows\Installer, which is a kind of link to the exe.... if the exe is removed from its initial location, neither modify nor repaair nor deinstall will work. Can I change this behavior to work like the example described above? Do I have anything wrongly configured?

Thanks in advance,
Keneth
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installation files on target machine

Hi,
c) The Problem: Different than in Point 1-a, if one cancel the installation, the unpacked files remain on the computer. Since the installation was aborted I would expect that those files are deleted as a part of the rollback process. Is this a bug? or do I'm missing something here?
This is strange the files should have been removed upon rollback. Can you please send a us a link from where we can download and test the setup package and the aip used to build it?

Indeed the solution it to use the option "Do not delete extracted MSI and CAB files" .
- The Problem: In case of Advanced-Installer will only a msi file created and copied to C:\Windows\Installer, which is a kind of link to the exe.... if the exe is removed from its initial location, neither modify nor repaair nor deinstall will work. Can I change this behavior to work like the example described above? Do I have anything wrongly configured?
By default, on Maintenance not the EXE is launched, but the MSI. If you want the EXE to run and on maintenance you need to go to Themes page, Settings tab and select "Always (...)" radio button.
Can you please try this option and see how it works?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Installation files on target machine

Hello Bogdan,

thanks for your reply,
Bogdan wrote: This is strange the files should have been removed upon rollback. Can you please send a us a link from where we can download and test the setup package and the aip used to build it?
I have sent you a link for the files. Note that if you cancel the Language dialog at the very beginning, then the files are deleted. Instead, if you cancel the msi installation, the files will be not deleted.
Bogdan wrote: By default, on Maintenance not the EXE is launched, but the MSI.
Indeed the msi is launched. But after selecting the changes and clicking the install button, the msi installation asks for the path to the exe file.
Bogdan wrote: If you want the EXE to run and on maintenance you need to go to Themes page, Settings tab and select "Always (...)" radio button.
Can you please try this option and see how it works?
I don't want to have the exe running on maintenance. I am wondering why the msi installation wants to have it. I have made the test you asked and the behavior is the same, except for a new problem: after doing the test, I have found that the files will not be deleted AFTER deinstalling the application. Even if I compile the aip as I had it before. So in the test I did yesterday, the point b is no more true:
McKool wrote:2.- In case the Bootstrapper options (Media) "Do not delete extracted MSI and CAB files" is checked:
a) Unpacking: the unpacking works fine.
b) Installing: The installation woks fine. changing/reparing the instalaltion without having the initial exe works too. The unpacked files are deleted after uninstall, what I find perfect.
c) The Problem: Different than in Point 1-a, if one cancel the installation, the unpacked files remain on the computer. Since the installation was aborted I would expect that those files are deleted as a part of the rollback process. Is this a bug? or do I'm missing something here?
Thanks for your help.
Keneth
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installation files on target machine

Hi Keneth,
I have sent you a link for the files. Note that if you cancel the Language dialog at the very beginning, then the files are deleted. Instead, if you cancel the msi installation, the files will be not deleted.
We have investigated this behavior and it seems it is caused by a bug in Enhanced UI feature from Advanced Installer. A fix has already been implemented by our development team and will be available very soon in version 8.1. If you would like a RC version of the fix please write us an e-mail at support at advancedinstaller dot com.
have made the test you asked and the behavior is the same, except for a new problem: after doing the test, I have found that the files will not be deleted AFTER deinstalling the application. Even if I compile the aip as I had it before. So in the test I did yesterday, the point b is no more true:
I'm afraid I cannot reproduce this. I have tested with Enhanced UI always activated, or activated only on install. In both cases the files were deleted upon uninstall, no matter if the uninstall was started from control panel or by directly launching the setup package.

Maybe this is something related to the bug that has been fixed. Please let me know if it persists on multiple clean machines after you shall use a version of Advanced Installer that includes the fix.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Installation files on target machine

Hello Bogdan,

thanks for the information.
Bogdan wrote:I'm afraid I cannot reproduce this. I have tested with Enhanced UI always activated, or activated only on install. In both cases the files were deleted upon uninstall, no matter if the uninstall was started from control panel or by directly launching the setup package.

Maybe this is something related to the bug that has been fixed. Please let me know if it persists on multiple clean machines after you shall use a version of Advanced Installer that includes the fix.
It could be feasible that the described behavior is also caused by the same bug.
Bogdan wrote: If you would like a RC version of the fix please write us an e-mail at support at advancedinstaller dot com.
I will send today an email asking for the RC version. I will let you know if the efect is still there after using the new version.

Thanks again for your effort,
Keneth

Return to “Common Problems”