executable

Getting around Chrome's Malicious File Warning

我的未来我决定 提交于 2019-11-26 18:26:52
I created an application which comprises a number of *.exe files. I've packaged these up into an NSIS installer which I hosted on my website. When I try to download it Chrome reports it as potentially malicious. At first I thought it could be the URL/site I was hosting on not being recognized so I signed up for Amazon S3 storage and moved the file there. Same problem. I then thought that packing the executables might cause this, so I tried without. Same issue. After some more reading I decided to try signing the executables as well as the installer package EXE. I created a dev cert as follows:

Python executables: py2exe or PyInstaller?

我的梦境 提交于 2019-11-26 18:06:35
问题 To create executable files (windows) I assume that we should use one of them: Py2exe or PyInstaller. What are the difference between them? 回答1: Py2exe and PyInstaller both are wrappers but here are few differences that I noticed, Py2exe is compatible with python2.4+ including python3.0 & 3.1 whereas PyInstaller is currently, compatible with python 2.7 and 3.3–3.5 As far I know, Py2exe didn't support signing whereas Pyinstaller has support for signing from version 1.4 In PyInstaller it is easy

Creating executable files in Linux

最后都变了- 提交于 2019-11-26 18:03:39
问题 One thing I plan to be doing is writing (painfully simple) Perl scripts, and I'd like to be able to run them without explicitly calling Perl from the terminal. I appreciate that, to do this, I need to grant them execute permissions. Doing this with chmod is easy enough, but it also seems like a slightly laborious extra step. What I would like is one of two things: Firstly, is there a way to set the execute flag when saving a file? Currently I'm experimenting with gedit and geany, but would be

“No such file or directory” but it exists

怎甘沉沦 提交于 2019-11-26 17:35:33
问题 I simply want to run an executable from the command line, ./arm-mingw32ce-g++ , but then I get the error message, bash: ./arm-mingw32ce-g++: No such file or directory I'm running Ubuntu Linux 10.10. ls -l lists -rwxr-xr-x 1 root root 433308 2010-10-16 21:32 arm-mingw32ce-g++ Using sudo ( sudo ./arm-mingw32ce-g++ ) gives sudo: unable to execute ./arm-mingw32ce-g++: No such file or directory I have no idea why the OS can't even see the file when it's there. Any thoughts? 回答1: This error can

Modify Emdeded String in C# compiled exe

半世苍凉 提交于 2019-11-26 16:28:32
问题 I have an issue where I need to be able to have a compiled exe ( .net 3.5 c# ) that I will make copies of to distribute that will need to change a key for example before the exe is sent out. I cannot compile each time a new exe is needed. This is a thin client that will be used as part of a registration process. Is it possible to add a entry to a resource file with a blank value then when a request comes in have another application grab the blank default thin client, copy it, populate the

How to tell if a .NET application was compiled in DEBUG or RELEASE mode?

一笑奈何 提交于 2019-11-26 16:10:55
I have an application installed on my computer. How do I find out if it was compiled in DEBUG mode or not? I've tried to use .NET Reflector , but it does not show anything specific. Here is what I see: // Assembly APPLICATION_NAME, Version 8.0.0.15072 Location: C:\APPLICATION_FOLDER\APPLICATION_NAME.exe Name: APPLICATION_NAME, Version=8.0.0.15072, Culture=neutral, PublicKeyToken=null Type: Windows Application I blogged this a long time ago, and I don't know if it still valid or not, but the code is something like... private void testfile(string file) { if(isAssemblyDebugBuild(file)) {

Compile to a stand-alone executable (.exe) in Visual Studio

本小妞迷上赌 提交于 2019-11-26 15:58:10
问题 how can I make a stand-alone exe in Visual Studio. Its just a simple Console application that I think users would not like to install a tiny Console application. I compiled a simple cpp file using the visual studio command prompt. Will the exe work even if the .NET framework is not installed? I used native C++ code. 回答1: Anything using the managed environment (which includes anything written in C# and VB.NET) requires the .NET framework. You can simply redistribute your .EXE in that scenario,

Executable directory where application is running from?

一曲冷凌霜 提交于 2019-11-26 15:57:56
问题 I need to get the path (not the executable) where my application is running from: System.AppDomain.CurrentDomain.BaseDirectory() When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra path information some. I just need the directory of where the app is running. I am coding in VB.NET with Visual Studio 2008. Thanks! 回答1: Dim strPath As String =

LINK : fatal error LNK1104: cannot open file 'D:\…\MyProj.exe'

假如想象 提交于 2019-11-26 15:57:55
问题 Using Visual Studio 2010, when I build + run my application in short intervals I often get the following error. If I just wait a minute or two and try again it works fine. Unlocker claims no handle is locking the executable file. How can I discover what's locking it? If it's Visual Studio itself, what should I do to make it stop? or alternatively to release the file? 1>------ Build started: Project: MyProj, Configuration: Release Win32 ------ ... 1>InitializeBuildStatus: 1> Creating "Release

build a .exe for Windows from a python 3 script importing theano with pyinstaller

拟墨画扇 提交于 2019-11-26 14:57:53
问题 edit September, 2, 2017, 1pm I eventually managed to build a .exe with pyinstaller after many episodes. Unfortunately I failed to deal with the ‘theano’ module (that is required in my case by the ‘pymc3’ module) and I had to modify the .py files and give up part of the application. My description below has two aims: first it may help; second could anyone help me building a .exe for windows 7+, with the ‘theano’ module ? reminder: My python 3 script opens a simple GUI made with Qt Designer in