manifest

Is it possible to modify assembly manifests other than by ILDASM/ILASM hacking?

这一生的挚爱 提交于 2019-12-04 13:38:36
We have a customer who have two .NET assemblies, A and B: Assembly A references assembly B. Assembly A is unsigned, not obfuscated, no source code is available. Assembly B is signed, not obfuscated, there is source code available. I want to modify assembly A and change the manifest so that instead of referencing a signed version of B, it references an unsigned version. I know it's possible using ILDASM to dump the IL, edit the references then recreate using ILASM, but is there a better way? It's seems that decompiling with ILDASM, editing the resulting IL and recompiling with ILASM was the

Simulating SideBySide for Out of Process ActiveX

怎甘沉沦 提交于 2019-12-04 13:09:00
We are adapting our client side relatively complicated application (ActiveX / .net / Delphi / C++ / COM ) to use SxS to achieve non admin deployment and isolation from older versions of our product. We were able to achieve this goal for almost all our in proc components such as our .net ui, Delphi ui, and the COM servers we use in proc by composing a manifest file which described all the libraries used by our process, with no registration on the client of any of the components (almost). And here comes the almost part: At the moment, our application invokes (from it's c++ portion) an out of

Using Java to read a .jar manifest file

ぃ、小莉子 提交于 2019-12-04 12:37:11
问题 so I am trying to see if a .jar is valid or not, by checking some values in the mainfest file. What is the best way to read and parse the file using java? I thought of using this command to extract the file jar -xvf anyjar.jar META-INF/MANIFEST.MF But can I just do something like: File manifest = Command.exec("jar -xvf anyjar.jar META-INF/MAINFEST.MF"); Then use some buffered reader or something to parse the lines of the file? Thanks for any help... 回答1: The problem with using the jar tool is

SugarCRM On-Demand Convert TextField to DropDown

一曲冷凌霜 提交于 2019-12-04 12:34:52
A similar question was posted here before but it only applied to an On-Site SugarCRM instance (it was also a long time ago). In my case I would like to change the "Billing Country" field from 'TextField' to 'DropDdown' on an On-Demand instance where I don't have access to the config files. How can I do this? So far I have tried different PHP files using the Module Loader but it's not working either. Please find my PHP script below: <?php $manifest = array( 'acceptable_sugar_flavors' => array('CE', 'PRO', 'CORP', 'ENT', 'ULT'), 'acceptable_sugar_versions' => array( 'exact_matches' => array(),

Application Cache Manifest + Local Storage Size Limit

北慕城南 提交于 2019-12-04 11:24:40
I'm building an application that might have heavy offline storage needs, and I was wondering if it's possible to use both an offline cache manifest (5MB) as well as localstorage (5MB) to be able to use 10MB of storage. Note that this is an intranet application, so we have control of the devices. I have tested this in Chrome, Firefox, Opera and Safari and all browser use for both technique a limit of 5 mb. So it's possible... Note: - The limit of localStorage and Offline Application Caching varies per browser. - IE doesn't support Offline Application Caching - In Opera and Safari you can store

Manifest being ignored in mingw app

一笑奈何 提交于 2019-12-04 10:11:22
I have an old-fashioned Windows GDI application, written in C, which is being compiled with the Mingw toolchain. Some of my users have been complaining about Windows Vista and Windows 7's Virtual Store, where files which are written to directories the app shouldn't have access to are siphoned off and stored elsewhere. They say it's confusing them, and they'd much rather have an error. According to Microsoft's documentation, the way to prevent this from happening is to add an application manifest. Unfortunately this doesn't seem to do anything. My manifest is: <?xml version="1.0" encoding="UTF

How to run Java .jar without MANIFEST.MF?

别说谁变了你拦得住时间么 提交于 2019-12-04 10:03:50
问题 Is it possible to run a Java app which doesn't contain MANIFEST.MF file? Of course, there's static main method,just lacks manifest file. And the app is depending on several external .jar files. If is this possible, how to do that? 回答1: It is possible, you can specify the class to run from the command line: java -cp yourJar.jar your.main.Class Same question here: How to run a class from Jar which is not the Main-Class in its Manifest file 回答2: You can also add the manifest, with the following

VB6 Manifest not working on Windows 7

隐身守侯 提交于 2019-12-04 10:03:38
I have created a manifest file for a VB6 application that is running on Windows 7 (not for any visual style changes, just to make sure it accesses the common registry and not a virtualised one) The exe name is Capadm40.exe, the manifest is named Capadm40.exe.manifest and contains the following: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="CompanyName.Capadm40" type="win32"/> <description>Administers the System</description> <!-- Identify the

Basic HTML5 caching

廉价感情. 提交于 2019-12-04 09:46:54
I am a little slow to the HTML5 caching, I have just some simple questions though. 1) How long is data in a caching manifest cached? 2) If I update the data, how can I make sure the client checks for a newer version when it is available, or is this already done? 3) Also, is this completely useless for a non-0mobile environment or can it speed up load times on a desktop? <html lang="en" manifest="offline.manifest"> offline.manifest CACHE MANIFEST index.html style.css image.jpg image-med.jpg image-small.jpg notre-dame.jpg 1) As long as the user cares to cache it. The only way to completely get

How to activate “disable display scaling on high dpi settings” programatically [duplicate]

。_饼干妹妹 提交于 2019-12-04 09:11:14
This question already has answers here : How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)? (5 answers) Closed 3 years ago . I am developing Windows form application using C# on Visual Studio 2010. I found that this application is scaled if I used high dpi display setting. But if I activate file property "disable display scaling on high dpi settings" by mouse right click menu on windows explorer, it seems that it is not scaled. Is there a way to activate "disable display scaling on high dpi settings" programatically on Visual Studion 2010 C# or upper