Jpackage Windows shortcuts

Scott Palmer swpalmer at gmail.com
Thu Jan 17 15:37:53 UTC 2019


I'm creating a MSI installer. My application name did have spaces in it. I
can confirm that changing the --name parameter to something without spaces
avoids the issue, though this is still clearly a bug that needs to be fixed.

It also seems that uninstall does not work.  When I attempt it I get this
error message from Add/Remove Programs:

[Window Title]
C:\WINDOWS\system32\msiexec.exe

[Content]
Windows cannot access the specified device, path, or file. You may not have
the appropriate permissions to access the item.

[OK]

I can run C:\WINDOWS\System32\msiexec.exe, so I'm not clear on what the
real issue is. Maybe a bad message from Windows and the path that can't be
accessed is a parameter to msiexec??

I'm using Microsoft Windows [Version 10.0.17134.471]

Regards,

Scott


On Thu, Jan 17, 2019 at 8:20 AM Andy Herrick <andy.herrick at oracle.com>
wrote:

> Simple tests of --win-menu and --win-shortcut options on Windows 7 are
> working for me.  Shortcuts are created as expected when running either
> the exe or msi installer generated.
>
> Can you share the full OS version and full command you use , perhaps
> some combination of options is not working.
>
> /Andy
>
>
> On 1/16/2019 7:47 PM, Scott Palmer wrote:
> > Are the flags to create shortcuts in the start menu and on the desktop
> supposed to be working at this point? I tried them and they had no effect.
> >
> > Scott
>
>


More information about the core-libs-dev mailing list