exe

Loading dll library from Resource to Current Domain(Embedding dll in main exe file)

和自甴很熟 提交于 2020-01-01 19:31:32
问题 I'm trying to load dll libraries during runtime using the following code so that I don't have to provide the user with lot of dll files along with the main executable file. I have inlude all the dll files as an embedded resource and also in the reference part I have include them and have set the CopyLocal property to false. But the problems here are: 1. All the dll are getting copied to Bin\Debug folder 2. I'm getting FileNotFoundException . I did lot of searches to get these things resolved

Package java files in exe for windows with maven

让人想犯罪 __ 提交于 2020-01-01 03:52:07
问题 The Launch4J port for Maven is terribly documented and I fail to use it in the way I want. Is there some good Maven plugin to gernerate an exe file with following criteria (at least some of them, if possible): No wrapping of jars Jars can be in different directories relative to the jar file The jars are exactly the dependancies, so adding new jars to a directory with a different name does not have any effect. Xmx and Xms can be configured through a file Process runs under the .exe name if

make .exe file out of Visual Studio uwp .appx file

时光总嘲笑我的痴心妄想 提交于 2020-01-01 03:29:10
问题 I have an uwp-app, designed with Visual Studio 2015 for windows 10 (multi-touch, etc.), but it must NOT be released via Windows Store (and yes, that includes also the kind'a "private / hidden" version via Windows store) and an installation via Powershell is a little complicated for an average customer, so I would prefer some good old .exe file. Is there any possibility to export / release the programm instead of .appx as .exe? Thx for any support :) 回答1: Short answer is you can't . As

PyInstaller what are hiddenimports and hooks?

戏子无情 提交于 2019-12-31 01:01:34
问题 I recently tried pyInstaller and there are some things i don't quite get. i have been trying to create some executables (NOTE: all of them use numpy, scipy, OpenCV, BLAS etc) but i have been failing. There is always something missing. So my question is, can someone explain better to me what are hiddenimports and hooks, and how can i tell pyInstaller the directories of all the dependencies in my code so it can pack the in the final executable. Thank you. 回答1: From the pyinstaller documentation

Windows 8 fat binary (exe for x86 & ARM)

六眼飞鱼酱① 提交于 2019-12-30 18:06:49
问题 Does anyone (here) know if Windows 8 will have a sort of fat exe that one can compile with Visual Studio 2012 that will be supported on both ARM and x86 machines? I am guessing not, since you can't create fat binaries that will execute 32 or 64 bit code so far as I am aware (only solution available that I am aware of is 32 bit that creates a 64 bit executable on the fly). It seems like it would be helpful of Microsoft to extend exe or create a fat binary format for Windows 8 and beyond at

how to make exe file work on one computer only

删除回忆录丶 提交于 2019-12-30 11:06:47
问题 I wrote a program using C# and make exe file using advanced installer and it work good but i want to make this exe file work in one computer, because some clints take exe and give this exe to another and i want to privint that and protect my works 回答1: run the code below on the machine that you want your .exe. file to work on (it will give you this machines MAC address). 2. Add this MAC address to the code below 3. Add the code below to your C# code to ensure that it only runs on the machine

how to make exe file work on one computer only

点点圈 提交于 2019-12-30 11:06:16
问题 I wrote a program using C# and make exe file using advanced installer and it work good but i want to make this exe file work in one computer, because some clints take exe and give this exe to another and i want to privint that and protect my works 回答1: run the code below on the machine that you want your .exe. file to work on (it will give you this machines MAC address). 2. Add this MAC address to the code below 3. Add the code below to your C# code to ensure that it only runs on the machine

JavaFX Single Instance Application

China☆狼群 提交于 2019-12-30 06:49:06
问题 Trying to make it so when the user "closes" the program clicking all the exit buttons so there is no more tray icon. I called Platform.setImplicitExit(false); so the program still runs in backround. I am trying to learn how to make it so when the user re-clicks the .exe files which runs the jar,instead of running a new program it re-shows that one that is running in background. Platform.setImplicitExit(false); 回答1: This is based upon the solution in the blog post: Java Single Instance

Windows exe launcher for Java app with JRE check

大憨熊 提交于 2019-12-30 05:15:11
问题 I need to distribute a Java application and I want an installer to install it in all cases. I need to create an *.exe launcher that will check the installed JREs and if the required JRE isn't installed, show a window with a proper link. if required JRE is installed, launch the properly executable jar file. 回答1: I'm pretty happy with WinRun4J: http://winrun4j.sourceforge.net/ It's under active development and some improvements I suggested were quickly implemented. The only thing that is

Powershell script not recognizing my function

此生再无相见时 提交于 2019-12-30 02:49:05
问题 I have a powershell script that parses a file and send an email if it detects a certain pattern. I have the email code setup inside a function, and it all works fine when I run it from the ISE, but I used PS2EXE to be able to run the script as a service but it does not recognize the function "email". my code looks similar to this #Do things | foreach{ email($_) } function email($text){ #email $text } When I convert it to exe and run it I get this error: The term 'email' is not recognized as