Questions tagged [exe]

EXE is a common filename extension for an executable file (a program) in Microsoft Windows and other operating systems (e.g. DOS, OpenVMS, Symbian, and OS/2).

5454 questions
16
votes
2 answers

appending data to an exe

This question extensions from one of the answers to my earlier question: how to save user registration in the exe... (C#). The idea itself is still very new to me, but it seems plausible. My first attempt of simply appending a string to the exe…
emragins
  • 4,607
  • 2
  • 33
  • 48
16
votes
3 answers

How do I bundle a JRE in my JAR, so that it can run on systems without Java?

I want to bundle a JRE inside my executable JAR, so that the exe can run on any system. I have tried Launch4j, but that approach requires me to ship both the JRE and the exe. As per my requirements, I should not use an installer to ship, nor…
amarnadh reddy
  • 161
  • 1
  • 1
  • 4
16
votes
3 answers

Is .exe made of pure machine code only?

When any high-level programing language is compiled it gets compiled to object code, then a linker links objects codes together to make an executable file. Since object codes are basically machine code then that means that .exe is pure machine…
Karim K.
  • 361
  • 2
  • 4
  • 9
16
votes
3 answers

Checking digital signature on EXE

My .NET exe is signed using signtool. Using this code, I can verify the validity of the certificate itself: var cert = X509Certificate.CreateFromSignedFile("application.exe"); var cert2 = new X509Certificate2(cert.Handle); bool valid =…
LTR
  • 1,226
  • 2
  • 17
  • 39
15
votes
4 answers

Remove DOS stub from a PE file

Is it possible to remove the DOS stub and the DOS header from a PE file??
user1232138
  • 5,451
  • 8
  • 37
  • 64
15
votes
2 answers

How to run exe files in NSIS Script?

In InnoSetup, there is a part called run which will execute the exe, batch file and msi. We can also give command line parameters to this run. I provide the Innosetup sample: [Run] Filename: "{app}\msdirent.exe "; Filename: "msiexec.exe";…
karthik
  • 17,453
  • 70
  • 78
  • 122
15
votes
4 answers

How to know if a ".exe" process was written with C++ or C#?

Possible Duplicate: How do I tell if a win32 application uses the .NET runtime There is a way to manually recognize if a specific ".exe" process was written with C++(unmanaged code) or with C#(managed code)?
Diogo
  • 1,527
  • 7
  • 19
  • 29
15
votes
4 answers

Compile Python 3.6 script to standalone exe with Nuitka on Windows 10

Note: Before marking this question as duplicate, please verify that the other question answers the topic for this setup: OS: Windows 10, 64-bit Python version: 3.6 or higher Python Compiler: Nuitka, development version 0.5.30rc5 MSVC compiler:…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
15
votes
2 answers

Speeding up an .exe created with Pyinstaller

I've converted my program (written in Python 3.6.1, converted using Python 3.5.3) from a .py to an .exe using Pyinstaller. However, it is incredibly slow at loading (it takes roughly 16 seconds, compared to the <1 second when running in IDLE), even…
Foxes
  • 1,137
  • 3
  • 10
  • 19
15
votes
1 answer

How can I use a NuGet package to distribute an executable

We have several non-.NET exes (e. g. PhantomJs) which we execute from our .NET web applications via the Process class. I'd like to wrap these exes into NuGet packages so that they can be reliably located in different environments (web apps, console…
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
15
votes
4 answers

check if some exe program is running on the windows

How to check if some .exe program is running (is in process) on Windows? I'm making java application which update one .exe program. So, if that exe program is used by some client, my application ask for closing exe program, and after closing…
duka.milan
  • 171
  • 1
  • 2
  • 7
15
votes
3 answers

Closing form from another thread

I have got this code which runs an .exe string openEXE = @"C:\Users\marek\Documents\Visual Studio 2012\Projects\tours\tours\bin\Debug\netpokl.exe"; Process b = Process.Start(openEXE); b.EnableRaisingEvents = true; …
Marek
  • 3,555
  • 17
  • 74
  • 123
15
votes
4 answers

pack a software in Python using py2exe with 'libiomp5md.dll' not found

I have Python 2.7 on Window 7 OS. I wish to pack my project.py in an Executable using py2exe. Following the instruction i wrote a setup.py file from distutils.core import setup import py2exe setup(console=["project.py"]) and I got this…
Gianni Spear
  • 7,033
  • 22
  • 82
  • 131
15
votes
4 answers

How to convert python .py file into an executable file for use cross platform?

I've been searching through SO for a while now trying to come up with an answer to this but due to my inexperience with programming I don't understand much of the documentation, nor am I confident enough to experiment too much. Would anyone be able…
Ricochet_Bunny
  • 537
  • 3
  • 8
  • 19
14
votes
5 answers

tiny exe to launch a java application

Some questions are like: How can I package my java app into an exe ? This is not what I am going to ask. I can launch my application by doing the following: java -jar myApp.jar That works perfectly (Assuming the machine has java 1.5.0 or >) Now…
chacko
  • 5,004
  • 9
  • 31
  • 39