PDA

View Full Version : Manifest embedding process failed



NewsArchive
03-29-2017, 02:40 AM
Hi All

Compiler error GEN1081: manifest embedding process failed. Error code:50

Any idea what this and how to resolve?

Cheers
Andre

NewsArchive
03-29-2017, 02:40 AM
> Compiler error GEN1081: manifest embedding process failed. Error code:50
>
> Any idea what this and how to resolve?

Hi Andre,

Make sure that Clarion is not already embedding a manifest in the EXE.

You can set the IDE to generate one to see the effect of a compile & run,
just make sure it is not linking it in when you compile the EXE.

Charles




--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
03-29-2017, 02:40 AM
Thanks Charles

That seems to be it. I am removing all manifest generate in the apps.

Cheers
Andre

NewsArchive
03-29-2017, 02:41 AM
Well, that worked for some files. I uncheck the Include default
application manifestation and uncheck generate manifest when compiling
the exe and SB still complains. Completely lost now. Anyone know how
to troubleshoot this?

Andre

NewsArchive
03-29-2017, 02:41 AM
Andre,

> Well, that worked for some files. I uncheck the Include default
> application manifestation and uncheck generate manifest when compiling
> the exe and SB still complains. Completely lost now. Anyone know how
> to troubleshoot this?

Check the solution, and folder, to see if it's still there and then
recompile the EXE for one that's clean.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://archive.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
03-29-2017, 02:43 AM
> Well, that worked for some files. I uncheck the Include default
> application manifestation and uncheck generate manifest when compiling
> the exe and SB still complains. Completely lost now. Anyone know how
> to troubleshoot this?

I take it that you are using Build Automator or some similar tool to copy
the EXE files to a staging folder, then you have SB creating the installers
from those files.

Make sure that all your source files for the installer are "fresh" after
you got rid of the ones with the embedded manifests.

You might need to delete the ones in your app build folder and force
Clarion to re-create others that do not have the manifest already embedded
in them.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
03-29-2017, 02:43 AM
> Andre,
>
>> Well, that worked for some files. I uncheck the Include default
>> application manifestation and uncheck generate manifest when compiling
>> the exe and SB still complains. Completely lost now. Anyone know how
>> to troubleshoot this?
>
> Check the solution, and folder, to see if it's still there and then
> recompile the EXE for one that's clean.
>

It is still there Lee - I delete it and build the app again and Clarion
complains that it is not there. I have removed it from the project file
as well. No idea what to do.

Andre Labuschagne

NewsArchive
03-29-2017, 02:44 AM
Andre,

> It is still there Lee - I delete it and build the app again and Clarion
> complains that it is not there. I have removed it from the project file
> as well. No idea what to do.

It's probably FB!<g>

Open the EXE in a hex editor like TextPad and search for the literal
string "manifest" as shown in the attached screen capture. The
manifest is linked in as it exists on the hard drive so you should be
able to find it. After that...

1) Delete the EXE in the application generation folder
2) Delete the MANIFEST in the application generation folder
3) Open the cwproj file and make sure it's not in there
4) Compile WITHOUT generation.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://archive.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
03-29-2017, 02:45 AM
SetupBuilder just uses a target folder. The file is being recreated.
If I delete the manifest file it keeps looking for it. I have removed
it from the project file as well. Seems to insist on a manifest file.

Andre Labuschagne

NewsArchive
03-29-2017, 02:46 AM
Found the problem - a seriously buggy Clarion IDE. Full of
inconsistencies. Instruction the IDE explicitly to not link the
manifest is ignored and the manifest resource is still included in the
project. Sometimes it removes it and sometimes it does not. I am
checking all apps now and explicitly removing it for those where the
checkbox do not link is not working.

Thanks for the help Lee and Charles - learnt another nuance and
something about manifests.

Andre