manifest

Working with Visual Studios C++ manifest files

I have written some code that makes use of an open source library to do some of the heavy lifting. This work was done in linux, with unit tests and cmake to help with porting it to windows. There is a requirement to have it run on both platforms. I like Linux and I like cmake and I like that I can get visual studios files automatically ...

Producing executable jar in NetBeans

I'm using NetBeans 6.5 and for some reason it won't produce executable jar "out of the box". I set my project to be the main project, defined main class in the project properties "run" menu and it works flawlessly when I press F6 to run it. I looked at the manifest file and it indeed didn't define the main class there, and also omitted...

Command line tool to dump Windows DLL version?

I need a command line tool to dump standard Windows DLL version info so I can process it by means of a bash script (Cygwin). As a Java developer I am not very used to Microsoft development tools (though I have a little bit of experience with Microsoft Visual Embedded C++ 4.0 and Microsoft Visual Basic 6.0). The appropriate tool seems t...

How do I read the manifest file for a webapp running in apache tomcat?

I have a webapp which contains a manifest file, in which I write the current version of my application during an ant build task. The manifest file is created correctly, but when I try to read it in during runtime, I get some strange side-effects. My code for reading in the manifest is something like this: InputStream manifestStrea...

Deploying CAS policies in Sharepoint using the solution framework

Hi, I'm deploying my web parts using the sharepoint solution mechanism. Untul now, everything worked fine, but when i added CAS policies to the manifest.xml file, the deployment doesn't work as it should. When deploying the solution with the CAS policies, there are no errors, but the policy file isn't created, the dll isn't copied, an...

Visual Studio 2005 - C++ - What controls the manifest creation

I was trying to figure out why a debug build was blowing up with the "dependent assembly microsoft.vc80.debugcrt could not be found" event error. After deleting everything (anything not .cpp or .h) and recreating the solution - I still had the problem. A google search was fruitless and a re-install of VS didn't produce any change. I d...

Set app to require elevation?

I'm working on the bootstrap application of a new installer for some of our products. So far, I've been relying on two things that I read about somewhere: Applications whose name contains "setup" or "install" will run elevated by default. Applications that run elevated will launch other applications in elevated mode. Recent testing h...

Diagnosing Windows application manifests

Windows application manifests have a very loose grammar — unrecognized parts are ignored. How can I diagnose which parts are recognized and which are not? The problem leading to this question is with an application that has a side-by-side UAC manifest with a requestedExecutionLevel of highestAvailable specified. This should switch Vista...

Is there a way to specify inside visual studio 2008 that an application requires admin?

I see plenty of articles on how to embed a manifest file to require admin, but the problem I find with that is we auto-increment the version number number, so a static manifest file doesn't seem like it'd work because we'd have to update the version number each time. Is there any way to get VS to generate the manifest and embed it autom...

Does .NET support Windows Eventing 6.0 ?

I want to use the Windows Eventing 6 API from a C# application to log messages to a specific channel in Windows Server 2008 event log. There is a good example on how to use it but it's only C++. In the example it's mentioned that .NET doesn't support Windows Eventing 6. There are 2 examples in http://msdn.microsoft.com/en-us/magazine/cc1...

application couldn't be initialized error (manifest file problem)

Hi there. I am trying to use a library (.dll) in my project. Everything seems to be set up fine. It all works in release mode. When I go debug on it, I get this darn error on startup: ldr: ... application couldn't be initialized error (or similar, I translated it) I learned that this has to do with manifest files. I fumbled around a ...

How can In verify that my .Manifest file is valid?

I'm converting a VB6 app to use a Manifest for Reg Free deployment. I created a manifest with Make My Manifest but when I run the app I get an error (below). I want to make sure that my manifest isn't somehow invalid. (I opened it up and it looks Ok except for some unprintable characters, which seems odd for an XML format file. **----...

Generate manifest class-path from <classpath> in ant

In the build file below, the jar target refers to the jar.class.path property for the manifest class-path. The compile target refers to project.class.path There is redundancy here, because jar.class.path and project.class.path are very similar. They must be both updated when libraries are added, which can be a pain if the list of libra...

Qt DLL deployment on Windows

Hello, I have a Plug-in for an application from another company. My plug-in uses Qt so it needs the Qt DLLs. My problem is that all versions of 4.x Qt Dlls are called the same, e.g. :QtCore4.dll. It is quite possible that some other plugin, or another application which inserted itself into the PATH environment variable, has put Qt dlls ...

Using Manifest Files in UIWebView

I'm building an application for the iPhone/iPod Touch using a UIWebView object. Manifest files seem like an excellent way to do this, and I have gotten our app to load successfully offline in Safari using this technique. My problem is that once I move into my application, I can't get the manifest files to work offline in my UIWebView o...

"Activation context generation failed" complaint trying to add an application manifest

I'm trying to add an application manifest that requires elevation to my .NET 2.0 EXE. I've done that for a simple EXE and it worked without any problems, but on this more complex EXE it's not working. My EXE has a config file and a lot of dependencies of other DLLs in my solution. When I start the EXE, I get a SideBySide error saying "...

How do I add an Implementation-Version value to a jar manifest using Maven?

I'd like to add an Implementation-Version line to a manifest in my jar file that reflects the POM version number. I can't for the life of me work out how to do this using the jar plugin. Is this possible? ...

How do I add an Implementation-Version value to a jar manifest using Maven's assembly plugin?

I'd like to add an Implementation-Version line to a manifest in my jar file that reflects the POM version number, using the maven assembly plugin. Note that this is similar but different to another of my recent questions about the jar plugin. ...

Strong name, Manifest, and Code Signing

What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't look like it worked (==> Vista still trying to run the app with elevated privileges resulting in a prompt, though I set the requestedexecution...

Java reflection and manifest file in jar

Hi all, I would like to (and I don't know if it's possible) do something if jarA is in my classpath and do something else if jarB is in my classpath. I am NOT going to be specifying these jars in the Netbeans project library references because I don't know which of the jars will be used. Now including the jar in my Netbeans project li...