drivard
Posts: 50
Joined: Wed Dec 05, 2007 10:14 pm

Vista - uninstall is not removing application folder/files

Hello,
We are using AI Enterprise 6.1

We are having an issue uninstalling our product on Vista, which is badly affecting our ship date.
The uninstall appears to complete successfully, but our installation folder, and all of it's files remain behind.
The registry key we create in HKCU is removed, as well as start menu icons and control panel entry.

We've tried setting Execution Level to Require Administrator and also Highest Available in the bootstrapper tab. Our original setting was As Invoker.
In all cases, the result is the same.
Looking at the MSI uninstall log, the one thing that jumps out is this set of lines for each of our files. The meaning is obvious, but I don't understand how to solve the problem.
I can send our complete install and uninstall logs if required


MSI (s) (54:A8) [08:52:04:741]: Verifying accessibility of file: pc.css
MSI (s) (54:A8) [08:52:04:741]: Note: 1: 1321 2: C:\Program Files\our company\our product\pc.css
MSI (s) (54:A8) [08:52:04:741]: Executing op: FileRemove(,FileName=Agent.exe,,ComponentId={EEDF3EB0-CE89-44D0-AE54-21F8D9014944})
Info 1321. The Installer has insufficient privileges to modify this file: C:\Program Files\our company\our product\pc.css.
MSI (s) (54:A8) [08:52:04:741]: Verifying accessibility of file: Agent.exe
MSI (s) (54:A8) [08:52:04:741]: Note: 1: 1321 2: C:\Program Files\our company\our product\Agent.exe
MSI (s) (54:A8) [08:52:04:741]: Executing op: FileRemove(,FileName=Interop.CAntiVirusCOMLib.dll,,ComponentId={1566B087-7E58-43B0-B8D4-E6A696455BD1})
Info 1321. The Installer has insufficient privileges to modify this file: C:\Program Files\our company\our product\Agent.exe.

We are stumped.


Our product install and uninstalls fine on Windows XP.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure why you are encountering this behavior.

Can you please send us the AIP file with the problem and the complete log of the uninstallation to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You are encountering this behavior because the package is configured to perform a per-user installation in per-machine locations (the "Program Files" folder, the HK_CLASSES_ROOT key etc.).

Please set the "Installation Type" combo in the "Install Parameters" page to "Per-machine only (fails if user is not administrator)" and let me know if the problem persists.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”