ChrisGue
Posts: 93
Joined: Tue Feb 03, 2009 7:26 pm

uninstaller does not remove all files

Hello,

I use AI 7.1.3 enterprise.

I the current installation not all files are uninstalled.
The installation can be downloaded here:
http://dl.jumpingbytes.com/PureSyncInst.exe

The following files are not uninstalled (on win XP):
C:\Program Files\PureSync\languages\Español.lng
C:\Program Files\PureSync\shellext\psshell32.dll

On Win7 Español.lng is uninstalled.

Is there a problem with the ñ in filenames on Win XP?

The file psshell32.dll is an epxlorer shell extension is used by explorer.exe. Is that the problem? How to solve that?


Please help.
Chris
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: uninstaller does not remove all files

Hi Chris,
Is there a problem with the ñ in filenames on Win XP?
No, there is no such issue on Windows XP. We installed your application on our machine and we saw no problem in uninstalling the "Español.lng" file.
However the "psshell32.dll" file is not uninstalled as you mentioned. Upon a closer look at the uninstall log we discovered that the component is not marked
for removal and thus no action is taken towards its removal.

To further investigate the problem, can you please send us the project AIP file to support at advancedinstaller dot com ?

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: uninstaller does not remove all files

Hi Chris,

We received your AIP file and found the following:

MSDN INSTALLLEVEL Property: An administrator can permanently disable a feature by applying a customization transform that sets a 0 in the Level column for that feature.

For the WinNT Feature your settings are set as:

The option "Disabled. It will not be installed or displayed in CustomizeDlg" sets the INSTALLLEVEL to 0. This setting will set the feature not to be installed in the MSI Feature Table.

The Conditional install levels:
If VersionNT>500 then level is 1.
If VersionNT<=500 then level is 0.

These setting will overwrite the original values in the MSI Feature Table for the WinNT feature. As a result, during installation the feature will be installed. During the uninstall however, the MSI Feature Table will be read and since the feature install level is set to 0 the Installer will ignore the feature as it wasn't "installed" in the first place. This is the reason the component is not removed during the uninstall.

To correct these issues you should modify the project like this:
[*] In the Feature Tree field select "Not Displayed" option.
[*] Select "Not installed by default. The user can choose to install it in CustomizeDlg, when performing a custom installation or by selecting Complete option in
SetupTypeDlg" option.
[*] Set the Conditional Install levels:

If VersionNT>500 then level is 1.
If VersionNT<=500 then level is 4.

A feature is marked for installation if the INSTALLLEVEL is less than or equal to 3 (Default INSTALLLEVEL value). Therefor a value of 4 will mark the feature not to be installed, but it will be removed during uninstall if found present.

Best Regards,
Vasilovici Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”