Hi Neil

Well I had another WiX project that was working fine - and the only
difference was the KeyPath setting for the parent File element (since the
shortcuts are nested) as well as the name of the Shortcut - which I changed
from the variable I was using for the product directory - to a dedicated
variable for the shortcut name - defined at the top of the WiX build file.

<?define Product.ShortcutName = "Gallery Builder 0.9" ?>

Followed by 

<DirectoryRef Id="PRODUCTDIR">
      <Component Id="DesktopApp" Guid="3D218CB2-922B-4458-B1CA-F62C4A4F57EC"
DiskId="1">
                <File Id="GalleryBuilder.exe" Name="GalleryBuilder.exe"
Source="GalleryBuilder.exe" Vital="yes" KeyPath="yes">
          <Shortcut Id="StartMenuShortCut" 
                    Advertise="yes"
                    Directory="ApplicationMenuDir"
                    Name="$(var.Product.ShortcutName)"
                    WorkingDirectory='PRODUCTDIR'
                    Icon="ARP.Ico"
                    IconIndex="0" />
          <Shortcut Id="DeskTopShortCut"
                    Advertise="yes"
                    Directory="DesktopFolder"
                    Name="$(var.Product.ShortcutName)"
                    WorkingDirectory='PRODUCTDIR'
                    Icon="ARP.Ico" 
                    IconIndex="0" />
        </File>

                ....other component and directory ref settings including
remove folder entries

        </Component>
</DirectoryRef>



-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Sunday, May 17, 2009 2:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX and Windows 7

I have seen the "white icon" problem before (on Vista), in fact the WiX
3.0 install always shows white icons for the documentation until you
first use them. That is it did until the latest release now they stay
white. I think this is a bug but I am not sure if it is a Windows
Installer bug or WiX.

Neil

-----Original Message-----
From: Anthony Bouch [mailto:anth...@abouch.com] 
Sent: 17 May 2009 01:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX and Windows 7

Hi All

I've just upgraded a dev box here to Windows 7 RC 7100

Also downloaded the latest WiX binaries.

I have a WiX project file - which creates two shortcuts - one under
Programs
Menu in the Application Folder, and one on the Desktop. These are
'advertised' shortcuts - nested within a File element. The Icon element
is
included in the project and correctly references the application icon.

WiX builds fine as before. The installer works fine as well - all ok -
with
one minor problem. After installation - the shortcut icons are showing
up as
the 'plain white' page icons (without the icon art from the .ico file).

That is until another program installer was run (a commercial installer
from
another product altogether). Then suddenly the shortcut icons from my
installer appeared correctly - no longer the 'plain white' page icon -
but
the correct icon art for the application.

Any ideas? Is this a WiX issue? Windows 7 issue? Does the MSI need to
trigger an icon cache refresh after install?

Any suggestions greatly appreciated.

Tony




------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to