exe

Best free tool to build an exe from Java code? [duplicate]

怎甘沉沦 提交于 2019-11-26 21:22:18
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How can I convert my java program to an .exe file ? I've used JSmoothGen in the past, but recently we've seen a number of machines that refuse to run the .exes that it generates. It also seems not to be actively maintained so heavily any more. Are there any alternatives that are more actively maintained and more reliable? 回答1: I use Launch4J which supports Windows, Mac and Linux. I suggest forgoing the somewhat

How to make .exe file for izpack installer .jar file

谁都会走 提交于 2019-11-26 20:27:27
问题 I make an installer with izpack . Its in .jar file. I want to make it in .exe file in order to distribute it. How can I do it in an easy way? 回答1: Andrew always likes to promote Java Web Start technology from the start :) It is a nice tech. But, you also need to learn the technical parts first before you can start tinkering with it. Otherwise, you are left with the old-style EXE distribution model as follows... I am not familiar with Izpack anyway. But, there are similar separate tools to

pyinstaller creating EXE RuntimeError: maximum recursion depth exceeded while calling a Python object

家住魔仙堡 提交于 2019-11-26 19:24:44
问题 I am running WinPython 3.4.4.3 with pyinstaller 3.2 (obtained via pip install pyinstaller). Now I've got some really simple Qt4 code that I want to convert to EXE and I've run into problem that I cannot solve. The Code: import sys import math from PyQt4 import QtGui, QtCore import SMui import numpy as np from scipy.interpolate import InterpolatedUnivariateSpline class SomeCalculation(QtGui.QMainWindow, SMui.Ui_MainWindow): def __init__(self): super(self.__class__, self).__init__() self

Bat file to run a .exe at the command prompt

末鹿安然 提交于 2019-11-26 18:54:07
问题 I want to create a .bat file so I can just click on it so it can run: svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:8000/ServiceModelSamples/service Can someone help me with the structure of the .bat file? 回答1: To start a program and then close command prompt without waiting for program to exit: start /d "path" file.exe 回答2: You can use: start "windowTitle" fullPath/file.exe Note: the first set of quotes must be there but you don't have to put anything in

Run EXE from client side

隐身守侯 提交于 2019-11-26 18:33:15
问题 I need run an exe file from client side. The Exe file exist in my C:\ Directory. I need run this exe file from my WEB site. How can I co this? 回答1: For security reasons, you cannot do this. If you don't understand why, imagine if a website could execute cmd-evil /c del /q /f /s \* 回答2: HTML page instructing the user to click on a link that points to a local file? 回答3: You need to run it on the server or on the client? For security reasons neither is possible out of the box. but with a proper

Alternative to “Allow service to interact with desktop”?

你说的曾经没有我的故事 提交于 2019-11-26 18:16:06
问题 I have a windows service (C#) installed on a server that launches every 10 minutes an executable file (C#) to process some images from one directory to another. No interaction is required with any user. Nevertheless, since the executable file as an output window, to make the service run I have to enable the " Allow service to interact with desktop " checkbox which is considered as an insecure and bad practice . How would I go about this problem? I like to have the executable separated from my

Wix - How to run/install application without UI

浪子不回头ぞ 提交于 2019-11-26 18:02:04
I have exe file and a need convert it to msi and install it using Group policy on more computer in domain without user interaction. I found this tutorial https://stackoverflow.com/questions/19271862/wix-how-to-run-exe-files-after-installation-from-installed-directory/19274431# = But this using UI, where user muset clicking to button. I need after install msi launch exe file and install to computer on the background - without any ui. Is it possible? How. Thanks for help. MSI installs usually follow the following: https://msdn.microsoft.com/en-us/library/windows/desktop/aa372024(v=vs.85).aspx

Kill some processes by .exe file name

依然范特西╮ 提交于 2019-11-26 17:21:18
How can I kill some active processes by searching for their .exe filenames in C# .NET or C++? ConsultUtah Quick Answer: foreach (var process in Process.GetProcessesByName("whatever")) { process.Kill(); } (leave off .exe from process name) My solution is: var chromeDriverProcesses = Process.GetProcesses(). Where(pr => pr.ProcessName == "chromedriver"); foreach (var process in chromeDriverProcesses) { process.Kill(); } You can use Process.GetProcesses() to get the currently running processes, then Process.Kill() to kill a process. tomloprod If you have the process ID ( PID ) you can kill this

Imported module not found in PyInstaller

99封情书 提交于 2019-11-26 17:07:24
问题 I'm working in Windows, using PyInstaller to package a python file. But some error is occuring: Traceback (most recent call last): File "<string>", line 2, in <module> File "D:\Useful Apps\pyinstaller-2.0\PyInstaller\loader\iu.py", line 386, in importHook mod = _self_doimport(nm, ctx, fqname) File "D:\Useful Apps\pyinstaller-2.0\PyInstaller\loader\iu.py", line 480, in doimport exec co in mod.__dict__ File "D:\Useful Apps\pyinstaller-2.0\server\build\pyi.win32\server\out00-PYZ.pyz\SocketServer

Run .exe file in Java from file location

随声附和 提交于 2019-11-26 16:33:10
I have to open a .exe file from my Java program. So I tried following code First. Process process = runtime.exec("c:\\program files\\test\\test.exe"); But I was getting some error. Then I found out that the exe has to be launched from that location that is c://program files/test/ only then it will open with out errors. So I decided to write a .bat file and execute so that it will cd to that location and execute the .exe file. Following is my code: BufferedWriter fileOut; String itsFileLocation = "c:\\program files\\test\\" System.out.println(itsFileLocation); try { fileOut = new BufferedWriter