PUG
PUG

Reputation: 4472

Installer Project giving error in VS2k8

I have a installer project on VS 2k8, .net 3.5. Its giving me the following error:

Error 1 Invalid icon file 'MSDN Magazine Managed Preview Handlers', located in 'Application Folder' C:\Users\jaminator\Desktop\APPreview\Handler\InstallPreviewHandlers\InstallPreviewHandlers.vdproj InstallPreviewHandlers

It is a demo application which i was trying to modify to make my own so i changed the icon since then i am getting this error

Upvotes: 0

Views: 750

Answers (2)

gollumullog
gollumullog

Reputation: 1249

I am using VS 2005 but encountered the same issue:

  • Left Click on your setup project in the solution explorer
  • in the properties window to the right
    • select AddRemoveProgramsIcon
    • click browse
    • find the icon file in your File System for this setup project (go back and add it if it isn't added already)
  • Build your project, this should fix the issue.

Upvotes: 1

Zuhaib
Zuhaib

Reputation: 1420

I think the setup project is unable to find the icon thats why its throwing exception. Try choosing the Icon again.

  1. Rebuild your main application
  2. Goto your setup project .. then Application Folder
  3. Click on the MSDN Magazine** Handlers
  4. In the property window again choose the Icon
  5. Build your setup.

Upvotes: 0

Related Questions