TedN
Posts: 14
Joined: Fri Sep 30, 2005 6:21 pm
Contact: Website

Shortcuts not uninstalled to Install/Uninstall Gridlock

I am testing an install/uninstall on Windows XP, and have gotten myself into a real jam.

I have 5 shortcuts in my application start menu. For some reason 3 of then were not being removed when uninstalling the application even though I could see no differences from the ones that were being uninstalled.

I decided that maybe the problem had to do with Permissions for the files the shortcuts were pointing to, so I tried adding a Delete permission for all users to one of the files. This turned out to be a mistake, because now if I try and uninstall my application I get an error,"The installer has insufficiant privelages to modify this file; myfile".

So now I can't uninstall or install my application on this machine. Installing tells me the applicatuion is already installed and uninstalling tells me the installer does not have permission.

I tried downloading and running Windows Install Cleanup, but this does not help.

Does anybody have an idea why my shortcuts were not being removed during uninstall in the first place, or how I can get myself out of this situation now that I can no longer develop my install on this machine?

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to be able to remove these shortcuts you can follow these steps:
- log on as an Administrator
- go to the Programs folder (for example "C:\Documents and Settings\<username>\Start Menu\Programs")
- right-click the folder which contains the shortcuts, select the "Properties" menu
- in the "Security" tab modify the settings in order to have Full Control

Regarding the permissions you set in your Advanced Installer project, you can read more about configuring them here:
http://www.advancedinstaller.com/forums ... php?t=6676
Does anybody have an idea why my shortcuts were not being removed during uninstall in the first place
I'm not sure why you are encountering this behavior. What operating system are you using? Can you please send us a small test case which shows this behavior to support at advancedinstaller dot com so we can investigate it?

The test case should include:
- the AIP
- the resulted installation package which shows the problem

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TedN
Posts: 14
Joined: Fri Sep 30, 2005 6:21 pm
Contact: Website

I am installing to a Windows XP Pro SP2 machine. I have sent a scaled down setup and AIP file to your support address.

As stated, installing and then uninstalling leaves several shortcuts behind in the Start Menu.

Thanks.

--Ted
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi Ted,

I have tested the package you sent and the shortcuts are removed correctly.

Please make sure that you don't have a previous version of your application installed on the machine which shows this behavior and that the folder with the shortcuts is not already present when installing the package.

Also, please try this package on a clean machine.

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

Return to “Common Problems”