Hi,

I have created the installer and installed on my machine successfully, i have just placed the installer icon on taskbar(by selecting ping to Taskbar ), When i uninstalled the installer it is not completely deleting the taskbar icon. Please help me on this??

asked 08 Dec '15, 02:12

abdulshameer's gravatar image

abdulshameer
1567
accept rate: 0%


What operating system are you referring to?

For Windows, the icons are created in ${windows_folder_appdata}/Microsoft/Internet Explorer/Quick Launch/User Pinned/TaskBar and the name is the name of either binary or shortcut it was pinned from - such as for myapp.exe and shortcut called MyApp Launcher the safest way is to delete myapp*.lnk.

For OS X, this may require creating a script that modifies persistent-apps in com.apple.dock using defaults command. This is discussed in more details on OS X forums:

How to remove an application Icon from Dock from Mac OSX Mavericks?

Unfortunately there is no simple command that allows removing an application from taskbar for OS X.

link

answered 08 Dec '15, 05:40

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Hi wojciechka,

Thank you so much for your quick response. I am using windows operating system, i want to delete myapp*.link when i uninstall the application. Is there any batch file to run this or is this possible with install builder.

Please excuse typos.

(08 Dec '15, 05:57) abdulshameer

You can use the <deletefile> action - such as:

<deleteFile path="${windows_folder_appdata}/Microsoft/Internet Explorer/Quick Launch/User Pinned/TaskBar/myapp*.lnk" />

This action could be used in <postUninstallationActionList>.

(08 Dec '15, 08:57) wojciechka ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×155
×29

Asked: 08 Dec '15, 02:12

Seen: 519 times

Last updated: 08 Dec '15, 08:57