manifest

How do I add a manifest to an executable using mt.exe?

I'm trying to use mt.exe from the Windows SDK to add a manifest to an executable file that doesn't have one, using the following command line: C:\winsdk61>mt.exe -nologo -manifest "r:\shared\hl.exe.manifest" -updateresource:"r:\shared\hl33m.exe;#1" Unfortunately, when I do, I get this error: mt.exe : general error c101008c: Failed to...

How to force ClickOnce deployment url?

I'm having a bit of a hair-puller here. I'm publishing a VS 2008 application to a server, to be installed via ClickOnce. So far, so good. It installs just fine. Then I added in a ClickOnce update checker - one that uses ApplicationDeployment to handle checking for & applying updates. So far, so good. Then, on some of the machines it w...

UAC: Manifest file is ignored

One of my Executables writes some configuration into a XML file to C:\Program Files\MyApp\config.xml. It needs to run as Administrator on Vista / Server 2008, otherwise the OS won't let it write to that location. I included a manifest file named config.exe.manifest, to automatically request administration rights at launch. Here's my ma...

What is a manifest authoring warning ?

Anyone knows what this mean? Care to shed some light? Got this warning while compiling a MFC project in VS2005. ..\..\..\Shared\res\zenOn_common.manifest : manifest authoring warning 81010002: Unrecognized Element "requestedPrivileges" in namespace "urn:schemas-microsoft-com:asm.v3". ...

Manifest issue with IE and activeX application

hi all, I'm facing the following configuration: IE loads c++ activeX (LOADER application that loads c# COM ActiveX (EXECUTOR) that using reflection starts c# UI application (the main application) that uses some legacy c++ COM dlls. I'm trying to avoid registration of these legacy c++ COM (I want to use manifest). But with no success. ...

what is a manifest for?

In VisualStudio I have this option for my project to embed a manifest... I have never had to deal with this before and I am curious what it is for ... ...

Bin-deployed MVC app expects different manifest

This is seriously starting to bake my noodle. I've just built and deployed (via FTP) a vanilla ASP.Net MVC application (version 1.0.0.0), but have struck the following problem after deployment: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its de...

Not able to run my jar file on Windows

I have these files board.class and x4.class (x4.class has main() method). To jar these files, I wrote jar cf x4.jar *.class and got a x4.jar file. I copied this x4.jar file to my Desktop (on windows Vista) and double-clicked it. I am getting this error: Failed to load Main-Class manifest attribute from C:\Users\eSKay\Desktop...

Assembly Manifest loading error (.NET and C++ dlls)

My application (pure DotNET 2.0) is referencing another pure DotNET 2.0 dll which is PInvoking into an unmanaged (C++ 2005) dll. On some computers this works fine, on others there is a consistent error message: Could not load file or assembly 'C:\Program Files\Rhinoceros 4.0\Plug-ins\Grasshopper\rhcommon_c.dll' or one of its dependenci...

Program Compatibility Assistant thinks my app is an installer

I have created a .NET C# WinForms application on Win 7 RTM x64, which let's say I have called DataInstaller. When I run this program outside of the debugger (just an empty form with no functionality at the moment), it works fine until I close the form. I then get a message from the Program Compatibility Assistant that says: This progra...

Why do I get a duplicated entry in my Windows manifest?

The following manifest is added to my .exe.: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2"> <ms_asmv2:security> <ms_asmv2:requestedPrivileges> <ms_asmv2:requested...

How do I call a .NET windows app that has been installed from a publish?

If I publish two separate C# Windows forms apps to a server, and a user installs both of these apps on their machine, how would I get one app to call the other (possibly with parameters) from a button click? I don't really understand all this publish and manifest business - the exe doesn't seem to physically exist on the user's pc, so h...

Can I deploy my application without a manifest?

My program is a simple web scraper, should I deplot it with a manifest? When I right click the properties in the SOlution Explorer, I see the change icon option, and also the Manifest option. Can I just disable that by choosing: Create an application without a manifest. Should I disable it? ...

XBAP uses unmanaged c++ COM server, Side by side deployment issue

Hi I'm facing a the following situation: I created a simple full trust XBAP application that refers to unmanaged c++ COM server (isolated). After deployment I expect that XBAP application will discover the COM server dll that is placed in the same directory, but it is not. I'm getting the following error: Exception has been thrown by ...

Help: Change WPF application manifest?

Hello all! I posted a comment to Microsoft that the Dialog Boxes in WPF are not VisualStyle enabled. Joe Castro posted a workaround there which I don't really understand how to achieve, can anyone help? Here is he's response: For app compat reasons applications don't by default use v6 of the system common controls (available since XP...

Default arguments in JAR-manifest

Is there a way to create a JAR-file that contains some arguments that are passed to the main class? (It does not matter whether it prepends or appends the arguments to potential command line arguments.) I know I could simply write a bootstrapping class and specify this as main class (calling the real main class with the arguments), but ...

Android: making search available throughout the whole application

Right now I'm adding <intent-filter> <action android:name="android.intent.action.SEARCH" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> to every single <activity> in the AndroidManifest.xml, receive the Intent in e...

Win32: Suggestions for manifested app's testing vs deployment

Starting with Windows Vista, Microsoft added a class of compatibility shims that will allow an application that assumes it has administrative file and registry access to continue to function. In other words: An application that failed on Windows XP would run on Windows Vista. These OS provided bug-fixes can be disabled by adding a sec...

iPhone - HTML5's "cache manifest" Common to many webapps??

Sorry for the cryptic title. I would like to know if the cached files from one iPhone webapp using HTML5's manifest capability, can be made available to another webapp from same domain; as in shared libs of javascript code or common image logos. Anyone? Thanks, Greg ...

After VS2008 to VS2010 project upgrade getting "manifest signing certificate" error

I created a test project with VS2008 C# Express on computer 1 (Vista). I converted it to VS2010 C# Express on computer 2 (Windows 7). The converted project gives me this error: Unable to find manifest signing certificate in the certificate store. I've found articles about signing project certificates etc. but they are not that ...