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!

gardnmc
Posts: 2
Joined: Fri Jan 19, 2007 12:58 am

Uninstall does not remove files from System32 Directory

When constructing a package using version 4.5 and 4.6, I add 2 files into the \Windows\System32 directory
Windows Add/Remove Program leaves these files in place after uninstalling.

I've added a 'File Operation/File Removal' to remove these files on install and uninstall but it makes no difference.

I don't recall having these problems prior to 4.5.

A secondary issue (that may be related):

I've also noted that if there's an older file with the same name already in the Windows\System32 directory, it won't be replaced during install.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Because those files are already in the \Windows\System32 directory when your application is installed Windows Installer thinks that those files are shared files and the shared ref cont it's increased. On uninstall those files are not removed, the shared ref cont it's decreased.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
gardnmc
Posts: 2
Joined: Fri Jan 19, 2007 12:58 am

Please see the the original post

When constructing a package using version 4.5 and 4.6, I add 2 files into the \Windows\System32 directory

I'm adding these files when installing the package.

I have double-checked that they are not present prior to installing the package, and that they are definitely still there after uninstalling the package.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We cannot reproduce this behavior on our computers. Have you tried to reproduce this on other computers?

However if the problem persist please send the AIP file (if not contain any confidential informations) or a small similar test case to support at advancedinstaller dot com so we can take a look.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”