Re: [WiX-users] Changing Icons

2007-12-14 Thread Mike Dimmick
The bit about the icon ID needing to end with a specific extension relates
to using the icon as the icon for a shortcut to a file, where the extension
of the file (which for this purpose must be a portable executable, such as a
resource-only DLL) must match the extension of the file pointed to. 

Presumably there's some version of the Windows shell which doesn't work
correctly if this is not the case.

It's OK to put multiple icons into the DLL if all the shortcuts which use it
share the same extension (in this case you set the IconIndex to the
appropriate icon in the file). If you're going to support advertising or
installing multiple features independently, you might want to consider a
separate icon DLL for each feature, but there's not a lot of overhead in
icons.

When you advertise or install a package, Windows Installer dumps the
contents of the Icon table to [WindowsFolder]\Installer\{product-GUID}. The
icon ID is used as the filename of the icon. Therefore you should make the
file containing the icon(s) as small as possible (i.e. create a separate DLL
for the icons, don't use your actual executable as it will be included twice
in the package AND installed twice.) Particularly you shouldn't use anything
that isn't yours to ship.

I don't think there's a problem with using extensionless IDs for
ARPPRODUCTICON but I'd stick with using .ico, at least for an actual .ico
file, in case.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Miller
Sent: 13 December 2007 22:48
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Changing Icons

 
Found my own answer on my next internet search after submitting the
question, and Mike Dimmick just sent me a reply with the answer too.

The ARPPRODUCTION property along with an Icon element. I placed both inside
the package element, and read that the Icon Id needs to end with the same
extension as the Sourcefile (I didn't verify this).

\n");




-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing Icons

2007-12-14 Thread Szentpali Janos
This is what I used (also a child of the product element) in one of my
installs and it did not through any errors:



Of course you have to have the arp.ico in the same folder as the .wxs file.

-- 
Szentpáli János


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Changing Icons

2007-12-13 Thread Craig Miller
Can anyone suggest an link, snippet, or example of how to change the icon
associated with my installation in the Add/Remove Programs?

With Wix 2.0 I am trying to change the icon associated with the my
application in Add/Remove Programs.  I've tried using the Icon element under
the Product element but am getting an XML validation error.  I did this
because it is documented as a valid child element of the Product element in
the Wix helpfile (http://wix.sourceforge.net/manual-wix2/wix_xsd_icon.htm).

Thanks for the help,
Craig

---
http://www.overlandnavigator.com
Touchscreen Friendly GPS Mapping 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 12/13/2007
9:15 AM
 


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing Icons

2007-12-13 Thread Craig Miller
 
Found my own answer on my next internet search after submitting the
question, and Mike Dimmick just sent me a reply with the answer too.

The ARPPRODUCTION property along with an Icon element. I placed both inside
the package element, and read that the Icon Id needs to end with the same
extension as the Sourcefile (I didn't verify this).

\n");

 
--Craig

---
http://www.overlandnavigator.com
Touchscreen Friendly GPS Mapping 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Miller
Sent: Thursday, December 13, 2007 2:32 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing Icons

Can anyone suggest an link, snippet, or example of how to change the icon
associated with my installation in the Add/Remove Programs?

With Wix 2.0 I am trying to change the icon associated with the my
application in Add/Remove Programs.  I've tried using the Icon element under
the Product element but am getting an XML validation error.  I did this
because it is documented as a valid child element of the Product element in
the Wix helpfile (http://wix.sourceforge.net/manual-wix2/wix_xsd_icon.htm).

Thanks for the help,
Craig

---
http://www.overlandnavigator.com
Touchscreen Friendly GPS Mapping 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 12/13/2007
9:15 AM
 


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 12/13/2007
9:15 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 12/13/2007
9:15 AM
 


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing Icons

2007-12-13 Thread Mike Dimmick
Set the ARPPRODUCTICON property. See the documentation of that property for
how to use it.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Miller
Sent: 13 December 2007 22:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing Icons

Can anyone suggest an link, snippet, or example of how to change the icon
associated with my installation in the Add/Remove Programs?



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users