exe

How to change windows exe file's icon in linux without wine?

徘徊边缘 提交于 2019-12-04 13:48:37
I know I can use ResHacker to change a resource from windows and I know I can use ResourceUpdate function to do the same problematically (again in windows). My problem is that I have to update the icon of a windows exe file in linux, without using wine. (the reason for not using wine is that this process should run on an automation server that change the files and sign them). I don't know even where to start from. You can change a files metadata like this: gvfs-set-attribute '/path/to/file' -t stringv metadata::custom-icon "/path/to/image.png" There's a program called windres that should suit

Cannot run exe after building the jar

丶灬走出姿态 提交于 2019-12-04 09:39:19
I made a simple utility app. In it I had an exe file to be run. I got it to run by using: Runtime.getRuntime().exec(this.getClass().getResource("filename.exe").getPath()); I works perfectly when I run the program from the ide(Netbeans). But when I try to run the exe using the above command after building(ie from the jar created on building) it does not work at all. I also tried running this : Desktop.getDesktop().open(new File("filename.exe")) but no use again. Please help Tried with a usecase, found that getResource search for path "file:/path/to/thejar.jar!filename.exe", and is unable to use

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

独自空忆成欢 提交于 2019-12-04 09:07:08
问题 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 message i tried to exclude ' libiomp5md.dll ' from distutils.core import setup import py2exe setup(console=["SegmentationAccuracy.py"]) dll_excludes = ['libiomp5md.dll'] but always i got the same error message "error: libiomo5md.dll: No such file or directory"

Executable files to MSI installer

跟風遠走 提交于 2019-12-04 06:53:12
问题 I have a folder that includes two EXE files and a lot of other files. How do I turn that into an MSI installer or some kind of self extracting installer so that it installs Main.exe to Programs in Windows. The second EXE file is because of communication between the two EXE files. And I would prefer if it could include the "Shortcut to desktop" feature and doesn't require a license. The EXE files aren't setup files already I think. They are Python scripts changed to EXE files. This is the

How to make .EXE for demonstration of a Android Software built in eclipse?

…衆ロ難τιáo~ 提交于 2019-12-04 06:34:03
问题 I am almost done with my project in android, now I want to make the executable version of the application. I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse. need immediate idea 回答1: You'll need to do some legwork: Create the .apk bundle Create an Android virtual device Boot your emulator Install your .apk into the emulator. Create a batch file to launch the emulator with the correct AVD, place the zip file somewhere prominent Zip up

Run program.exe from eclipse plugin project

邮差的信 提交于 2019-12-04 05:56:47
问题 I am writing an eclipse-plugin witch run program.exe. I have added program.exe to plugin jar file. How can a execute this program? public class Handler extends AbstractHandler { public Object execute(ExecutionEvent event) throws ExecutionException { Runtime.getRuntime().exec(/*What should I write here*/); return null; } } 回答1: You can't run the program.exe from inside the plugin jar, so it needs to be extracted. In your plugin use: Bundle bundle = Platform.getBundle("plugin id"); URL url =

Creating portable (non-installing) windows applications in C#

匆匆过客 提交于 2019-12-04 05:46:52
I have a .net 3.5 application and i'd like to make it portable. It's simple and runs perfectly, i've sent the .EXE + .DLL's to some friends and it works as intended when running the exe with the .DLL's and the .ICO (that i have used in it) along in the same folder. What i want is simple: creating a single EXE file that cares the dll's, image and whatever-i-want along with it without being a setup, and requiring no installation. (a.k.a portable) I may consider migrating it to .net 2.0 if needed, i don't use any 3.5-only functionality, in fact, i'm not really sure why i'm using 3.5 (i'm new at

Run exe from Sharepoint web part

早过忘川 提交于 2019-12-04 05:16:22
问题 I have a button in a sharepoint web part that when clicked is supposed to launch the calculator: protected void Button1_Click(object sender, EventArgs e) { Process process = new Process(); process.StartInfo = new ProcessStartInfo("Calc.exe"); process.Start(); } However, when the button is clicked, nothing happens. Can someone tell me how to launch applications from a sharepoint web part? 回答1: Quite frankly this is not possible. The code you have written is executed on the SharePoint server in

how to make an executable version of a WPF Kinect Application?

牧云@^-^@ 提交于 2019-12-04 04:32:20
I have made a Kinect Application in Microsoft Visual Studio 2010. I need to make an exe of the application which can run on any windows based system. If I need to do that than is there any requirements that the system should fulfil? and If yes, then how do I do that? I tried to use the exe in application/bin/debug/application.exe by copying it in another folder but it shows an error but if I run the exe from the bin/debug/application.exe it works. Am I missing something here or is it the only way to do that? "Any Windows based system" isn't going to work. Assuming you're using the Kinect SDK,

Create executable bash script that accepts drag & drop

老子叫甜甜 提交于 2019-12-04 04:16:42
I compiled mplayer from source on Ubuntu. I didn't want to use a GUI but I wanted to make a executable bash file that gets the path from an file that gets dropped onto the bash file. How do I make such a thing possible? I wanted to make it look something like this: mplayer <get full path to file . file-ending> I want the executable bash file to sit on my desktop ;) If possible, I'd just like an rightclick -> start with mplayer function, but I don't know how to make one. PhoneixS You can access arguments passed to the script with $1 (for the first argument). And also you should make a .desktop