exe

Delphi EXE compressor? [closed]

泄露秘密 提交于 2019-12-29 06:24:57
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . At one point I had a nice little compression utility that smashed my Delphi compiled EXE's to a smaller download size, but now I can't

After creating python exe file with cx_freeze the file doesn't do anything

回眸只為那壹抹淺笑 提交于 2019-12-28 17:48:27
问题 I recently created used cx_freeze to create a python 3.2.2 exe file. When I tried to run the exe file nothing happened. Here is the code for my test.py file: print("hello world") for i in range(5): print(i) Here is the code for my testSetup.py file: from cx_Freeze import setup, Executable exe = Executable( script="test.py", base="Win32GUI", targetName="Test.exe" ) setup( name = "Test", version = "0.1", description = "I wish programming was this easy", executables = [exe]) The build directory

After creating python exe file with cx_freeze the file doesn't do anything

帅比萌擦擦* 提交于 2019-12-28 17:45:03
问题 I recently created used cx_freeze to create a python 3.2.2 exe file. When I tried to run the exe file nothing happened. Here is the code for my test.py file: print("hello world") for i in range(5): print(i) Here is the code for my testSetup.py file: from cx_Freeze import setup, Executable exe = Executable( script="test.py", base="Win32GUI", targetName="Test.exe" ) setup( name = "Test", version = "0.1", description = "I wish programming was this easy", executables = [exe]) The build directory

Checking digital signature on EXE

谁说我不能喝 提交于 2019-12-28 12:29:13
问题 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 = cert2.Verify(); However, this only checks the certificate itself, and not the signature of the EXE. Therefore, if the EXE is tampered with, this method doesn't detect it. How can I check the signature? 回答1: You need to call (P/Invoke) WinVerifyTrust() function

preventing an exe file from closing [duplicate]

喜欢而已 提交于 2019-12-28 07:03:11
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How to stop C++ console application from exiting immediately? I created an exe file in c. When I run it command prompt opens and then closes quickly and I cannot see the output. The program takes no runtime values from users. It reads data from a file. Is there any way to prevent this? 回答1: Run it natively from the command line. Let's say that your file is in C:\awesomeness.exe Open the cmd, type cd C:\ and then

cx_Freeze ImportError: cannot import name

笑着哭i 提交于 2019-12-28 06:58:10
问题 I'm trying create an executable for Windows for a GUI application in tkinter using the ttk module. I made an exe with cx_freeze, but when I run the app in the console it gives me the following error: D:\My Dropbox\python\SAR Calculator\src\dist_tk> Traceback (most recent call last): File "C:\Python31\lib\site-packages\cx_Freeze\ 7, in <module> exec(code, m.__dict__) File "sarcalc_tk.py", line 14, in <module> File "C:\Python31\lib\tkinter\__init__.py", li from tkinter import _fix ImportError:

Azure App Service, run a native EXE to convert a file

醉酒当歌 提交于 2019-12-25 09:39:11
问题 I have a native EXE that converts a file based on command line arguments. Provided, I know how to give full path names of the input and output files, can I run such an EXE from my app service when some button is pressed and wait till the output file is created? Converting to DLL is not an option. 回答1: As far as I know, we could run a native exe in the azure app service. But we couldn't directly pass the parameter to the native exe. You need write a web application or something else for the

Python 2.7 script compiling to .exe that uses many packages, including Matplotlib and PyQt4

吃可爱长大的小学妹 提交于 2019-12-25 08:19:44
问题 I'm trying to compile a Python 2.7 script that imports the following packages: import easygui as EG import numpy as np import pandas from skimage import data from skimage import measure import cv2 import matplotlib.pyplot as plt from matplotlib.widgets import Button import ntpath import os import time # Packages for progress bar import sys from PyQt4.QtGui import * from PyQt4.QtCore import * from PyQt4.QtCore import pyqtSlot,SIGNAL,SLOT easygui numpy pandas skimage opencv (cv2) matplotlib

How to prevent my .exe to be recognized as malware?

巧了我就是萌 提交于 2019-12-25 07:59:16
问题 I have written a little tool a few days ago (see Github project here) that works as a single .exe portable file. It is compiled/linked with: cl mytool.c I have uploaded the .exe on internet, but when people try to download it (direct link here), the file is seen as malware / potential threat, and thus can't be downloaded. ( Note that when disabling antivirus for 10 minutes, it is possible to download it successfully. ) How to compile/link my tool so that my .exe file is seen as potential

How to create .exe from jar files in java? [duplicate]

故事扮演 提交于 2019-12-25 04:28:36
问题 This question already has answers here : How can I convert a JAR file to an EXE file? (8 answers) Closed 4 years ago . We created jar file of our project. Jar file name is stock.jar ,in dist folder: lib folder,one stock.jar , stock.sqlite . Now we want to create .exe with database and lib folder jars. 回答1: Here are the List of option you have launch4j Excelsior JET JSmooth JarToExe Advanced Installer launcher and installer for Java applications - TUTORIAL JexePack Executable Wrapper Jwrapper