Making .EXE from encrypted .zipx creates a buggy file that doesn't work



  • I’m reporting a bug in the SFX module that creates an .exe file that doesn’t extract and shows unexpected behavior.

    Steps to reproduce

    1. Compress files to optimized zipx format with ultra compression and AES 256-bit encryption;

    0_1506780631269_Screenshot_1.png

    1. Put a password. Here I put: password ;

    0_1506780824177_Screenshot_2.png

    1. Select the option Make .EXE file from Actions menu;

    1_1506780824178_Screenshot_3.png

    1. Create the SFX with Default “UnZip To” folder similiar to the screenshot and the checkbox Hide file list CHECKED;

    2_1506780824179_Screenshot_4.png

    1. Try to extract the files;

    3_1506780824179_Screenshot_5.png

    1. It’s a weird and unpractical thing that it will ask for a password for each file instead of using the same pass for all of them. It should be and exception to ask for an other password when some file has a different one.
      So, type in the password. My pw is password as I stated before;

    4_1506780824179_Screenshot_6.png

    1. Strangely, it will keep asking the password for the same file over and over. You will have to skip or cancel. Skipping it will eventually lead to the same error below, so let’s cancel it;

    5_1506780824179_Screenshot_7.png

    1. When you cancel, it will give a Incorrect Password error;

    6_1506780824179_Screenshot_8.png

    1. Remember that we CHECKED Hide file list when we created the SFX file? Now, as well as the dialog being completely bugged, 2 of the 3 files now are apearing in this list that never should have appeared.

    7_1506780824179_Screenshot_9.png

    I will leave here links to the original .zipx file and the .exe I created.
    Remember that the password is just password.

    Pictures.zipx
    Pictures.exe

    PowerArchiver version used:
    0_1506782667334_version.png

    Also, there’s one more bug I found out. If you add a file to that same archive that has some russian characters in the name, the SFX file list will show weird characters instead of the correct file name. Look:

    1. I used a file named рисунок-арт-красивые-картинки-удалённое-1710969.jpeg ;

    0_1506783164166_Screenshot_10.png

    1. Created a new SFX file, this time with Hide file list UNCHECKED on purpose. This is how the russian file name was presented:

    0_1506783221404_Screenshot_11.png

    Based on what I saw, it seems for me that the SFX creator module is in need of some work, looks kinda abandoned and outdated. The question mark button on the title bar ( ? ) also didn’t do anything for me, the cursor changed for a question mark but it didn’t work for anything.


  • conexware

    @gui-lherme Hello, indeed, make sfx uses old code… Please use SFX Wizard to create SFX Archives.

    It will use 7zip format for better compression.


  • conexware

    @gui-lherme And thanks for nice big report. For make sfx in zip, we use tiny assambler code to minimize the size of sfx. Adding all of the zipx format support would make it as big as 7zip sfx. So it is much better to use 7zip sfx, since it will also lower the size of archive.

    For near future, we are looking into supporting PA SFX, which gives more options, is more secure.



  • My suggestion to completely rework the SFX module. Take as an example the WinRAR’s SFX generator module; it’s pretty decent and very customizable. I think that PowerArchiver SFX is currently very poor and deserves a lot of work.


  • conexware

    @gui-lherme said in Making .EXE from encrypted .zipx creates a buggy file that doesn't work:

    My suggestion to completely rework the SFX module. Take as an example the WinRAR’s SFX generator module; it’s pretty decent and very customizable. I think that PowerArchiver SFX is currently very poor and deserves a lot of work.

    Indeed, as mentioned, we will create .PA SFX module for next release. It will use PA or 7z format, not ZIP, since there are no benefits of using zip sfx over pa/7z.

    Thanks.



  • @spwolf Ok, sounds interesting. Make sure to rework the SFX interface and make it very customizable, so we can distribute professional looking installers.

    Thanks


 

4
Online

9.8k
Users

6.0k
Topics

36.6k
Posts

Copyright © 1998-2018 ConeXware, Inc.
All rights reserved. Privacy Policy