Visual Studio setup project icon problem

O

ofiras

Hi everyone,
I am trying to create a setup using Visual Studio 2010 RC. Everything
works fine, except the icons. After I install, the icon that I have
assigned to the shortcuts (at the desktop and program menu) are not
seen (it shows default icon), and the icon in add/remove programs has
the same problem. This is really frustrating since it is the only
obstacle preventing me from publishing my program.
I have also tried using VS2008 and VS2005, but they have the same
issue too, so I assume that I am doing something wrong.
I assigned the icon by just clicking on "Browse" at the "Icon"
property of the shortcut. then I choose my icon in the window opened.
I don't see what could be the problem.
Does anyone knows what the problem might be?
Please help,
Ofir.
 
M

mick

ofiras said:
Hi everyone,
I am trying to create a setup using Visual Studio 2010 RC. Everything
works fine, except the icons. After I install, the icon that I have
assigned to the shortcuts (at the desktop and program menu) are not
seen (it shows default icon), and the icon in add/remove programs has
the same problem. This is really frustrating since it is the only
obstacle preventing me from publishing my program.
I have also tried using VS2008 and VS2005, but they have the same
issue too, so I assume that I am doing something wrong.
I assigned the icon by just clicking on "Browse" at the "Icon"
property of the shortcut. then I choose my icon in the window opened.
I don't see what could be the problem.
Does anyone knows what the problem might be?
Please help,
Ofir.


Right-click your project in solution explorer and select Properties. Then
select the Application tab on the left. Here select Icon and manifest and
choose your icon.

mick
 
O

ofiras

Right-click your project in solution explorer and select Properties. Then
select the Application tab on the left. Here select Icon and manifest and
choose your icon.

mick

I think I wasn't clear... I am creating a Setup and Deployment and not
an Application. my problem is with the icons of the shortcuts that I
crate. when I try installing, it shows me a default icon, and not the
icon I chose.
Thanks,
Ofir.
 
O

ofiras

I think I wasn't clear... I am creating a Setup and Deployment and not
an Application. my problem is with the icons of the shortcuts that I
crate. when I try installing, it shows me a default icon, and not the
icon I chose.
Thanks,
Ofir.

Never mind, I gave up and used InstallShield instead.
 
O

ofiras

Never mind, I gave up and used InstallShield instead.

Seems like InstallShield doesn't have the option to install .NET if it
is not installed already (it can only check if it exists and tell the
user to install it himself if not).
I want to create a setup for my C# program, and I need it to
install .NET if it is not installed, because many of the users don't
have it and I want to make it easier for them.
I saw many setups that automatically install .NET on my computer, so
there must be a way to do it. does anybody knows how can I create a
setup that automatically installs .NET?
Thanks,
Ofir.
 
M

mick

Never mind, I gave up and used InstallShield instead.

Seems like InstallShield doesn't have the option to install .NET if it
is not installed already (it can only check if it exists and tell the
user to install it himself if not).
I want to create a setup for my C# program, and I need it to
install .NET if it is not installed, because many of the users don't
have it and I want to make it easier for them.
I saw many setups that automatically install .NET on my computer, so
there must be a way to do it. does anybody knows how can I create a
setup that automatically installs .NET?
Thanks,
Ofir.


Ah, right-click your setup project and select View Filesystem. Select Users
Desktop - your shortcut should then be displayed. Select it and look in the
Properties window - you can select the icon you want from there.

mick
 
M

mick

mick said:
Seems like InstallShield doesn't have the option to install .NET if it
is not installed already (it can only check if it exists and tell the
user to install it himself if not).
I want to create a setup for my C# program, and I need it to
install .NET if it is not installed, because many of the users don't
have it and I want to make it easier for them.
I saw many setups that automatically install .NET on my computer, so
there must be a way to do it. does anybody knows how can I create a
setup that automatically installs .NET?
Thanks,
Ofir.


Ah, right-click your setup project and select View Filesystem. Select
Users
Desktop - your shortcut should then be displayed. Select it and look in
the
Properties window - you can select the icon you want from there.

mick


Just to add, this assumes you added the .ico file to the Setups Application
Folder.

mick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top