/build/static/layout/Breadcrumb_cap_w.png

how remove Taskbar short cut of google chrome

Hi Everybody,

   I am trying to package google chrome. After installing chrome am getting desktop short cut and task bar short cut. Any how I have deleted desktop shortcut and taskbar short cut also. But the shortcut icon is not removing from taskbar until we do it manually like click on chrome task bar short cut then it will ask you  do you want to remove the short cut on choosing yes it will remove that icon too.  Can any body tell me how to do it silently.

 

I have used autoIT script to remove the shortcuts.

$PATH = ""&@DesktopCommonDir&"\Google Chrome.lnk"&""
RunWait ( FileDelete ($PATH) )

$Path2 = ""&@AppDataDir&"\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome.lnk"&""
RunWait ( FileDelete ($PATH2) )

$Path3 = ""&@AppDataDir&"\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk"&""
RunWait ( FileDelete ($PATH2) )

 

 


2 Comments   [ + ] Show comments
  • Hi Swetha you are using WIN7 or WINXP ? - KommineniSudheer 10 years ago
  • On Win7 you need to use a script to unpin the taskbar shortcut - KommineniSudheer 10 years ago

Answers (3)

Answer Summary:
Posted by: anonymous_9363 10 years ago
Red Belt
2

Pretty much all of the Google products have separate downloads for personal and corporate use. The corporate ones are MSI-based, so you should use those (from a licensing perspective, if nothing else - read the terms!!). Make your changes - editing the Shortcut table - via a transform, obviously.


Comments:
  • but I am unable to see that shortcut table.. all the files are hidden - swetha539 10 years ago
  • Chome msi has no shortcut table - TCIT 7 years ago
Posted by: terebent 10 years ago
Second Degree Brown Belt
0

Just replace the path from below script to your path to the file and add the script to the installation. You can add how many files do you want.

 DeleteFile ("c:\Temp\test2.pdf ")
DeleteFile ("c:\Temp\test1.pdf ")

Function DeleteFile(strFilePath)
Dim objFSO

Set objFSO = CreateObject("Scripting.FileSystemObject")

If (objFSO.FileExists (strFilePath)) Then
objFSO.DeleteFile (strFilePath)
End if

End Function

 

Posted by: rovo2013 10 years ago
White Belt
0

You can delete this registry key

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{8A69D345-D564-463c-AFF1-A69D9E530F96}]

and it is done.

 


Comments:
  • It's Working. Thank you - swetha539 10 years ago
  • Only Because of that active set up the shortcuts are not deleting. don't we need it yet all - swetha539 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ