#StackBounty: #java #windows #launch4j #winrar #izpack Unable to run self extracting installer – Unable to access jarfile C:UsersRay…

Bounty: 100

I have a Java Application, the Izpack installer is wrapped with launch4j64bit and then bundled as a self extracting zip with Winrar

It works, for me and most customers, but recently a few customers have reported errors like this

Unable to access jarfile C:UsersRayAppDataLocalTempRarSFX0install.jar

I am unable to replicate, what could be causing this problem, is it related to a Windows updates. There is a only a problem with self-extracting version, a regular .zip file that user has to extract themself works fine.

When I run the self extractor it self-extracts correctly so we have this folder structure, a JVM64 folder, an install.jar, aa setup.exe and a setup.ico.

enter image description here

But for users having a problem it only extracts JVM64

Volume in drive C has no label.
 Volume Serial Number is A663-4CEF

 Directory of C:UsersgcdrAppDataLocalTemp

14/08/2018  21:40    <DIR>          .
14/08/2018  21:40    <DIR>          ..
14/08/2018  21:40    <DIR>          RarSFX0
               0 File(s)              0 bytes

 Directory of C:UsersgcdrAppDataLocalTempRarSFX0

14/08/2018  21:40    <DIR>          .
14/08/2018  21:40    <DIR>          ..
14/08/2018  21:40    <DIR>          JVM64
               0 File(s)              0 bytes

why could this be ?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.