exe

Replacing icon in Windows *.exe from open-source platform-independent Java code

社会主义新天地 提交于 2019-12-04 03:53:43
First of all, this is not a duplicate of the very common question of making an EXE from Java classes. I do not need to do that. To solve NetBeans RFE #64612 without manual steps I need a Java (6+) library which can take an existing Windows *.exe file and replace its icon with a substitute in a common format. The executable, which is generic and prebuilt (distributed in binary form), already knows how to load an application-specific config file and then start the JRE with various application JARs etc.; the only problem is that it has a generic icon, and I would like to replace that icon as part

Is it possible to build exe on Vista and deploy on XP using py2exe

China☆狼群 提交于 2019-12-04 03:45:58
I have created some program using python on Windows Vista. But I want to deploy it on Windows XP. Is it necessary to make new build on windows XP? Or there is possibility to make build that will work on both of these systems? EDIT (EDIT 2 - very simple program does not work also): My setup: from distutils.core import setup import py2exe setup(console=['orderer.py']) Using dependency explorer i checked that dependencies are: msvcr90.dll kernel32.dll +ntdll.dll Almost solved: I figured out that installing: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d

check the platform of the installed mingw, 32bit or 64 bit

╄→尐↘猪︶ㄣ 提交于 2019-12-04 02:56:03
问题 I am programming in c++. I have installed mingw. I installed it from the standard installer from mingw website. I am confused between mingw32, mingw, mingw64. What are the differences and how can I check my version. Also when my programs are build, how would I know whether the executables created are 32 bit or 64 bit? 回答1: mingw and mingw32 are for creating executables for 32-bit windows systems. mingw64 is for creating 64-bit executables. Note: this doesn't have to do with what version you

Cygwin Bash from Windows Cmd Not Running Executable

情到浓时终转凉″ 提交于 2019-12-04 01:58:21
问题 I have a program I've compiled in cygwin, that I am trying to call from a batch file a la: D:\cygwin\bin\bash --login -i C:/ILS/trunk/NAVAID/test.exe But I am getting the error: bash: C:/ILS/trunk/NAVAID/test.exe: cannot execute binary file When I file test.exe inside cygwin, I get: test.exe: PE32 executable (console) Intel 80386, for MS Windows Any ideas why it won't run? Most of the errors I've found online are from people trying to run Linux apps, but this is something compiled (via g++)

Process.Start() not starting the .exe file (works when run manually)

五迷三道 提交于 2019-12-04 01:38:28
I have an .exe file that needs to be run after I create a file. The file is successfully created and I am using the following code to run the .exe file after that: ProcessStartInfo processInfo = new ProcessStartInfo(); processInfo.FileName = pathToMyExe; processInfo.ErrorDialog = true; processInfo.UseShellExecute = false; processInfo.RedirectStandardOutput = true; processInfo.RedirectStandardError = true; Process proc = Process.Start(processInfo); I also tried with a simple Process.Start(pathToMyExe); but the .exe file is not run. When I try pathToMyExe manually on my Windows Explorer the

How to create standalone executable file from python 3.5 scripts?

廉价感情. 提交于 2019-12-04 01:06:16
Most of the programs available only support upto python version 3.4. cosmoscalibur You can use PyInstaller which support python 3.5. To install it with pip execute in terminal: pip install pyinstaller To make the .exe file: pyinstaller --onefile script.py 来源: https://stackoverflow.com/questions/33168229/how-to-create-standalone-executable-file-from-python-3-5-scripts

Determine if MSI/EXE supports certain flag/argument?

一世执手 提交于 2019-12-04 00:36:03
问题 I'm creating an auto-updater that can run MSIs and EXEs. These MSIs/EXEs aren't my own. I'd like to use any unattended/silent install option if it exists. Is there some way to determine if an MSI/EXE has some sort of unattended install support and, if so, get the right argument so I can pass it to the file when I run it? I know, by default '/quiet' is the silent install option, but I'm also curious about EXEs and any MSIs that maybe have customized this option. This question - detect msi

Which programming languages that can generate self contained windows .exes?

佐手、 提交于 2019-12-03 23:53:30
I want to make an easy to deploy Windows application and was was wondering which programming systems can create totally self contained Windows .exe files? As a plus, if the same can be done with MacOSX and Linux from the same source this would be a bonus. I took a look at Realbasic but they have since abandoned the single .exe concept. update: i am looking for something that can run from Windows XP up to Windows 7, no matter what version of .NET is installed. Is this even possible? Delphi compiles to one executable, and generates native windows executables. So no dependencies to any kind of

How to know if a different exception is hidden behind a 80000003 breakpoint (WER dialog)

旧街凉风 提交于 2019-12-03 22:15:42
My application, an executable, is crashing on a remote machine. I don't have access to that machine, so I requested a dump, generated through Task Manager. Using WinDbg, on executing the command !analyze -v , I can see the following text among many others EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 0000000000000000 ExceptionCode: 80000003 (Break instruction exception) ExceptionFlags: 00000000 NumberParameters: 0 How can I know if it is responsible for the crash? If it is not, how do I identify the real cause? Is the INT3 breakpoint the root cause? TLDR: if !findstack kernel32!WerpReportFault

c++ how to run an .exe file whose contents are stored in a char array?

梦想的初衷 提交于 2019-12-03 17:36:34
I'm making a specific program and i just wondered if I could do this: run a file whose contents are stored in a char array ON WINDOWS. this is the code that reads the executable and stores it in a char array: filetoopen.open (C:\blahlbah.exe, ios::binary); filetoopen.seekg (0, ios::end); length = filetoopen.tellg(); filetoopen.seekg (0, ios::beg); buffer = new char [length]; filetoopen.read (buffer, length); filetoopen.close(); I heard something about RunPE and I did some searching, I haven't succeeded in finding any piece of C++ code to use. Software_Designer This shows how to Load an EXE