aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Temporary folders remain in Roaming after installation

I have created multiple setups. Each one will uninstall the previous version. Everything installs fine. But the roaming folder contains some empty folders under Roaming\MyCompany\
One for each installed version and each contains a an empty subfolder 'install'.

Console output:
C:\Users\User\AppData\Roaming\MyCompany>dir
25.07.2016 20:39 <DIR> .
25.07.2016 20:39 <DIR> ..
26.10.2015 15:45 <DIR> MyApplication 1.1.5704.23658
20.01.2016 23:35 <DIR> MyApplication 1.1.5828.22507
08.06.2016 10:19 <DIR> MyApplication 1.2.0.24535
08.07.2016 18:28 <DIR> MyApplication 1.2.1
25.07.2016 15:14 <DIR> MyApplication 1.2.1.22105
25.07.2016 16:35 <DIR> MyApplication 1.2.1.27523
25.07.2016 20:39 <DIR> MyApplication 1.2.2.35162
0 File(s), 0 Bytes

My question 1)
Shouldn´t Advanced Installer delete this folders? Even the folder for the latest version installed which is currently installed is empty. I assume this are temporary files and then they should be deleted.

My question 2)
Should Advanced Installer use the users temp folder for temp files?

My question 3)
How can modify the Installer to remove the files? Because a User won´t remove them he will only complain if he finds them.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Temporary folders remain in Roaming after installation

Hello,

I apologize for my delayed answer. I'm afraid this is an Advanced Installer limitation caused by our EXE bootstrapper design when the Enhanced User Interface feature is enabled. We apologize for the inconvenience.

Please take a look on our "Uninstaller does not remove all folders" thread which debates this limitation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Re: Temporary folders remain in Roaming after installation

Hi Daniel,

it looks like every one has this problem, but instead of having every one implementing the workaround like described in your link, why don´t you remove the folder by default?

Otherwise every new AI user will once find these folders and contact support and then you need to tell him that there is a workaround.

I would suggest to add an option (checkbox), when the EUI is enabled, also enable the checkbox and check it by default. If set add the custom action when building the setup.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Temporary folders remain in Roaming after installation

Hello,

I've forwarded your feedback to our development team and hopefully they will consider such an improvement in the future.

Until then you will have to develop by your own a custom action to delete the extraction empty folder. Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”