exe przywileje jako admin w vista inna ikonka

0

Skąd windows vista wie żeby jakiś plik urucomić jako administrator ? że jest zmieniona ikonka tego pliku...niek oniecznie z nazwą setup.exe ale czasem też inne pliki mają ikonki z taką tarczą z 4 kolorami...jest jakiś znacznik w pliku czy co ?

0

Po manifeście. A jak go nie ma, to po nazwie pliku (setup, install itd).

0

nie chyba bo jak zmieniam nazwe jakiegoś exeka na setup.exe to tak się nie robi....a czasem nawet tej ikonki nie ma ale jak urruchamiam pojawia się oknodo wpsianai haśła admina tak jak w linuchu

0

To dodaj manifest.

Tutaj jak go dodać: http://msdn.microsoft.com/en-us/library/bb756929.aspx

In Windows Vista, if an executable file requires elevation to launch, then the executable's icon should be “stamped” with a shield icon to indicate this fact. The executable's application manifest must designate a requestedExecutionLevel of requireAdministrator to designate the executable as requiring a full administrator access token. The shield icon overlay will also be automatically placed on executables that are deemed to require elevation, as per the installer detection heuristics. For example, a file named setup.exe will automatically receive a shield icon overlay, even if the executable does not have an embedded application manifest.

1 użytkowników online, w tym zalogowanych: 0, gości: 1