View Full Version : Error when adding manifest to program
NewsArchive
06-03-2007, 08:35 AM
Hi,
If I embed the Vista maniafest and then code-sign an application, the
application fails to start with this message (on an XP box):
"This program could not start because the configuration is wrong. If you
reinstall the program it may solve the problem" (translated from Danish).
What should I do to solve this (apart from NOT embedding Vista manifest) ?
Cheers,
Poul Jensen
NewsArchive
06-04-2007, 02:06 AM
Poul,
Make sure your "manifest-embedding" and "code-signing" functions do not have
the "Permanent" option enabled and you recompile the setup project without
recompiling your original application .exe first.
And of course, the following (can cause a reboot and application GPF)
http://support.microsoft.com/kb/921337
HTH,
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
06-04-2007, 02:07 AM
Hi Friedrich,
There is no "permanent" anywhere.
And no reboot/GPF either.
Cheers,
/Poul
NewsArchive
06-04-2007, 02:07 AM
Hi Poul,
Is this a Win32 or .NET application?
Or does it make use of the Visual C++ Libraries as Side-by-Side Shared
Assemblies? A first guess would be due to side by side (SxS) issues in your
app.
It's not caused by the SetupBuilder compiler (yeah, of course <g>).
HTH,
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
06-04-2007, 02:07 AM
Hi Friedrich,
I should have told up front that this is a Clarion app - C6 (6049), legacy,
compiled local.
Of course it is not caused by SB, but somehow it is triggered by SB adding
the manifest to the exe.
Cheers,
/Poul
NewsArchive
06-04-2007, 02:07 AM
Hi Poul,
This could be too obvious, but I'll ask, you have turned off the XP manifest
generation in Clarion, right?
If this is the case, to find out what causes this I would suggest to comment
out the #code-sign line and recompile and install/test. If the app still
fails, also comment out the #embed Vista manifest line and recompile and
install/test. If it now works correctly, I would suggest to use an external
Vista-aware manifest file (create it in your apps folder) and start your
application. Does it still fail?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.