[wix-users] problems with startmenu shortcuts

Ike Casteleyn Ike.Casteleyn at compufit.be
Fri Dec 11 05:07:08 PST 2015


Hi,

I have used another way to create a webshortcut
See http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/create_internet_shortcut.html

In this case the current-browser icon is used, which is fine for me.
Another case closed.

Best regards,
Ike Casteleyn

-----Oorspronkelijk bericht-----
Van: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Namens Ike Casteleyn
Verzonden: vrijdag 11 december 2015 12:48
Aan: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Onderwerp: Re: [wix-users] problems with startmenu shortcuts

Hi,

About the uninstall-shortcut not showing up.
That is not a problem.
I was looking for the dutch-description, but I had installed the english version.
Apparently I was blind several times.

The remaining problems are the small icon on the shortcut and the possibility to have a subfolder.


Best regards,
Ike Casteleyn

-----Oorspronkelijk bericht-----
Van: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Namens Ike Casteleyn
Verzonden: vrijdag 11 december 2015 12:34
Aan: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Onderwerp: [wix-users] problems with startmenu shortcuts

Hi,

I have a few problems with a few startmenu shortcuts.

Below you'll find a portion of my wxs-file.
=========================
<Directory Id="ProgramMenuFolder" Name="Programs">
    <Directory Id="ProgramMenuDir" Name="MyApp">
        <Component Id="ProgramMenuDir" Guid="FILL_GUID">
            <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
            <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes" />

            <Shortcut Id="ShortcutWebsite" Name="!(loc.ShortcutWebsite)" Directory="ProgramMenuDir" Target="[Prop_ShortcutWebsite]" Icon="ID_Website.ico" IconIndex="0" />
        </Component>

        <Directory Id="ProgramMenuDirDiv" Name="!(loc.ShortcutProgramMenuDirDiv)">
            <Component Id="ProgramMenuDirDiv" Guid="FILL_GUID">
                <RemoveFolder Id="ProgramMenuDirDiv" On="uninstall" />
                <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes" />

                <Shortcut Id="ShortcutFolder" Name="!(loc.ShortcutFolder)" Directory="ProgramMenuDirDiv" Target="[INSTALLDIR]" />
                <Shortcut Id="ShortcutUninstall" Name="!(loc.ShortcutUninstall)" Directory="ProgramMenuDirDiv" Target="[SystemFolder]msiexec.exe" Arguments="/x [ProductCode]" />
            </Component>
        </Directory>
    </Directory>
</Directory>

<!-- lot's more -->

<Icon Id="ID_Website.ico" SourceFile="web.ico" /> =========================

In this portion above, you'll notice I have 3 shortcuts (remove, website and installfolder) Installfolder is present and works as expected.
Remove is present (on disk), but is not shown in the startmenu Website is present and shown and works, however the icon is really small (like 16x16). I have tried by creating a icon with just the 32x32 in it, but the size remains the same

As an extra question:
You'll notice that I have created a subfolder "ProgramMenuDirDiv". Right now all the shortcuts in that folder are shown in the startmenu (but directly under the main "app", instead of a sort of subfolder). Is this possible?

Best regards,

Ike Casteleyn



____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list