This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245019

Summary: Add the ability to specify a temp directory for native installer
Product: javafx Reporter: nchristiansen <nchristiansen>
Component: DeploymentAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description nchristiansen 2014-06-12 21:24:46 UTC
I am running JDK 8.

I have a project where I need to generate a native installer for a standalone Java Desktop application.

I have Inno Setup 5 and the WiX Toolkit. I have been successfully able to build and package my applications into native installers.

Recent malware incidents have, however, forced the system administrators to enforce a group policy that excludes executing from the users temp directory.

I therefore get an exception thrown like:

Cannot run program "C:\Users\nchristiansen\AppData\Local\Temp\iconswap3775288688132438117.exe": CreateProcess error=1260, This program is blocked by group policy. For more information, contact your system administrator


If I had the ability to specify the directory where the iconswap*.exe files are generated, I could package without needing to have them remove any group policy restrictions protecting from malware attacks.

I understand that this might need collaboration with the Inno Setup developer(s).
Comment 1 swipon 2016-10-19 09:07:50 UTC
I confirm this bug, in big lan with restricted Group policy this error don't permit to deploy in msi/exe.