Bayesean Blog - Desktop, Mobile and IOT Developer Blog


Updating Applications Manifest using Delphi

Posted on 19th Jun 2017 in Delphi < XE4


manifestmaker.png

If you are using the latest IDE (Integrated Development Environment) then you will not have to use this option as the manifest is already up-to-date.

However if you are using an older IDE, you will quickly discover that a much needed up-to-date manifest is needed to ensure that your Application will target the latest Windows platform.

Here is a small Delphi Application that I wrote which including source for creating / comparing manifests and a Windows 10 targeted custom manifest template. It also allows for extracting any manifest from any .exe Windows application.

extractmanifest.png

This will show the manifest for the File.

 

basemanifest.png

  Opening the Custom Manifest includes full support for Windows 10 and is backwards compatible.

Refer to MICROSOFT for more information on more information about the  manifest requirements or checkout the embarcadero docwiki for more info. 

 windows10manifest.png

The base manifest allows for custom addition of XML and is the manifest that tends to ship with the older IDE’s.

Save this manifest into your project area and it will automatically select a .manifest extension. Use a name that you will be able to identify.

How to Use the Manifest

Load your manifest into a XE3 IDE requires you to open Project Options.  In the Application section, select Custom Manifest from the drop down. Then load the manifest from your path. This will be included in your Application exe when it is compiled.

manifestxe3.png

You can download the Application Binaries and Source for both X86 and X64 Windows versions.

 

Download Code

 

Happy Coding 


Reg      Commented   3 years ago Reply

I found in Stack Overflow that they use a foreach statement to pull the data. Your method is different. Which is the best method?

Admin      Replied    Moderator   3 years agoReply


Yes I am aware of the Stack Overflow method suggested. The problem is that we are dealing with server side and client side script. The foreach method updates the Client on every call. So if you has 500 rows of data, then you will be persistently updating the client 500 times and as it is a single threaded call, the client will simply stop working until the process is complete. Loading the data into Json in the Server creates a lightweight data object. This is only sent once to the client and the Json object (string) is quickly unpacked in the client allowing a quicker response. I hope that this clears up your concerns.

Add a Comment

9+5

Recent News

Delphi Delimited String to Fields
Delphi A Professional VCL DBGrid Part Four
Delphi A Professional VCL DBGrid Part Three
Delphi A Professional VCL DBGrid Part Two
Delphi A Professional VCL DBGrid Part One
Delphi VCL Buttons in DBGrid
Two Helper Apps for Delphi LibUSB
Delphi Libusb Library Introduction

Categories

Bootstrap 4
Delphi VCL
Delphi FMX
Ajax
Bootstrap 3
CSS
XE4>Delphi > XE4
Delphi < XE4
PHP

Archives

August 2019

Delphi Delimited String to Fields

June 2019

Delphi A Professional VCL DBGrid Part Four

May 2019

Delphi A Professional VCL DBGrid Part Three

April 2019

Delphi A Professional VCL DBGrid Part Two

March 2019

Delphi A Professional VCL DBGrid Part One

November 2018

Delphi VCL Buttons in DBGrid

October 2018

Two Helper Apps for Delphi LibUSB

September 2018

Delphi Libusb Library Introduction

August 2018

Delphi Object directly to a Json string in a REST Client
Delphi using Environment Variables in your App

July 2018

Delphi FMX Leaflet Plotter using OSM Maps

June 2018

C2PAS32 Convertor Application
C to Delphi Open Source Convertors Shootout
Delphi command-line programs with DOSCommand

May 2018

Delphi PDF Embedded viewer with PDF.js

March 2018

Delphi FMX - Changing TCharacter to TCharHelper
Make Your Delphi App POP using Javascript!

January 2018

Delphi FMX Dashboard using Chart.JS
Delphi FMX Form Docking

December 2017

PHP Slim REST Server & Delphi Auth Part 5

November 2017

Delphi FMX REST Client App Part 4

October 2017

Delphi VCL REST Pricing Client App Part 3

September 2017

Delphi REST VCL Client Basic Auth Part 2B

August 2017

Delphi REST Client Part 2A
PHP PDO REST Server Part 1

July 2017

PHP REST Server and Delphi Client Intro

June 2017

Delphi SQLite Encryptor-Decryptor Tool
Updating Applications Manifest using Delphi

May 2017

Create a Visual IP Address Geolocation with PHP

March 2017

PHP Downloader using Countdown timer
PHP File Downloader from a Inbox Selection

February 2017

Javascript Image-File Uploader with ThumbViewer

January 2017

Morris Charts and PHP-PDO

December 2016

CSS to create a functional Toggle Button