Jpackage Windows shortcuts

Rachel Greenham rachel at strangenoises.org
Fri Jan 18 08:54:42 UTC 2019


odd, fwiw I didn't have that problem with --create-installer exe. 
Possibly because I'm doing --create-image as a separate first step? The 
space-squashing actually happens in that step, and then before either 
--create-installer I put the spaces back into the exe and cfg filenames 
... but possibly miss it *inside* a file and that just hasn't happened 
to cause me a problem yet?

-- 
Rachel

On 17/01/2019 15:59, Andy Herrick wrote:
> yes - seeing several problems when space in app name - filed 
> JDK-8217331 <https://bugs.openjdk.java.net/browse/JDK-8217331> and 
> will address.
>
> /Andy
>
>
> On 1/17/2019 10:37 AM, Scott Palmer wrote:
>> 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 
>> <mailto: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