VMware Cloud Community
AnonymousDefaul
Enthusiast
Enthusiast

Start Menu shortcuts work for windows but not windows 64

We can create desktop shortcuts using for 64 bit windows systems using the below code without issue.

<desktopShortcutList>
<shortcut>
<comment>Launch ${product_fullname}</comment>
<exec></exec>
<icon></icon>
<name>${product_fullname}</name>
<path></path>
<platforms>windows-x64</platforms>
<runAsAdmin>0</runAsAdmin>
<runInTerminal>0</runInTerminal>
<windowsExec>${installdir}/${product_fullname}.${platform_exec_suffix}</windowsExec>
<windowsExecArgs></windowsExecArgs>
<windowsIcon>${installdir}/mainapp.ico</windowsIcon>
<windowsPath></windowsPath>
</shortcut>
</desktopShortcutList>


However, when we try to add a shortcut to 64 bit windows using


<startMenuShortcutList>
<startMenuShortcut>
<comment>Launch ${product_fullname}</comment>
<name>${product_fullname}</name>
<runAsAdmin>0</runAsAdmin>
<runInTerminal>0</runInTerminal>
<windowsExec>${installdir}/${product_fullname}.${platform_exec_suffix}</windowsExec>
<windowsExecArgs></windowsExecArgs>
<windowsIcon>${installdir}/mainapp.ico</windowsIcon>
<windowsPath></windowsPath>
</startMenuShortcut>
</startMenuShortcutList>


We can only get the start menu shortcut to come up if we build the installer for the Windows platform instead of the Windows 64 bits as expected.  How can we get a start menu item in windows 64.


<startMenuGroupName>${project.vendor>/${product_fullname}</startMenuGroupName> puts a folder in the start menu/programs folder regardless of platform but it is empty.


We are evaluating InstallBuilder at the moment to see if it fits our needs.

Labels (1)
0 Kudos
8 Replies
AnonymousDefaul
Enthusiast
Enthusiast

The included sample projects suffer from the same issue

0 Kudos
michiel_dhont
Enthusiast
Enthusiast

Hi Josh,

On which Windows version are you running the installer? Are you building a native windows 64 bit installer, as described here:

https://clients.bitrock.com/installbuilder/docs/installbuilder-userguide.html#_creating_native_64bit...

Regards,

Michiel

0 Kudos
guru201110141
Contributor
Contributor

Hello,

We are trying to create the desktop ling on Windows 10-64 with:

    <desktopShortcutList>
        <shortcut>
            <comment></comment>
            <exec></exec>
            <icon></icon>
            <name>Erwerbungs-Client</name>
            <path></path>
            <platforms>all</platforms>
            <runAsAdmin>0</runAsAdmin>
            <runInTerminal>0</runInTerminal>
            <windowsExec>${installdir}/Erwerbungs-Client/java/bin/javaw.exe</windowsExec>
            <windowsExecArgs>-Dfile.encoding=UTF8 -jar sisisall.jar</windowsExecArgs>
            <windowsIcon>${installdir}/Erwerbungs-Client/acquisition.ico</windowsIcon>
            <windowsPath>${installdir}/Erwerbungs-Client</windowsPath>
        </shortcut>
    </desktopShortcutList>

The installer itself is 32-bit (as it contains 32-bit Java and DLLs):

file EC-V7.2.exe
EC-V7.2.exe: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows

The installer is launched as Administrator.

It happens, that on some systems the desktop icon appears, but on some not.

What might be wrong here? Thanks

Regards

Matthias

 

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @guru201110141 ,

Could you give more details about on which systems you can reproduce the issue? Does it happen randomly on any system, or on a specific version?

 

Regards,

Michiel

0 Kudos
guru201110141
Contributor
Contributor

Hello,

I have it reproducible on my Windows 10 laptop (please tell me what do you want to know exactly about it). Some colleagues with the same laptop (we use standard configurations in our company) do not face this at the moment with the same installer file, but we have had the same situation on other laptops in the past also. If it helps, I could check if I could give you the installer file. Please drop me a private mail to the mail addr in http://www.unixarea.de/

 

Thanks

Matthias

 

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @guru201110141,

Could you contact us in private support with this issue?

https://installbuilder.com/how-to-create-ticket.html

Regards,

Michiel

0 Kudos
guru201110141
Contributor
Contributor

Hi,

I tried to do that and followed the help in this page https://installbuilder.com/how-to-create-ticket.html but I could not get to the product VMWare InstallBuilder, perhaps because our license from 2018 has expired.

Thanks

Matthias

 

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @guru201110141 ,

This issue should be fixed since version 19.11.0. Could you download the latest version of InstallBuilder and rebuild your installer with it and check if the issue still happens?

Regards,

Michiel

0 Kudos