exe

JavaFX .exe file Failed due to exception in main class

不打扰是莪最后的温柔 提交于 2019-12-02 09:16:45
I developed an JavaFX application and used the native packaging tool (incl. Inno Setup 5 and WiX) to create .exe files and installers. The program is a self-containing application, means it has its own JRE on board and some external .jars in a /lib folder. When I install and execute it it runs fine on my own computer (Windows 7) and some other machines but it seems not to run on Windows 10 and Windows Server 2008 R2. Also some Windows 7 machines cannot execute it. The error message after clicking the launch icon is: "Failed due to exception in main class". It does not say more. But when I

No module named bs4 when using cx-freeze

耗尽温柔 提交于 2019-12-02 06:54:34
问题 I am trying to convert my python script in to standalone executable for Windows using cx-freeze. For that I just typed this command cxfreeze PlaylistDownloader.py (PlaylistDownloader.py is my script file) then it did the following things. PS C:\Users\BK\Desktop\#YoutubePlayListDownloader> cxfreeze PlaylistDownloader.py creating directory C:\Users\BK\Desktop\#YoutubePlayListDownloader\dist copying C:\Python27\lib\site-packages\cx_Freeze\bases\Console.exe -> C:\Users\BK\Desktop\

eclipse won't run my exe file

混江龙づ霸主 提交于 2019-12-02 06:47:19
问题 I'm trying to build and run my C++ program in eclipse but it won't work. My program doesn't have a main function, but it does have WinMain and includes < windows.h >. I compile it into an executable and everything works fine, but when I click "run" nothing happens. When I drag the executable to my desktop and double click it it runs no problem. But I would like to be able to run it directly from eclipse. I've done some research and already tried the following: I made sure "PE Windows Parser"

How to generate msi/exe installer file in visual studio 2017 for a project of over 24 GB files?

人盡茶涼 提交于 2019-12-02 06:46:41
I have a WPF project which has a resource (videos) with over 24 GB, I have set the configuration to Copy if newer in Visual Studio 2017. I want to generate installer files that will include all my resources (videos) that are inside the debug/bin folder. I have tried Microsoft Visual Studio installer extension but that generates only 700Kb of exe file. Please suggest. Online? : In all honestly, I would check if it is possible to put videos like that online (even Youtube?) instead of bundling them inside a setup - especially if you might ever want to update them. This will require a server and

No module named bs4 when using cx-freeze

安稳与你 提交于 2019-12-02 06:45:43
I am trying to convert my python script in to standalone executable for Windows using cx-freeze . For that I just typed this command cxfreeze PlaylistDownloader.py (PlaylistDownloader.py is my script file) then it did the following things. PS C:\Users\BK\Desktop\#YoutubePlayListDownloader> cxfreeze PlaylistDownloader.py creating directory C:\Users\BK\Desktop\#YoutubePlayListDownloader\dist copying C:\Python27\lib\site-packages\cx_Freeze\bases\Console.exe -> C:\Users\BK\Desktop\#YoutubePlayListDownloader\dist \PlaylistDownloader.exe copying C:\Windows\SYSTEM32\python27.dll -> C:\Users\BK

C# .bat file execution with Error & Output redirection

夙愿已清 提交于 2019-12-02 06:01:13
I have a .bat file to be executed. Inside that .bat file, at its end is that code START _file_creator.bat %some_arg_name% ENDLOCAL EXIT I don't want to show the window during the execution and also I must wait until the operation doing by this .bat file is completed and then terminate the execution (at the end of the operation I see the standard text "Press any key to continue"). I need also to check the output and errors by that file, so I'm trying to use that code: System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = @"C:\m_f\_config.bat"; proc

What is the best tool kit to transform .msi into .exe?

一个人想着一个人 提交于 2019-12-02 05:55:50
I would like to encapsulate a .msi into an .exe in order to add: Hardcode folder location, example C:\Program Files (x86)\TEST\ Add installation version file Use silent installation Use of command line switches (install/uninstall) Log generation Add Windows Registry foot prints MSI Customization : Customization of MSI files for installation is a built-in feature of the technology. there are two primary ways to customize the installation: Light Weight : You can set PUBLIC properties on the command line as a light weight form of customization, sample here and here , or... msiexec.exe /i setup

How can I output Handbrake output to both the screen and to a file?

随声附和 提交于 2019-12-02 05:48:35
问题 So I've been using Handbrake command line to encode my video collection to store on my NAS so I can use it on my HTPC. I was looking for a way to output both to the screen so I can watch it's output as it's encoding, but also to a file so I can go back and look at a particular encoding session. My solution for this was to use one Powershell window to run the encoding and output to a file, then another Powershell window to read the log file and display it on screen. This works, but I want to

How can I run an exe or windows service in medium trust?

笑着哭i 提交于 2019-12-02 04:45:45
I would like to run exes and Windows Services in Medium Trust, but all the literature I can find suggests using <system.web> <trust level="Medium"/> </system.web> for ASP.NET, so I have tried that but using code from How do you check if you are running in Medium Trust environment in .NET? it still appears to have full trust. What is the correct way to do this? The available approaches depend on the .NET version. Prior to .NET 4.0, the CLR enforced CAS policy, which made it possible to restrict permissions for any assembly. However, as of .NET 4.0, the CLR no longer applied CAS policy unless

how to produce a mix of dll and exe in one C# project in visual studio or other build tools?

谁都会走 提交于 2019-12-02 04:45:00
how to produce a mix of dll and exe in one C# project in visual studio or other build tools ? Is it technically possible ? Yes I know it can done in 2 or more projects . I'm not sure what the motivations for your question are, as you can reference a .Net executable as if it were a dll anyway, but you could consider copying the exe file to a dll file with the same name (yes it's a hack but not sure of your motivations). You can automate this process using a Visual Studio post-build event for your project. This will handle creating the dll copy each time you have a successful build: copy "$