Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Win7 removing pinned icons

01 Jul 2014   #1
Danielk1

Win 7 Enterprise 64bit
 
 
Win7 removing pinned icons

I am constantly installing/uninstalling a program for work to test. However, whenever I pin a shortcut to a file that is delivered upon install - it gets removed once I uninstall the program. I follow this thread, but my maintenance system was already disabled. Is there a way to prevent the icons from being unpinned?


My System SpecsSystem Spec
.
11 Jul 2014   #2
MilesAhead

Windows 7 32 bit
 
 

Welcome to the Forums.

Perhaps for testing purposes you could create a .cmd file that simply called the program passing the pinned filename. Windows should see the file pinned to the batch file and not remove it.
My System SpecsSystem Spec
14 Jul 2014   #3
Danielk1

Win 7 Enterprise 64bit
 
 

Pinned cmd files are not supported on win7 without the awkward work around. I believe I had tried to pin other cmd files and they were removed on reboot? Not entirely sure.
My System SpecsSystem Spec
.

14 Jul 2014   #4
MilesAhead

Windows 7 32 bit
 
 

How about an AutoIt3 file compiled to exe?

Code:
If $CmdLine[0] < 1 Then Exit ; quit if no file passed on command line
ShellExecute("x:\folder\yourexe.exe",$CmdLine[1])
My System SpecsSystem Spec
14 Jul 2014   #5
Danielk1

Win 7 Enterprise 64bit
 
 

I was really looking for an solution that didn't need an external dependency. I'm thinking worst case scenario - I could copy the shortcuts back into the system folder that hold the pinned icons since I already run a .bat file after every install.
My System SpecsSystem Spec
14 Jul 2014   #6
MilesAhead

Windows 7 32 bit
 
 

A million ways to skin the cat. You could take a look at Inno Setup. It may have scripting commands to do the pinning after running the program's installer. It's free and very versatile. The scripting is a Pascal subset. Very easy to learn even for non programmers.
My System SpecsSystem Spec
14 Jul 2014   #7
MilesAhead

Windows 7 32 bit
 
 

If the system returns to the same state every time another way would be to use a macro recorder. After installing the software record your setup actions. The macro utility will play them back instead of doing it manually on subsequent installs.
My System SpecsSystem Spec
14 Jul 2014   #8
Danielk1

Win 7 Enterprise 64bit
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
If the system returns to the same state every time another way would be to use a macro recorder. After installing the software record your setup actions. The macro utility will play them back instead of doing it manually on subsequent installs.
That's really cool. I have been trying to smooth the install process since we install ever few builds that come off. I will see what I can find on macros. Thanks!
My System SpecsSystem Spec
Reply

 Win7 removing pinned icons




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Taskbar Pinned Icons - Change
How to Change the Icons of Programs Pinned to the Taskbar This tutorial will show you how to change the icons of the programs and shortcuts pinned to the taskbar.Icons must be have a .ico extension. Image files such as .png or .jpeg will not work. Such icon files can be found at websites...
Tutorials
Removing Submenus on Shortcuts Pinned to Start Menu
Hi guys, it's really annoying to have submenus on items pinned to the start menu. Is there a way I can get rid of them ? Thank you.
General Discussion
rearrange your pinned icons on the taskbar
hi all :) did you know you can rearrange your pinned icons on the taskbar by left clicking and holding with mouse then move to desired place and release. USEFUL LINK >>> http://tinyurl.com/3287c2e
General Discussion
Help with opening pinned icons
If I have multiple Firefox browsers open that are not in full screen mode, once clicked on, that screen disappears before I can reach it with my pointer. This happen with all pinned icons that are not in full screen mode or a small notification box. Someone mentioned that Lenovo maybe had an...
General Discussion
Re-name to the pinned icons menu at start?
Is there any possibility to put re-name option under start menu pinned icons right-click? Some names are too long or have numbers, so I would like to re-name them in more easy way then going to Properties-General. Thanks in advance!
General Discussion
Changing pinned icons??
I just noticed that it seems impossible to customize the icons of programs pinned to the taskbar/superbar. You can change the icon, and any other instances of it will appear properly, but the one pinned to the taskbar is the one contained in the EXE and nothing else. This is terrible, the...
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App