phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Setup process stays alive after cancelling setup

I’m having a setup project using LZMA compression. I have a small problem when I cancel the installation:

I start the installation and during the installation process I cancel the installation. After cancelling the installation I see the normal “The Installation has been canceled dialog, which I immediately close by pressing the Finish Button. But unfortunately the setup.exe process won’t be killed instantly. The process stays alive for some time, which can be seen in the task dialog (according to my tests the time depends on the size of the setup project).
This is problematic if you cancel an installation and restart it immediately after canceling (that’s the way our testing departing found that issue).
Is this known bug, are there any planes for making the setup.exe process disappear earlier?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup process stays alive after cancelling setup

Hello,

If the size of the package is considerable, then the .EXE bootstrapper process could take some time to delete the extracted files.
You can try to enable "Do not delete extracted MSI and CAB files" and see if the behavior persists.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup process stays alive after cancelling setup

I've tried the option "Do not delete extracted MSI and CAB files", but unfortunately the behavior doesn't change. The setup is still alive for minutes after the "The Installation has been canceled" dialog.
Do you have any other suggestions?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup process stays alive after cancelling setup

Hello,

Does this behavior manifest on several clean machines?

If so, can you please send us the .AIP ( project file ) to support at advancedinstaller dot com so we can replicate the behavior?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup process stays alive after cancelling setup

Hello,

After subsequent discussions with the development team, I found that "Do not delete extracted MSI and CAB files" only has effect at the end of the installation. If the user cancels the installation the setting is not taken in consideration.
I'm afraid there is nothing we can do to prevent the process from deleting the extracted files upon user cancel. This is designed expected behavior and also the reason the EXE process hangs.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup process stays alive after cancelling setup

Hello,
Isn’t there a possibility to keep the UI alive, until the setup has finished with deleting the extracted files?
The problem is not the time the setup.exe needs the time to delete the files, but that the user couldn’t see that the setup.exe is just working. A dialog like “temporary file are removed”, would be an appropriate solution from our point of view.

Regards
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Setup process stays alive after cancelling setup

I've passed your suggestions to my colleagues so they can further analyze it and implement a solution in a future version.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup process stays alive after cancelling setup

Can you give us a time horizon in which you will implement that solution?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup process stays alive after cancelling setup

Hello,

The improvement should be included in the next second release. Therefore an approximate ETA is a couple of months.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup process stays alive after cancelling setup

In which version is the fix included?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup process stays alive after cancelling setup

Hello,

The improvement consists in showing a dialog during those files' removal. It'll be included in version 9.1. which should be out by the end of this month.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”