UAC Shields Odd Behavior

I have included manifest 'AsInvoker' in my application and the UAC Shield thankfully vanished.

problem:Yesterday at one customers place (Windows 2008 Server) again the Shied appeared.
After much attempts I renamed the folder and the Shield disappeared. My application does not have the word 'Setup or Update' in it. Even if I prefixed '1' to the name the shield disappears. Odd behavior, any explanations ?



Non compliant post deleted.

Gerwin Jansen
EE Topic Advisor



Non compliant post deleted.

Gerwin Jansen
EE Topic Advisor



My apologies - I'll provide the content directly rather than linking to another site.

Does the shield appear on the application EXE immediately after installing it (if it has an installer - you might just be extracting a zip file) or does some other action get taken first that might only be occurring on this server? You mention that renaming the EXE causes the shield to disappear (and I assume the application then runs without prompting), but just to be clear, it also disappears when you rename the folder and not the EXE file? If there was an attached manifest that specified that it needed elevation, I'd expect the behavior to change when you rename the EXE, but renaming the folder should keep everything intact.

The TechNet article on UAC mentions that the following things can trigger a UAC prompt (search the page for "Installer Detection Technology" to find the section with these, and some other, details):

• Filename includes keywords like "install," "setup," "update," etc.
• Keywords in the following Versioning Resource fields: Vendor, Company Name, Product Name, File Description, Original Filename, Internal Name, and Export Name.
• Keywords in the side-by-side manifest embedded in the executable.
• Keywords in specific StringTable entries linked in the executable.
• Key attributes in the RC data linked in the executable.
• Targeted sequences of bytes within the executable.



Unfortunately, it's vague on details (like a list of keywords) but instead cryptically notes that "The keywords and sequences of bytes were derived from common characteristics observed from various installer technologies". If you can provide the name of your EXE (before you rename it), somebody might be able to identify exactly what's triggering the UAC request.



Sorry about the delay.

My folder contains few exe's like Staller.exe and also Snap.exe which behave fine ie: no UAC Shield . Problem is with DSafeReplicator.exe and DSafeClient.exe (has sockets, updates registry) show shield. If I rename to DSafeClient1.exe / DSafeReplicator - Copy.exe there is no Shied. This means nothing to do with exe contents. Yes Manifest is there with respective Exe name and 'AsInvoker'. I know it sounds crazy. Now I have renamed base folder to sDSafe instead of DSafe and all is fine despite the file names being DSafeReplicator.exe and DSafeClient.exe .

>> Does the shield appear on the application EXE immediately
The Shield appears immediately though I do not know about first installation.
Also I have my own installation program with SFX zip that I open in the temp area and then move it to user selected location.

Thanks



Just closing



Share this

Related Posts

There was an error in this gadget