mt.exe -manifest Test1.exe.manifest -outputresource:Test1.exe
I also tried adding the manifest using Resource Hacker, file size increases in size from 123 KB to 124 KB; however, when I execute
Test1.exe I get the following error: "Could not initialize installation. File size expected=168640121, size returned=126017"
How can I embed the manifest into an .exe created from Wise Script?
The information included in this knowledgebase article is for illustration only, and is provided as is without warranty or claim of usability by Symantec Corporation. If you use the information in this knowledgebase article, you do so at your own risk, and without expectation of support by Symantec.
Use resource hacker (http://www.angusj.com/resourcehacker/ ) in the following manner:
Now anything compiled with Wise Script Editor now has the MyApp.exe.MANIFEST embedded into the .exe.Note: Changing stub32.exe is performed at the user's own risk and cannot be supported.