exe

How do I get an Icon on a .jar file?

痞子三分冷 提交于 2020-01-15 09:45:42
问题 I have written a program in java, and I am able to execute it as a jar file. I was wondering two things. one, how would I make the .jar file have a desktop icon other than the standard java icon. and two, I am using netbeans, how would I create a .exe file instead of a .jar file? 回答1: Like Kitsune said, you can make an executable file. The Java packager I'm most familiar with is Launch4J. It's highly configurable and can be called from Ant scripts, so it can easily integrate into an existing

Create an exe-File in Maven with VM-Arguments for said exe

我的梦境 提交于 2020-01-14 22:54:11
问题 i am currently working on a Java-Project that needs VM Arguments specifying the java.library.path. When running my program out of Eclipse - No problem, i can specify my VM arguments easily. Now i want to build my project via maven and haven't found a possibility to give said arguments to this exe. Just calling my exe with this argument on the command line does not work, so where do i have to put this information in my pom-file? 来源: https://stackoverflow.com/questions/40933950/create-an-exe

packaging air application with air runtime in one installer - windows .exe

有些话、适合烂在心里 提交于 2020-01-14 04:55:08
问题 I've been approved to distribute the adobe air run time. I've been able to a packaged .dmg file without any problems, now I'm trying to create a package of my application with the runtime for windows. I've followed the same instructions and the windows installer (MyApp 2.0 Installer.exe) is working properly when I double click it form the installer directory that I created. Now I'm trying to package everything from that directory into one .exe file. I've tried using the standard windows

How to run .exe executable file from linux command line? [closed]

陌路散爱 提交于 2020-01-13 05:07:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have one abc.exe executable file in windows. I am able to execute this application using DOS command promt and give some run-time variable to it. I want to do same in linux system from terminal. How can I do this?? 回答1: Windows EXE files usually can't run on Linux. You might be successful with wine which

How to create an exe for a web application?

淺唱寂寞╮ 提交于 2020-01-11 14:12:07
问题 I had developed a web application using Visual studio 2012 (ASP.Net 4.5 - C#) and a web service. Both are laying in a single solution. I need to convert my solution to an EXE file (Creating EXE for my web application). What i need exactly is, if run my setup file, it should host my web application and web service in IIS. Kindly provide the steps to solve me the problem. 回答1: Maybe you need to create a web setup project. "A Web setup project provides the highest level of flexibility for

Create an exe with jar file AND resources

旧巷老猫 提交于 2020-01-11 13:44:27
问题 Is there a way to create an exe that includes a resources folder inside it? I am looking for something like mac's Application bundle package things. I also want the ability to write and read from files within the resources folder. 回答1: If you build the jar with the resources inside it, then you can use launch4j to wrap it as an executable (for free!). You'll still need the JRE, but otherwise it will act just like a normal .exe. 来源: https://stackoverflow.com/questions/10473194/create-an-exe

How to tell if a windows PE file is a console subsystem or a windows subsystem programmatically?

北城以北 提交于 2020-01-10 03:16:08
问题 Basically I need a program that will sort windows .exe's from the console counterparts. A file scanner: SortExe(file exe) { if (IsPeWindows(exe)) { AddToList1(exe); } else if (IsPeConsole()) { AddToList2(exe); } } How do I implement IsPeWindows or IsPeConsole() ? I do not particularly mind what language solutions come in so long as it's one of c, c++, c# or visual basic. 回答1: Pass SHGFI_EXETYPE to SHGetFileInfo() & examine the hi/loword of the return value as explained in the link. 来源: https:

Microsoft signtool removes administrative privileges?

只谈情不闲聊 提交于 2020-01-06 07:15:49
问题 I need to sign an installer executable for Windows using a p12 file. Before signing, this EXE file icon has a "shield icon" on it indicating that it requires administrative privileges, as it should. However, after I sign using the signtool and the following command: signtool.exe sign /f mycert.pfx /p <password> /t http://timestamp.verisign.com/scripts/timstamp.dll /v "<file to be signed>" the signing succeeds but the shield icon disappears. When I run the resulting executable, it fails

Cannot run Python file as .exe file, getting error 'ModuleNotFoundError: No module named 'pandas' '

ぃ、小莉子 提交于 2020-01-06 02:43:27
问题 Original Question After installing auto-py-to-exe (https://pypi.org/project/auto-py-to-exe/) and trouble shooting my installation problems (How to convert .py to .exe - pip install auto-py-to-exe works but auto-py-to-exe does not) I am having problems running the newly generated 'exe' file. I get the error message - ModuleNotFoundError: No module named 'pandas' I thought I had already installed 'pandas' Microsoft Windows [Version 10.0.17134.165] (c) 2018 Microsoft Corporation. All rights

Azure WebJob Multiple executables

时光毁灭记忆、已成空白 提交于 2020-01-05 10:09:23
问题 I am creating a WebJob (console executable). This .exe invokes one of the configured plug-ins which are in the form of executable again. So, when I deploy a WebJob, it contains 3 or more executable. Is there a way to execute only one .exe as a WebJob and block the execution of other .exe ? Thanks in advance 回答1: The best thing to do here is to also include a run.cmd file at the root of your WebJobs files, and have it just be a one-liner that runs whichever exe you want. Once you do that, only