PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: integrate upx exe compressor as tool  (Read 321 times)

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
integrate upx exe compressor as tool
« on: June 29, 2019, 10:55:36 AM »

Hello Paul
Somehow I don't understand how I can integrate upx with parameters as a functional tool.

Either upx is not found, or upx does not find the exe file.
Logged
Greeting from Germany

Joerg

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: integrate upx exe compressor as tool
« Reply #1 on: June 29, 2019, 03:57:37 PM »

Hi Joerg, I am looking it now. Hope to have some information to post soon.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: integrate upx exe compressor as tool
« Reply #2 on: June 29, 2019, 04:31:00 PM »

I assume that you have the latest full WinFBE installed... so I have only attached the new EXE to this post. That EXE was created and then a User Tool invoking UPX was automatically applied to it via post compile. See screenshot for the User Tool setup.

Please let me know if it works for you.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: integrate upx exe compressor as tool
« Reply #3 on: July 02, 2019, 07:59:38 AM »

Hello Paul
I've tried that before. But without success.
Meanwhile I know where the problem lies.
For one thing, I can't set any parameters directly in the settings for UPX. I solved this with a batch file in which <E> can be passed.
On the other hand the ExeName is passed with <E> "only". In the project settings I have different names for a 32bit and for a 64bit file.
For example project32.exe and project64.exe.
With the parameter <E> only project.exe is passed to UPX.
Therefore the file is not found.
Logged
Greeting from Germany

Joerg

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: integrate upx exe compressor as tool
« Reply #4 on: July 02, 2019, 10:30:34 AM »

Hi Joerg, I also noticed that the incorrect name would be passed via <E> when a different project level name had been defined. That's why I modified the WinFBE exe and posted the update. Based on what you're telling me, it looks like the updated EXE does not fully solve the problem. Basically, the new WinFBE would use the resulting EXE from the most recent compile. So if you had defined compile names that were different than the project name then it should pass that new compile exe name to the Tool via <E>. Sorry it didn't work for you - it seemed to work okay in my test with UPX.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: integrate upx exe compressor as tool
« Reply #5 on: July 02, 2019, 11:24:34 AM »

Hello Paul
It's not vital to me now either. :-)
I can also go into the directory and then right click....
There are just many ways to the goal.
Logged
Greeting from Germany

Joerg