I believe you have to set the ARPPRODUCTICON property to
the identifier of the icon (in the Icon table) you want to use as the icon in
Add/Remove Programs.
Most Add/Remove Programs customisation is done through
properties whose names begin with ARP.
--
Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leila Lali (Excell Data Corporation) Sent: 14 October 2006 02:41 To: Mike Dimmick; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Icon Thanks it really
helps, Other question is, can
I change the Icon of uninstall that shows on Control panel/Remove
Program? Thanks Leila From: Mike
Dimmick [mailto:[EMAIL PROTECTED] I think you have a typo
- I'm not aware that System32 is ever
localized. You should be aware
that the file you specify is looked up on the build machine and included in the
MSI - it is not the version on the
end-user's machine. It's very unlikely that you actually want to do this since
it will end up dropping a copy of your own cmd.exe on the user's
system. You should consider
extracting the icon using any resource management tool - Visual Studio can do
this if you select File, Open and use the drop-down next to the Open button to
select Open With, Resource Editor - and using that. The documentation for
the Icon table says that icons associated with shortcuts must be in the PE
binary format (actually it says EXE but since the difference between a DLL and
an EXE is one bit in a flag field in the header I'd be surprised if this
mattered). Therefore you might need to build a stub EXE just containing the icon
(or perhaps a resource-only DLL?). You can have a single EXE contain all the
icons for a given file extension. However, I can see by browsing
%SystemRoot%\Installer that there seem to be many products that are using .ico
files successfully. The documentation for
ICE50 confuses me. It seems to be saying, at the same time, that the extension
of the Id used in the Icon table should be the same as that of the file pointed
to by the shortcut, but also that the extension should be either EXE or ICO. For
a shortcut to anything that's not an EXE or an ICO, that's not possible!
However, the first is an error, while the second is a
warning. I'm sorry that this
answer has been a bit rambling, I'm struggling to understand this
myself. --
Mike
Dimmick From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leila Lali (Excell Data
Corporation) Hi, I need to use the aka
Icon (cmd.exe) for one of my shortcuts, and it is not working like
this: <Icon
Id="runShell.cmd" SourceFile="[WindowsFolder]Syeten32\cmd.exe"
/> Does any body
know how I can fix that? Thanks Leila |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users