Resourcen-Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > RES. - EXE-Resourcen managen >

Resourcen-Commands

RES.Extract Manifest

Previous Top Next


MiniRobotLanguage (MRL)

 

RES.Extract Manifest

Extract Manifest-Resources from a given EXE- or DLL-File

 

 

Intention

 

This command is extract Manifest-Resources from an EXE- or DLL-File.

These Resources will be stored in Folders with the name of the country code, in a given path.

 

Here is a Sample-Script.

 
 ' This is the path to the Source-File to be extracted

   VAR.$$FIA=?path\EXEs\Hello.exe

  ' The second Parameter is the Path to the root of all "Target Folders".

 RES.Extract Manifest|$$FIA|?path\

MBX.$tos$

  ' To analyze the Manifest in the Script, you can use

RES.Last Manifest|$$TXT

VAR.$$TXA=$tos$

   ' The Manifest is now in $$TXA

MBX.$$TXA   

ENR.

 

 This Script will display fist this Messagebox with the path to the ".Xml"-File.:

 

Extrtact_Manifest_06

 

 
   Secondly it will display a Messagebox with the Content of the ".Xml"-file.
   The following picture shows only a part.

 

  Extract_MF_07

 

 

This Script will create these folder with the name of the LanguageID of the Manifest-Resource in ?path\.
 

F409

 

Inside that Folder you will find the extracted Manifest as a ".XML"-File.
 

Extract_Manifest_03

 

 

You can Load XML-Files with SPRE, just change the Filter to "XML-Files":

 

Load_XML_01

 

 

This may look somehow like here:
 

Load_XML_02

 

You can also open XML-Files with some advanced Text-Editor Programs. Here "Notepad++".

 

Extract_Manifest_05

 

Another Option is the "XML-Notepad".

 

XML-Editor

 

 

 

 

 

 

Syntax

 

RES.Extract Manifest|P1|P2

RES.EM|P1|P2
 

Parameter Explanation

 
P1 - Path of EXE-File or DLL-File

P2 - Path of Target-Folder

 

 

 

Example

 

'**********************************************

'#EXE:?path\

'#SPI:ForceWrite

' The following files will be inserted into the Executable.

'#INC:?path\EXEs\Hello.exe

  ' This is the path to the Source-File to be extracted

   VAR.$$FIA=?path\EXEs\Hello.exe

  ' The second Parameter is the Path to the root of all "Target Folders".

 RES.Extract Manifest|$$FIA|?path\

MBX.$tos$

' To analyze the Manifest in the Script, you can use

RES.Last Manifest|$$TXT

VAR.$$TXA=$tos$

' The Manifest is now in $$TXA

MBX.$$TXA   

ENR

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also:

 

! Ressourcen Commands

RES. - Manage Resources

  RES.Refresh Explorer

  RES.Change Icon

  RES.Change Manifest

  RES.Change Version

  RES.Extract All

  RES.Extract Icon

  RES.Extract Version

RES.Last Icon

  RES.Last Manifest

  RES.Last Version