Shortcut icon on desktop not scaling in win7
-
Wednesday, August 22, 2012 2:05 AM
Hopefully this is the right forum...
I have created a setup project installer in VS2010 sp1 and successfully created my .msi.
The problem I am having is with the icon assigned to the shortcut on the target system desktop. If I scale the icons larger it remains the same size. I created the icon using gimp and it has 128x128, 64x64, 48x48, 32x32 and 16x16 versions. I tried reloading thumbs.db under Users/App Data/Local, that did not work. If I create my own shortcut and link to the icon in the "install directory/res/my_icon.ico" it scales perfectly so it is defiantly something with the installer.
There arent that many knobs to turn with regards to the icons so I have exhausted everything I could think of....help!
- Edited by holewheat Wednesday, August 22, 2012 2:05 AM
- Edited by holewheat Wednesday, August 22, 2012 2:13 AM
- Edited by holewheat Wednesday, August 22, 2012 2:14 AM
- Moved by Ego JiangMicrosoft Contingent Staff Thursday, August 23, 2012 2:46 AM it is a winform issue (From:MSBuild)
All Replies
-
Thursday, August 23, 2012 2:45 AM
Hi holewheat,
Thank you for posting in the MSDN Forum.
Based on this case relate to ClickOnce and Setup & Deployment Projects, I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.Thank you for your understanding and support.
Best regards,
Ego [MSFT]
MSDN Community Support | Feedback to us
-
Thursday, August 23, 2012 8:23 AMModerator
Hi holewheat,
We cannot use third-party tool on our machines.
But I have tried to create an icon file in Visual Studio, and add the icon file into Application Folder in File System Editor of the setup project. Then create a shortcut to the primary output and select the icon. After build and install, I cannot reproduce the issue you mentioned.
Have you tried to create the icon in Visual Studio and will it work? I would like to know what are your steps to set the icon?
If there are any new findings, please feel free to let me know.
Best regards,
Chester Hong
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
-
Thursday, August 23, 2012 6:08 PM
My steps to set the icon are to put my generated foo.exe into the application folder and select my icon then create a shortcut to foo.exe in the users desktop folder then set the icon. The icon is located in <install dir>/res. The icon displays correctly but when I scale my icons on my desktop (CTL+ mouse wheel) The icon remains its current size.
I have not tried creating the icon in VS but feel that I should not have to do this as I do not get the same features as I get in a full featured image editing program (gimp or photoshop).
I have been able to find a .vbs script to patch my .msi which seems to solve the issue but is an extreme hack around this problem.
-David
-
Monday, August 27, 2012 8:40 AMModerator
Hi David,
We cannot test third-party software on our machine, But when I cannot reproduce the issue when creating the icon in VS. So I'm not sure whether the issue only appear with some other third-party softwares. But I haven't suggest you to use something to create the icon. I'm sorry if I misled you.
Would you like to share the workaround of the script, it can be great helpful to other community members who have similar questions.
Best regards,
Chester Hong
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

