Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Klatsch und Tratsch (https://www.delphipraxis.net/34-klatsch-und-tratsch/)
-   -   Programm unter Win7 richtig programmieren (https://www.delphipraxis.net/176664-programm-unter-win7-richtig-programmieren.html)

user0815 19. Sep 2013 10:06

Programm unter Win7 richtig programmieren
 
Hallo, ich habe hier ein älteres Programm, das installiert alles ins EXE Verzeichnis (C:\Program Files (x86)\Programmname).
Dort befinden sich LOG, INI + ... Dateien.

Wo finde ich einen Artikel, Beitrag darüber wie man es richtig macht. Ich möchte dem Anbieter der Software gerne diese Info zukommen lassen.

Danke
user0815

Union 19. Sep 2013 10:19

AW: Programm unter Win7 richtig programmieren
 
Der kann seine Anwendung zur Laufzeit mit dem ACT checken, das wirft alles raus was nicht den Konventionen entspricht.

Morphie 19. Sep 2013 10:26

AW: Programm unter Win7 richtig programmieren
 
Liste der Anhänge anzeigen (Anzahl: 1)
z.B. im "Windows 7 Client Software Logo Program":

Zitat:

Install to the correct folders by default

Users should have a consistent and secure experience with the default installation location of files, while maintaining the option to install an application to the location they choose. It is also necessary to store application data in the correct location to allow several people to use the same computer without corrupting or Windows provides specific locations in the file system to store programs and software components, shared application data, and application data specific to a user:

- Applications should be installed to the Program Files16 folder by default. User data or application data must never be stored in this location because of the security permissions configured for this folder

- All application data that must be shared among users on the computer should be stored within ProgramData

- All application data exclusive to a specific user and not to be shared with other users of the computer must be stored in Users\<username>\AppData

- Never write directly to the "Windows" directory and or subdirectories. Use the correct methods for installing files, such as fonts or drivers

- In “per-machine” installations, user data must be written at first run and not during the installation. This is because there is no correct user location to store data at time of installation. Attempts by an application to modify default association behaviors at a machine level after installation will be unsuccessful. Instead, defaults must be claimed on a per-user level, which prevents multiple users from overwriting each other's defaults.
Es gibt aber noch zig andere Quellen im Netz... Einfach mal googlen!

Bernhard Geyer 19. Sep 2013 10:59

AW: Programm unter Win7 richtig programmieren
 
Zitat:

Zitat von user0815 (Beitrag 1229075)
Hallo, ich habe hier ein älteres Programm, das installiert alles ins EXE Verzeichnis (C:\Program Files (x86)\Programmname).
Dort befinden sich LOG, INI + ... Dateien.

Wo finde ich einen Artikel, Beitrag darüber wie man es richtig macht. Ich möchte dem Anbieter der Software gerne diese Info zukommen lassen.

Ob das diesen Anbieter interessiert? Wer in 2013 noch nicht entsprechend sein Programm angepasst hat wird wohl sowas nicht interessieren und als Lösung entweder "Jeder normale User schaltet doch die UAC aus" oder "Installieren sie es halt nicht unter C:\Programme" auf Lager haben.

Ich würde mich eher nach alternative Hersteller umsehen.

OlafSt 19. Sep 2013 17:31

AW: Programm unter Win7 richtig programmieren
 
Die übliche Antwort bei den Herstellern solcher Programme: Als Administrator ausführen :?

Meist bringt es nicht viel, denen die Designrichtlinien zukommen zu lassen. Mit obigem Argument spart man sich die (womöglich tatsächlich) aufwändige Umbauerei. Ich persönlich habe schon ein paar meiner Programme angepaßt, da waren auch ein paar >200k-Zeiler dabei, und der Aufwand hielt sich in sehr engen Grenzen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:34 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz