Announcement

Collapse
No announcement yet.

Error 4201: Error UPX compression failed - reason: rename error: Permission denied

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 4201: Error UPX compression failed - reason: rename error: Permission denied

    I have been getting this error very consistently working on a Windows 7 Professional system (x64), building a 32-bit setup package. I have looked to see if I could turn off compression and didn't see such a possibility (I admit I may be slightly blind). I have to ensure we don't get this issue when I turn this process into an automated packaging system.

    The message I receive on a regular basis at the end of the log:

    Creating setup configuration file...
    Initializing archive file...
    Creating archive header...
    > Launcher manifest
    > Writing version information
    > Setup engine
    > Setup manifest
    > Compressing setup
    Ultimate Packer for eXecutables
    Copyright (C) 1996 - 2013
    UPX 3.91w Markus Oberhumer, Laszlo Molnar & John Reiser Sep 30th 2013

    File size Ratio Format Name
    -------------------- ------ ----------- -----------
    3818496 -> 1388544 36.36% win32/pe ir_tmp_rtm.tmp

    Packed 1 file: 0 ok, 1 error.

    upx: C:\Users\jhowland\AppData\Local\Temp\_ir_sf_build_ 0\ir_tmp_rtm.tmp: IOException: rename error: Permission denied

    Error 4201: Error UPX compression failed - 0 (1)

    Build failed - 1 Error(s), 0 Warning(s)

    -----------------

    Any ideas?

  • #2
    Please turn off the background / realtime / on-access antivirus scanner and try again. If you have active product maintenance, make sure that you are using release 9.5.1.0...

    Ulrich

    Comment

    Working...
    X