PDA

View Full Version : Digital Certificate Info



NewsArchive
12-22-2006, 09:24 AM
Hello all,

i would need to know if I use a digital certificate do I also need to embed
the manifest (as removing the XP one from the app removes the flat buttons I
had) ?

Thanks for the infos

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
12-22-2006, 09:24 AM
Hi Jean-Pierre,

We do the following to make sbuilder.exe "Vista-aware":

1. Turn off "Include Default XP Manifest" App Settings option in your
Clarion 6 Environment and recompile.

2. Add "#embed Vista manifest" to embed a Vista-aware manifest and specify
the minimum execution level required by your application for running on
Windows Vista platforms. We are using "asInvoker" in our SetupBuilder IDE
application because we have classified sbuilder.exe as Mixed User
Application - it can run as a Standard User or Administrator on Vista. BTW,
please leave the "Permanent" option unchecked (documentation is incorrect).

3. Add #code-sign application" to code-sign your application. Please leave
the "Permanent" option unchecked.

That's it ;-)

For example:

[ Initialize Setup ]
! --- Define commonly used constants ---
#include script "common definitions.sbi"

#embed Vista manifest "[SB6_POOL]\sbuilder.exe"
#code-sign application "[SB6_POOL]\sbuilder.exe"

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

NewsArchive
12-22-2006, 09:24 AM
Friedrich,

Which means I loose the XP manifest in the app and all buttons are not flat
etc ....

OR can I leave the XP manifest in all the dll's and only remove it from the
exe as after all it is the exe that is signed etc ?

Merci

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
12-22-2006, 09:25 AM
Hi Jean-Pierre,

Of course not ;-) But it's a good point. I'll add a note to the
documentation.

The Vista-aware manifest supports both XP and Vista! So you don't lose your
themed style!

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

NewsArchive
12-22-2006, 09:25 AM
Sorry to contradict you but the flat buttons are out of my app .... exe and
dll after removing the xp manifest from Clarion and using the SB one - which
is normal as after all SB add's manifest to the installer and not to the exe
and dll's - or again am I wrong there ?

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
12-22-2006, 09:25 AM
Hi Jean-Pierre,

We are using the same in our own sbuilder.exe. Do you see the themed style
in our SB6 IDE?

See my first post to your question. I posted the following SetupScript
snipped:

[ Initialize Setup ]
! --- Define commonly used constants ---
#include script "common definitions.sbi"

#embed Vista manifest "[SB6_POOL]\sbuilder.exe"
#code-sign application "[SB6_POOL]\sbuilder.exe"

Perhaps you did not use the above on your main application .exe? What we do
is to "embed Vista manifest" and "code-sign" the (Clarion) *application*,
not the installer. Please leave the "Permanent" option unchecked in both
functions because the documentation is incorrect.

Does this help?

Friedrich