Page 1 of 1

Apply Uninstall vs Install/Remove. Odd cleanup behavior.

Posted: Wed Jun 28, 2006 11:47 am
by alexzakharov
Hi, my apologies in advance if the question seems trivial, but here it goes.

The first step in any install upgrade is to remove the previous version of the product. In IA it is done by executing "Install/Remove MSI Package $PRODUCTCODE${REMOVE=ALL}". For some reason this call deletes the contents of directory (under "application data") of the old installer, but it does NOT delete the actual directory. Is this expected behavior?

I noticed that when I do a "normal" uninstall - for example by first installing the app and then uninstalling it right afterwords the script calls "Apply Uninstall". In this case uninstall's behavior makes more sense - it deletes not only the contents of installer's directory under "application data", but the directory itself.

Can somebody please explain the above? The fact the "Install/Remove" doesn't delete the directory is bothersome. The behavior gets even worse if I rely on web updates to do an upgrade. Then not only the directory of old installer stays, but old installer's exe and mia.dll also dont get removed and stay in old installer's directory...

Posted: Wed Jun 28, 2006 6:30 pm
by MichaelNesmith
Hi Alex,

I've created a support incident for this and will make sure it gets attention from the product team. Thank you for reporting.