PDA

View Full Version : "Vista" shortcuts?



NewsArchive
03-13-2007, 05:57 AM
In having SB6 create a shortcut, is there a way of specifying some of the
new Vista parameters? i.e.,

Run as administrator
Run this program in compatibility mode for:xxxx (I realize there's some
weird interaction between this setting on a shortcut and on the program
file's actual properties page.)
Settings: (colors, visual themes, etc.)(also actually sets elements on
program properties sheet).

Not a big deal, just wondering...?

Jane

PS. Is there NO END to this mess????? { : rolleyes: )

NewsArchive
03-13-2007, 05:57 AM
Hi Jane,

<G>

As far as I know, there is no way to "preset" all these settings in a
Shortcut.

For example, "Run as administrator": you have to use the Vista-aware
manifest here in your application.

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-13-2007, 05:57 AM
Actually, there are TWO 'run as administrator' settings. PLUS what's in the manifest.

This program has an "asinvoker" manifest.
On the 'compatability' tab, there's one instance of run-as-admin.
This actually changes the setting on the 'compatability' tab on the program itself, and thus for any shortcuts referencing the program.


This separate checkbox just sets administrator for this specific shortcut: This one I think SB might be able to address.



Here I've recompiled my test program using a "requireAdministrator" manifest.
The 'compatability' checkbox does NOT show checked:


And yes, the manifest is correct, as running the program now brings up the Secure Desktop thingy. (Sorry, haven't figured out yet how to get a real screen capture of this... have you?)

NewsArchive
03-13-2007, 05:57 AM
Hi Jane,

Interesting. I'll try to find out why there are TWO "run as administrator"
settings.

I checked the Shortcut APIs but don't see any improvements here. So I think
we cannot set it. But I am not 100% sure...

I'll check this.

Friedrich