Welcome, Guest
Username Password: Remember me

TOPIC: Custom icon for application

Custom icon for application 4 years, 11 months ago #174

  • maccer
  • OFFLINE
  • Fresh Boarder
  • Karma: 0
sure this should be an easy one...

how to add a custom application icon to the installer/application(windows mobile 5)?

if its creating a shortcut, how do i make the file assoication? does this need to be contained in a .cab?

basically want the app to appear in the program files with a custom icon...sorry for the cunfusion

Thanks
Andy

Re:Custom icon for application 4 years, 11 months ago #176

  • nick_tg
  • OFFLINE
  • Moderator
  • Karma: 4
The file association is very easy. Just go to registry section and press the \"Association\" button. it will create all the necessary reg keys automatically for you

As for the other questions, I don't understand very well want you want to do.

But, you can't have shortcuts with customized icons into cab files. This is cabwiz limitation. See here:
msdn2.microsoft.com/en-us/library/aa924390.aspx

Regards,
Nick Protopapas

Re:Custom icon for application 4 years, 11 months ago #177

  • maccer
  • OFFLINE
  • Fresh Boarder
  • Karma: 0
Thanks Nick, im going to push up your karma!

Although, i've found the file association dialog but have no idea what ifno it requires?
attached a screen grab if that helps...

I basically want to create an application that wraps a .cab file in a windows mobile 5 installer (.exe?), which can be downloaded OTA and installed on the wm5 device - basically an application which has a cutom icon and lives in the progam files on a windows mobile device...sorry for going on, hope it makes sense.

thanks alot
andy

Re:Custom icon for application 4 years, 11 months ago #178

  • maccer
  • OFFLINE
  • Fresh Boarder
  • Karma: 0
Thanks Nick, im going to push up your karma!

Although, i've found the file association dialog but have no idea what ifno it requires?
attached a screen grab if that helps...

I basically want to create an application that wraps a .cab file in a windows mobile 5 installer (.exe?), which can be downloaded OTA and installed on the wm5 device - basically an application which has a cutom icon and lives in the progam files on a windows mobile device...sorry for going on, hope it makes sense.

thanks alot
andy
Attachments:

Re:Custom icon for application 4 years, 11 months ago #179

  • nick_tg
  • OFFLINE
  • Moderator
  • Karma: 4
Yes, that's the dialog. The Open with field is the executable file that's you want the .ico files to be opened with. Can be your program, for example, %InstallDir%/myProgram.exe

The icon of the association will be your's executable icon.

The shortcuts created by CAB files doesn't have custom icons. Simple the shortcut icon is the icon of the shortcut's target application. As you can see, in the link above, there isn't any option of custom icon into the Information File required to build the CAB Files.

Regards,
Nick Protopapas

Re:Custom icon for application 4 years, 11 months ago #180

  • maccer
  • OFFLINE
  • Fresh Boarder
  • Karma: 0
Thanks, so it should be easy? i will try this:

extension = .ico
description = icon file associated as a shortcut
openwith = %InstallDir%/myProgram.exe

Although, i dont understand how to link my custome .ico file to this - how does it know where it is and does it need a special name or somthing..? thanks again
Time to create page: 0.25 seconds