Re: Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

2020-08-30 Thread novice2 via Digitalmars-d-learn

5. Open WinRAR support issue
6. Upload your .exe and say WinRar version then other peoples can 
reproduce


Re: Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

2020-08-30 Thread novice2 via Digitalmars-d-learn

Dear Marcone, that you want we all to do?
Rar detect sfx by small signature, and some bytes in exe looks 
like signature.

But this is not the problem - just do not open your exe with rar.
Or i just don't understand...

Another options:
1. try to compile with anoter .res or/and  another .ico (if magic 
bytes in .res)

2. wait next dmd version (if magic bytes in dmd runtime)
3. try gdc or ldc from https://dlang.org/download.html (if magic 
bytes in dmd runtime)

4 try to pack yor exe with free packer like https://upx.github.io/


Re: Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

2020-08-30 Thread Marcone via Digitalmars-d-learn

On Wednesday, 19 August 2020 at 08:27:34 UTC, Kagamin wrote:

On Tuesday, 18 August 2020 at 19:01:17 UTC, Marcone wrote:

SFX zip in it is properties: https://i.imgur.com/dH7jl5n.png
Opening with winRar: https://i.imgur.com/s7C9mZn.png


Probably winrar messing with your file manager. Try to 
uninstall ungerister winrar from your file manager or try a 
different file manager.


I like Winrar. That is no problem before dmd 2.089.0.
If I add an icon in exe for example I got this problem.


Re: Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

2020-08-19 Thread Kagamin via Digitalmars-d-learn

On Tuesday, 18 August 2020 at 19:01:17 UTC, Marcone wrote:

SFX zip in it is properties: https://i.imgur.com/dH7jl5n.png
Opening with winRar: https://i.imgur.com/s7C9mZn.png


Probably winrar messing with your file manager. Try to uninstall 
ungerister winrar from your file manager or try a different file 
manager.


Re: Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

2020-08-18 Thread user1234 via Digitalmars-d-learn

On Tuesday, 18 August 2020 at 19:01:17 UTC, Marcone wrote:
When I compile the source .d code to .exe adding an icon using 
resource .res file in dmd 2.089.0 and later, the .exe file show 
SFX zip in it is properties and open with winRar. This ir 
normal or is a Bug? See images below.


Se image in this links:

SFX zip in it is properties: https://i.imgur.com/dH7jl5n.png
Opening with winRar: https://i.imgur.com/s7C9mZn.png


Try to extract the PE header and paste it here. It's possible 
that something interfer with SFX header... can be also winrar 
that interpret wrongly the header. You should be able to see 
quickly any problem with the help of this table 
http://faydoc.tripod.com/structures/15/1594.htm