Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid icon file located in 'application folder'

in my Setup project i delete icon and add new one now when i build the setup project i have this error

Invalid icon file xxx located in 'application folder'

i use VS 2010

like image 881
Tarek Saied Avatar asked Aug 29 '12 16:08

Tarek Saied


4 Answers

I think this might help you:

Add a valid icon in the Project. Then left click to select the installer project (in solution explorer). Go to properties window, change the AddRemoveProgramsIcon. Browse and set it to the newly added valid icon.

like image 139
ygssoni Avatar answered Nov 08 '22 23:11

ygssoni


Alternately, just change the AddRemoveProgramsIcon value to "None" in your install project, if you are not ready to specify an icon file yet.

like image 37
eleland Avatar answered Nov 08 '22 23:11

eleland


I was having the same issue, I had the icon in my application folder, I saw it in the explorer, everything looked fine, but I was having problems with TFS, going back and forward then the problem appeared, what I did was the following:

  1. Went to my Setup project properties and on the AddRemoveProgramsIcon property clicked on Browse, then saw that the file name was there but not the physical icon as in the image below

No physical icon

  1. Click on browse and searh in the Application Folder for my icon, then inserted it as, then saw the physical icon as in the image below

enter image description hereenter image description here

  1. Then rebuild and everything was ok
like image 5
ddieppa Avatar answered Nov 08 '22 23:11

ddieppa


I think you're using that icon for shortcuts, if so you have to re-affect all shortcuts to the new icon, same thing when you delete an assembly & even if you replace it with a new one with the same name you have to re-affect all

like image 1
S3ddi9 Avatar answered Nov 09 '22 00:11

S3ddi9