Click here to Skip to main content

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Why care about descriptive names? PinmemberJacek Gajek16-Oct-13 22:03 
GeneralRe: Why care about descriptive names? PinmemberArgonia16-Oct-13 23:28 
GeneralRe: Why care about descriptive names? PinprofessionalNicholas Marty17-Oct-13 4:30 
GeneralRe: Why care about descriptive names? Pinmemberphil.o18-Oct-13 4:12 
GeneralRe: Why care about descriptive names? PinmemberJacek Gajek19-Oct-13 5:18 
GeneralHad a Boss Pinprofessionalmichaelbarb14-Nov-13 8:58 
GeneralExecutable that requires elevation PinmvpMichael Haephrati15-Oct-13 11:21 
GeneralRe: Executable that requires elevation PinprofessionalRichard Deeming15-Oct-13 12:11 
I'm not sure if there's a complete list anywhere, but the heuristics are documented on MSDN:
Installer Detection only applies to:
  • 32 bit executables
  • Applications without a requestedExecutionLevel
  • Interactive processes running as a Standard User with LUA enabled
Before a 32 bit process is created, the following attributes are checked to determine whether it is an installer:
  • 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.
Note The keywords and sequences of bytes were derived from common characteristics observed from various installer technologies.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Executable that requires elevation PinmvpMichael Haephrati15-Oct-13 12:40 
GeneralRe: Executable that requires elevation PinmemberRage15-Oct-13 22:56 
GeneralRe: Executable that requires elevation PinmvpDave Kreskowiak16-Oct-13 1:30 
GeneralRe: Executable that requires elevation PinprofessionalRichard Deeming16-Oct-13 1:45 
GeneralRe: Executable that requires elevation PinmemberDan Neely18-Oct-13 7:14 
GeneralRe: Executable that requires elevation PinprofessionalCIDev18-Oct-13 8:27 
GeneralRe: Executable that requires elevation PinprofessionalCIDev18-Oct-13 8:25 
GeneralRe: Executable that requires elevation PinmemberRob Grainger23-Oct-13 0:55 
GeneralRe: Executable that requires elevation PinprofessionalBernhard Hiller15-Oct-13 20:19 
GeneralWhats wrong with this code??? PinmemberAnkush Bansal14-Oct-13 20:50 
GeneralRe: Whats wrong with this code??? Pinprofessionalvonb14-Oct-13 20:55 
GeneralRe: Whats wrong with this code??? PinmemberAnkush Bansal14-Oct-13 21:13 
GeneralRe: Whats wrong with this code??? PinprofessionalBernhard Hiller14-Oct-13 21:07 
GeneralRe: Whats wrong with this code??? PinmemberAnkush Bansal14-Oct-13 21:15 
GeneralRe: Whats wrong with this code??? PinprotectorOriginalGriff14-Oct-13 22:22 
GeneralRe: Whats wrong with this code??? PinmemberAnkush Bansal14-Oct-13 23:01 
GeneralRe: Whats wrong with this code??? PinprotectorOriginalGriff14-Oct-13 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140718.1 | Last Updated 22 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid