ClickOnce and installaion icon

  • Thread starter Thread starter Julie Lerman
  • Start date Start date
J

Julie Lerman

When a ClickOnce app is being installed there is a window that says
"Installing" which has the application name, an icon (defult square windows
icon) and a progress bar. Our app does have a custom icon set,but it doesn't
get used in this windows. I have looked all over, even checking into custom
comman line build of the manifest, but don't see how to get OUR icon into
that window during installation/updating.

Does anyone know how to do this?

thanks

Julie Lerman
 
Is the icon specified in the manifest? Using VS2005 this would be simple the
project properties -> Application -> Resources (and pick from a file or an
existing resource); I believe this maps to
/Project/PropertyGroup/ApplicationIcon if you are using a csproj

That's all I've ever done, and it works just fine for me. If you are
hand-building your manifests then it might be trickier.

Marc
 
Oh - one other thought: note that you might need to make sure the icon file
is included separately in the manifest; Project Properties -> Publish ->
Application Files... -> and make sure that the selected icon is included
 
Thanks Marc for your replies!

The icon is definitely include in the manifest (I can see it in the
deployment folder on the web server).

I'm confused by your prior suggestion. In VB, I do have the icon associated
with the application via:

Project Properties/Application/Icon. The icon is being used by the
application once it has been installed, just not by the installer.

I know that there is supposedly an IconFile tag in the manifest

Here is it's description:
IconFile
Optional ITaskItem[] parameter.

Indicates the application icon file. The application icon is expressed
in the generated application manifest and is used for the Start Menu and
Add/Remove Programs dialog. If this input is not specified, a default icon
is used. If the task is generating a native manifest, this parameter is
ignored.


However, I don't see this in my manifest. On the other hand it says it's
used for Start Menu and Add/Remove

My initial manfiest is created by Visual Studio. This doesn't have my icon
in the installation screen either.

I think I"m just missing something here, but it's not very obvious to me.
 
FYI
I added the icon in the resources an let VS2005 re-publish,but still I get
the defaul icon during INSTALL. Just thought I'd try that out.


Julie Lerman said:
Thanks Marc for your replies!

The icon is definitely include in the manifest (I can see it in the
deployment folder on the web server).

I'm confused by your prior suggestion. In VB, I do have the icon
associated with the application via:

Project Properties/Application/Icon. The icon is being used by the
application once it has been installed, just not by the installer.

I know that there is supposedly an IconFile tag in the manifest

Here is it's description:
IconFile
Optional ITaskItem[] parameter.

Indicates the application icon file. The application icon is
expressed in the generated application manifest and is used for the Start
Menu and Add/Remove Programs dialog. If this input is not specified, a
default icon is used. If the task is generating a native manifest, this
parameter is ignored.


However, I don't see this in my manifest. On the other hand it says it's
used for Start Menu and Add/Remove

My initial manfiest is created by Visual Studio. This doesn't have my icon
in the installation screen either.

I think I"m just missing something here, but it's not very obvious to me.




Marc Gravell said:
Oh - one other thought: note that you might need to make sure the icon
file is included separately in the manifest; Project Properties ->
Publish -> Application Files... -> and make sure that the selected icon
is included
 
Back
Top