Upgrade older install does not delete old files, just adds - 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!

SergeMerz
Posts: 7
Joined: Fri Jul 22, 2011 1:07 pm

Upgrade older install does not delete old files, just adds

Hi,
With AI 9.0.1 and 9.2 (on windows 7) I have an installer upgrading an older installation. The problem is that new files are merges with older files which is wrong. How can I get a directory to be emptied before an upgrade so that ONLY new version files exists.

My current problem

BEFORE UPGRADE on version A:
lib\fooA.jar
lib\barA.jar

AFTER UPGRADE from version A to B:
lib\fooA.jar
lib\fooB.jar
lib\barA.jar
lib\barB.jar

What I want is all the old A files to be deleted.


Regards,
Serge
SergeMerz
Posts: 7
Joined: Fri Jul 22, 2011 1:07 pm

Re: Upgrade older install does not delete old files, just ad

An Update for AI 9.2:

This behaviour ONLY occurs after adding a Persistent User Store to a working install.
SergeMerz
Posts: 7
Joined: Fri Jul 22, 2011 1:07 pm

Re: Upgrade older install does not delete old files

Problem Solved.

1. Create your persistent user data
2. Goto Upgrades options and select 'Uninstall old version first.....'

Serge

Return to “Common Problems”