PDA

View Full Version : Embeb UAC Manifest



Unregistered
01-06-2010, 07:51 PM
Do you have an example on how to use this function?

I keep getting errorcode 50 whatever that may be

linder
01-07-2010, 03:09 AM
Hello,

See attached screenshots. The Line 23 will embed a Win7-aware (fully backward compatible) manifest into the application. After that, the application is code-signed in Line 24.

Does this help?

Friedrich

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

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

Tim Frost
01-07-2010, 08:54 AM
What is the [SB_6POOL] for? I assume it is a variable but what is it use?

Can you install on a WIN7 without obtaining a code signing certificate?

linder
01-07-2010, 09:07 AM
Tim,

[SB_6POOL] is a custom compiler variable and points to our server were all the files are located.

For example, [SB_6POOL] is set to \\Win7-64\corpdata in our case and resolved to \\Win7-64\corpdata\sb7.exe at compile time. We do this to have "portable" projects. You can also hardcode your path here, e.g. c:\test\sb7.exe or whetever.

Yes, in most cases, you can install on a WIN7 machine without code-signing your install (and application) files. But it is not recommended. Your customers will see an "Unknown Publisher" UAC popup.

And it's even possible that your installer can't be executed at all. An elevated application (e.g. installer) can't be started if the UAC-aware operating system (Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2) has the "User Account Control: Only elevate executables that are signed and validated" security policy enabled and the installer is not code-signed.

So in fact, a code-signing certificate is a must have today.

Does this help?

Friedrich