w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
VS 2010 Set up project - Installing exe through custom action
3) Check the registry value, or the default install location. 2) Windows installer < 4.5 (<4.5 is practically everywhere) can't chain. 1) See 2. Visual Studio 2012 drops setup projects completely anyway, so you won't need to rewrite. (Hint) I wouldn't waste your time using InstallShield 2012 LE (VS 2012 default). That's why I recommend you create your setup project with http://www.advancedinstaller.com/ The freeware edition suffices. Here's an edition overview: http://www.advancedinstaller.com/purchase.html

Categories : C#

Python installing PyQt4 module to custom software
That binary version of PyQt4 only supports python2.7, so no matter what you do, you won't get it to run with python2.5. The last PyQt4 version with a binary for python2.5 is PyQt4.9.4, so if you want to have any chance of making this work you should try with this version. Note however that the software you distribute like this will also only run on python2.5.

Categories : Python

InstallUtil fails on installing custom Windows Service
Without the installer, have you tried registering your service with all dependent assemblies? were you successfully able to register? If this has worked, then - Is your service registration action is post install complete action in your installation authoring steps?

Categories : C#

Installing a new, custom theme has "broke" current Wordpress installation
Get ahold of the devs for your framework. Your experience is not an uncommon one. It has happened to my sites several times. Unless you want to tweak the php yourself, they will have to help you.

Categories : Wordpress

Trouble installing Ephem on a custom distribution of Python ie. Maya (3D / CGI software)
I believe you'd have to use mayapy which is Maya's own python version found in /Applications/Autodesk/mayaVersion/Maya.app/Contents/bin. So just add that to your PATH in your .bash_profile and then you should be able to run mayapy setup.py install. Hope that helps, it's been a while since I've used Mac..

Categories : Python

Versioning Binaries on OSX
As you may have realised, the standard OSX method is to create a bundle and add the version in the Info.plist and there isn't the usual attributes available within the binary executable, as you'd find in Windows. Many terminal apps will allow you to discover their version with a -v option, but this is usuallly just a function returning the version number. If you want to add meta data without hard coding it, you could use the extended file attributes to store the version number, which you can read, write and view with the xattr command.

Categories : Osx

Mex binaries not loaded
Run mexext in your command window. If it does not return mexmac (or mexw32 which is also present in the folder) then you you won't be able to run the BoxQP function. These are simply old files - I see that they're from 2006. If you're using any form of OS X these days you'll get mexmaci64, which is not compatible. However, it looks like they have helpfully included all of the source code so you'll be able to hopefully compile the binaries for your system. For details on compiling mex code see this. Then, as @alrikai suggests, your BoxQP function needs to be on your path. Either make sure that you call your code from the same folder or run path from the command window and check if that directory has been properly added (if you did so). See also addpath.

Categories : Matlab

Adding binaries to the 'bin' catalog
You need administrator (also called root) rights to fiddle with the system folders. See the sudo command how gain those privileges for a single command. Also, instead of using that relative path to /usr/local/bin, why not simple use the full path of just /usr/local/bin?

Categories : Linux

are there any core differences in the various Git binaries available for OSX?
Release notes: https://raw.github.com/git/git/master/Documentation/RelNotes/1.8.3.2.txt https://raw.github.com/git/git/master/Documentation/RelNotes/1.8.3.1.txt https://raw.github.com/git/git/master/Documentation/RelNotes/1.7.12.4.txt And in particular: https://raw.github.com/git/git/master/Documentation/RelNotes/1.8.0.txt Which has the 'new since 1.7.12' you probably care about. But why not use the most recent one?

Categories : Osx

ASP .Net C#: Get Binaries from fileupoad to generate XML
You should ask for some more assistance. There are probably some library for reading PDF-files already in use. Try to find out what it is, and read the code to see how it is used. If this is the first time in the project anyone had to read PDF-files, you will have to adopt some library. Writing one on your own is very time-consuming. What you are looking for is a library that can read the meta-data from the PDF. Two such libraries are iTextSharp and PDFSharp. Here are an example with PDFSharp: var doc = PdfReader.Open(@"icpc_briefing_1_sep_10.pdf"); Console.WriteLine("Number of pages: {0}", doc.PageCount); Console.WriteLine(); Console.WriteLine("=== INFO ==="); foreach (KeyValuePair<string, PdfItem> pair in doc.Info) { Console.WriteLine("{0}: {1}", pair.Key, pair.Value); } b

Categories : C#

Standard way of finding binaries?
If you use the exec variants with p in their names, they automatically search $PATH. So use execlp or execvp and it's taken care of for you. There's no "and stuff" I'm aware of -- when not given a pathname, the only way to find binaries is via $PATH.

Categories : Linux

Script to patch Qt binaries after relocation on Mac OSX
If you are building QT5 from source anyways then static linking will solve some of your headaches. The original link listed broke. To build QT statically add -static to the arguments when you run ./configure e.g. ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -static -release Compile with: make sub-src Install with: sudo make install

Categories : Osx

Pack two binaries(executables) into one file
In short no. You cannot have two main functions in one executable. You could rename the two mains to MethodA and MethodB then decide which to call based on the arguments you send to main i.e. the argv in int main(int argc, char** argv) Since you say you don't want to edit the source code, perhaps you are better off writing a script that calls the correct exe depending on the parameters.

Categories : C

How to install CLang using precompiled binaries?
Assuming you compiled your program with g++ hello.cpp The equivalents of gcc and g++ are clang and clang++ accordingly. They are found in the bin folder. It doesn't matter where you place the folders of clang, what matters is you don't move them later. So place them somewhere (I prefer $HOME and I'll assume this for the next) Then: Prepend it to $PATH variable export PATH=~/clang+llvm-3.2-x86_64-linux-ubuntu-12.04/bin/:$PATH Make this permanent by adding it to ~/.bashrc echo "export PATH=~/clang+llvm-3.2-x86_64-linux-ubuntu-12.04/bin/:$PATH" >> ~/.bashrc Now you can do clang++ hello.cpp

Categories : C++

What is the difference between debug and retail binaries in .NET?
This post may definitely answer your question. When compilation debug=”false”/ is set, the WebResource.axd handler will automatically set a long cache policy on resources retrieved via it – so that the resource is only downloaded once to the client and cached there forever (it will also be cached on any intermediate proxy servers). If you have Atlas installed for your application, it will also automatically compress the content from the WebResources.axd handler for you when compilation debug=”false”/ is set – reducing the size of any client-script javascript library or static resource for you (and not requiring you to write any custom code or configure anything within IIS to get it).

Categories : Dotnet

How to compile WSO2 WFS PHP 2.1.0 or where to get latest binaries
I ran into the same problem as you except when trying to compile under Linux, I found the solution to be first configure/compiling the C components from the source from here, copying the contents after make into a new folder 'wsf_c' inside the php fodler and then using the build script within the php folder of the sources from Github. I know you've likely found a way around this already but I hope this may help someone.

Categories : PHP

path for installation binaries for cabal
I realize this was answered in the comments, but it would be nice to mark this question as answered. This question is answered in the FAQ on the Snap website. http://snapframework.com/faq#why-cant-i-install-snap

Categories : Haskell

How to install clang pre-built binaries ubuntu 12.04
Instead of manually install it you can use the LLVM repo, add it to your apt sources and install it via apt-get or the Ubuntu packet manager. See LLVM apt repo on how to do it. Do the steps as written in the Install paragraph, in a terminal: sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-get install clang-3.4 lldb-3.4

Categories : Ubuntu

WPF App: get 3rd party binaries from install on target machine
Install Microsoft Windows SDK for Windows 7 and .NET Framework 4 Open gacutil add the assemblies to the GAC EDIT The GAC assemblies I added conflicted with the references assembly versions!

Categories : Dotnet

What's the recommended XCode to build PPC/Tiger binaries?
If this were me, I'd buy an external drive, install a clean copy of MacOS 10.6 on that and then Xcode 3.2.6, which is the last version of Xcode that officially supports PPC development. You then set your "MINIMUM_DEPLOYMENT_TARGET" for your project to 10.4. You'll also set the supported architectures to i386 & ppc. The more interesting challenge will be to try to get the same project to build both iOS & Macintosh targets.

Categories : Xcode

Issue in locating build binaries from jenkins
I would advise configuring your build to push artifacts to a dedicated binary repository like Nexus. This is the best way to expose such files to other tools like Maven. Another alternative to look at s the Maven Repository plugin which turns your Jenkins server into a Maven repository.

Categories : Jenkins

How to make emysql return utf-8 encoded binaries
This is one of the most common problems that exists, you can try to run your erlang shell with erl +pc unicode This forces erlang to run on utf-8 so for example you will see this Eshell V5.10.1 (abort with ^G) 1> [1024]. "Ѐ" 2> [1070,1085,1080,1082,1086,1076]. "Юникод" 3> [229,228,246]. "åäö" 4> <<208,174,208,189,208,184,208,186,208,190,208,180>>. <<"Юникод"/utf8>> 5> <<229/utf8,228/utf8,246/utf8>>. <<"åäö"/utf8>> also I recommend to you to check this talk from 'Patrik Nyblom' on 'handling unicoed' which he gave on erlang user conference in Stockholm this year. Here If you go through this you can find many useful stuff to handle your problem Good luck

Categories : Mysql

Why Machine.Specifications recommends to use unsigned binaries?
I see three options: As you mentioned, create an unsigned version of your assembly to run the tests on. As mentioned by nikita, sign the Machine.Fakes assembly manually as described in using unsigned assemblies in signed ones. Or you pull the sources of Machine.Fakes and compile and sign the assembly yourself. There is no signed version of Machine.Fakes, because nobody needed it so far. I have seen the issue you filed, but I haven't had time to have a look at it yet. So there is another option: wait for me to create a signed version. :-) However, I am not sure yet if and how I would do that.

Categories : Dotnet

cURL download binaries "doubles up" file
You're calling curl_exec() twice, so it downloads the file twice. Change: if(curl_exec($ch) === false) to: if($results === false)

Categories : PHP

Compiled binaries VS interpreted code in python
cx_freeze (and the various competitors for "compiling" Python code to executables) don't actually compile anything. They're just a convenient way of packaging the app in such a way that it can be run directly. In other words, there's no performance difference. Depending on what you need to do in your Python script, you could consider using Pypy to improve your performance.

Categories : PHP

How to deploy zip files (or other binaries) trough cgi in Python?
You need to print an empty line after the headers, and you Content-disposition header is missing the type (attachment): print("Content-type: application/octet-stream") print("Content-Disposition: attachment; filename=%s.zip" %(filename)) print() You may also want to use a more efficient method of uploading the resulting file; use shutil.copyfileobj() to copy the data to sys.stdout.buffer: from shutil import copyfileobj import sys print("Content-type: application/octet-stream") print("Content-Disposition: attachment; filename=%s.zip" %(filename)) print() with open('../../data/code/' + filename + '.zip','rb') as zipfile: copyfileobj(zipfile, sys.stdout.buffer) You should not use print() for binary data in any case; all you get is b'...' byte literal syntax. The sys.stdout.buffer

Categories : Python

Running Installed Binaries from PHP Script (as apache)
Use full path, because php runs under another user and ./ is not the apache directory when this user executes the script: $command = "/usr/local/bin/pygmentize-1.4-f html $extra_opts -l $language $temp_name";

Categories : PHP

How do I update the mongodb binaries in my nitrous.io box to the 2.4.x versions?
Nitrous has released a package manager dubbed autoparts which will allow you to install mongodb 2.4.6. Autoparts requires you to have a Nitrous box on version "bran" or later. If you are on version "arya" then you will need to download the contents within your box (SCP or Nitrous Mac App), terminate the box, followed by creating a new box in order to upgrade. Take a look at the README within the Github Repo for instructions on how to use autoparts: https://github.com/action-io/autoparts To install/update mongodb to the latest version, run the following command: parts install mongodb After the installation completes, run mongo in the console to check the version. You may need to restart the console if it is reporting an older version.

Categories : Mongodb

Installing SQL objects in C# - issue when installing CLR assembly and function scripts
I have now fixed this problem. The issue turned out to be that I was using the same SQLCommand later on to execute a stored procedure (as I have given the command a SQLTransaction so I can rollback if it fails) and had forgotten to remove the parameters that were added when I run the next text command. Therefore it was running the first script file and failing afterwards.

Categories : C#

Installing M2Crypto inside of virtualenv without installing swig to the system
So in the end I got this to work by letting buildout handle downloading and installing swig and M2Crypto and then just moving the built M2Crypto and EGG-INFO directories from where buildout put them to where virtualenv wanted them...this might not be the optimal solution, but hey, it worked.

Categories : Python

running win32 ipython binaries interactively from cygwin
Running win32 IPython.exe executables in cygwin is problematic at best. Best to run the cygwin Ipython version. Depending on the libraries you need, this can work just fine. But if you need to work with win32 compiled libraries, the cygwin Ipython will not work (as far as I know). Overall, I still struggle for pleasant terminal experiences with ipython in Windows. There is no one solution that "just works". I have 3 different ways of interacting with IPython, depending on the job I need to get done. Use cmd.exe (or Console.exe) and run the win32 ipython. This is the best way (in my opinion) for a vim+ipython workflow. This is very functional and fast. It will hurt your eyes a little, and still lacks a good "terminal" experience... but it will get the job done if you need to grind throug

Categories : Python

Track number of download of a release (binaries) on Github
You can use the GitHub API to get the download_count among other things for a single release asset: http://developer.github.com/v3/repos/releases/#get-a-single-release-asset This is how it looks currently, but please check the link above just in case anything changed since this answer was written. GET /repos/:owner/:repo/releases/assets/:id { "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", "id": 1, "name": "example.zip", "label": "short description", "state": "uploaded", "content_type": "application/zip", "size": 1024, "download_count": 42, "created_at": "2013-02-27T19:35:32Z", "updated_at": "2013-02-27T19:35:32Z" }

Categories : Github

Python setup.py call makefile don't include binaries
I was able to find a really easy solution. As I said my main problem was that I was packaging the compiled files. To exclude those files form the tarball/zip just had to put this on MANIFEST.in: prune bin. Then just need to call the makefile from setup.py: directory = 'bin' if not os.path.exists(directory): os.makedirs(directory) subprocess.call(['make', '-C', 'src']) With that when someone does pip install whatever is going to call the make file and put the binaries on bin (have to specify this on the make file). Then just need to say the setup to copy those files: setup( ... data_files=[('bin', ['bin/binaries'])], ) Done! Hopefuly someone find this usefull :)

Categories : Python

Should our 64bit binaries be named differently from their 32bit versions?
If we're talking about a single application, all of its files should be kept in a single directory, per the bitiness. Meaning, either PF, or PF(x86). But not spread around. Regarding components, ask yourself this. Are these components used interchangeably, or do are they used in parallel? If it's one the former, then have them the same name, this will simplify your deployment. But if it's possible that both are used at once, for example, a DLL that is used by both 32-bit process, and your 64-bit helper process, then split the names. Otherwise you will need to split up your directory structure.

Categories : Windows

Installing setuptools prior to installing python dependencies on Mac
You command attempts to install files into system directories. You must execute the command as root or with sudo: sudo sh setuptools-0.6c11-py2.7.egg You can see this error with the: [Errno 13] Permission denied Edit: If you don't have permissions, you can try installing into your user's Library folder, or look at virtualenv. (See the part about using locally from source.)

Categories : Python

C# in what order does the compiler search through the namespaces/binaries to find a variable name?
In the order they are specified. Using directives are effectively "dumb", in the sense that the compiler attempts to prepend each namespace you've added with using over unqualified types. If no fully qualified type matches, you get a not found error. If more than one matches, you get an ambiguous type error. From CLR Via C# 3rd edition (link is to the 4th edition): Using the C# using directive is entirely optional; you’re always welcome to type out the fully qualified name of a type if you prefer. The C# using directive instructs the compiler to try prepending different prefixes to a type name until a match is found.

Categories : C#

Can I check in unix binaries (compiled executable, libraries, etc) into PVCS
I doubt that PVCS would distinguish between binary and text files. Even if it did, it should support the notion of a binary file. PVCS apparently doesn't do merging (not as a built-in operation), so there really isn't much that it needs to do to "support" checking in of unix binaries. You may have problems dealing with the file permissions, however I would consider that to be a security feature - the files shouldn't be marked as executable unless you intend them to be executed, a deploy script would more than achieve this. That said. Semantically, it is problematic asking if it "supports" checking in of unix binaries: Can a system that happens to allow such files to be checked in be claimed to "support" those files if it provides no features that ease management of those specific files

Categories : Unix

Do node.js binaries exist for the ARMv7 hard-float processor architecture?
While I've not seen raw binaries for Node (I've used Nodesource's packages before), io.js provides binaries for armv7. Direct link to the io.js 1.4.3 armv7 release.

Categories : Python

Using heat.exe, enable gac only specific list of binaries dynamically read from a .txt file
Heat does not have the functionality to read a file to gather a list of files for harvesting. You'll need your build process to do this for you. One strategy you might try is to harvest 10 times, once per file. In a batch file, you can use the for command to execute heat for each line in your text file: for /f "delims=" %%F IN (filelist.txt) DO heat file "%%F" -ag -template:fragment -out "%%F.wxs" Then when you run candle, first concatenate all your filenames and pass them as an argument to candle: for /f "delims=" %%F IN (filelist.txt) DO set FILELIST=%FILELIST% "%%F.wxs" candle ... normalfile1.wxs normalfile2.wxs %FILELIST% ...

Categories : Xslt

Checking and Installing .net 4.0 before while installing my forms app in SharpSetup WIX
You can check if the .NET framework is installed by linking to the NetFxExtension with light. Just add a PropertyRef to the one you want. You can find a list of those properties here. Say you want to make sure .NET framework 4.0 Full is present before installing your software, you'd add this somewhere in your source code: <PropertyRef Id="NETFRAMEWORK40FULL" /> <Condition Message=".NET Framework 4.0 Full is not installed."> NETFRAMEWORK40FULL </Condition> When running the MSI, the LaunchConditions action will run and check if the NETFRAMEWORK40FULL property is set. If it is, the installation continues, if not, the installation fails. However, if you wanted to install the .NET Framework beforehand, you'll need two WiX projects. One for your basic MSI, and one for

Categories : Dotnet



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.