mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
[SYSSETUP]
- Store the administrator account name as the default user name. - Extend the maximum password length to 127 characters. CORE-7762 #resolve svn path=/trunk/; revision=62577
This commit is contained in:
parent
2101c5afd7
commit
79ca3bfc7f
26 changed files with 257 additions and 35 deletions
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Настройката ще създаде потребителска сметка, под името „Administrator“. Можете да използвате тази сметка, за да получите пълен достъп до компютъра.", IDC_STATIC, 45, 57, 250, 25
|
||||
LTEXT "Напишете парола за „Administrator“, не по- дълга от 14 знака.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Напишете парола за „Administrator“, не по- дълга от 127 знака.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Парола за „Administrator“:", IDC_STATIC, 45, 104, 95, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "По&твърдете паролата:", IDC_STATIC, 45, 123, 95, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Грешка при DllInstall: "
|
||||
IDS_TIMEOUT "Просрочване на рагистрирането"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -52,7 +52,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Instalátor vytvoří uživatelský účet nazvaný Administrator. Můžete tento účet použít, pokud budete potřebovat úplný přístup k Vašemu počítači.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Zadejte heslo účtu Administrator o délce 14 znaků nebo méně.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Zadejte heslo účtu Administrator o délce 127 znaků nebo méně.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Heslo:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Potvrdit heslo:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -154,6 +154,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall failed: "
|
||||
IDS_TIMEOUT "Vypršel časový limit registrace"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Das Setup wird ein Administratorkonto erstellen. Benutzen Sie es, wenn Sie vollen Zugriff auf Ihren Computer benötigen.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Geben Sie ein Passwort für das Administratorkonto mit max. 14 Zeichen ein.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Geben Sie ein Passwort für das Administratorkonto mit max. 127 Zeichen ein.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Administratorpasswort:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Passwort bestätigen:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall fehlgeschlagen: "
|
||||
IDS_TIMEOUT "Zeitüberschreitung während der Registrierung"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Η εγκατάσταση θα δημιουργήσει ένα λογαριαρισμό διαχειριστή στον υπολογιστή σας με το όνομα Administrator. Με το λογιαριασμό διαχειριστή μπορείτε να αποκτήσετε τον πλήρη έλεγχο του υπολογιστή.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Εισάγετε παρακάτω τον κωδικό πρόσβασης διαχειριστή ο οποίος δεν πρέπει να ξεπερνά τους 14 χαρακτήρες.", IDC_STATIC, 54, 83, 250, 16
|
||||
LTEXT "Εισάγετε παρακάτω τον κωδικό πρόσβασης διαχειριστή ο οποίος δεν πρέπει να ξεπερνά τους 127 χαρακτήρες.", IDC_STATIC, 54, 83, 250, 16
|
||||
LTEXT "&Κωδικός πρόσβασης:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Επιβεβαίωση κωδικού:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Το DllInstall απέτυχε: "
|
||||
IDS_TIMEOUT "Λήξη χρόνου καταχώρησης"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -65,7 +65,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Setup will create a user account on your computer called Administrator. You can use this account if you need full access to your computer.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Type an Administrator Password that is 14 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Type an Administrator Password that is 127 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Administrator Password:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfirm Password:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -167,6 +167,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall failed: "
|
||||
IDS_TIMEOUT "Timeout during registration"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "El instalador creará un perfil de usuario en su equipo llamado Administrator. Puede utilizar este perfil si necesita acceso completo a su equipo.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Escriba una contraseña para este perfil de 14 caracteres o menos.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Escriba una contraseña para este perfil de 127 caracteres o menos.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Contraseña &Administrator:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfirme contraseña:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall falló: "
|
||||
IDS_TIMEOUT "Tiempo agotado durante la instalación"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Arvuti täielikuks haldamiseks luuakse administraatori konto (Administrator). ", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Sisesta administraatori parool, mille pikkus on maksimaalselt 14 tähemärki.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Sisesta administraatori parool, mille pikkus on maksimaalselt 127 tähemärki.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "A&dministraatori parool:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Kinnita parool:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall ebaõnnestus: "
|
||||
IDS_TIMEOUT "Aeg sai registreerimise käigus otsa"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "L'assistant va créer un compte utilisateur sur votre ordinateur appelé Administrateur. Vous pourrez utiliser ce compte pour avoir un accès complet à votre ordinateur.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Entrez le mot de passe Administrateur (14 caractères ou moins).", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Entrez le mot de passe Administrateur (127 caractères ou moins).", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Mot de passe :", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "Confirmation :", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Échec de DllInstall : "
|
||||
IDS_TIMEOUT "Délai dépassé lors de l'enregistrement"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Setup will create a user account on your computer called Administrator. You can use this account if you need full access to your computer.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Type an Administrator Password that is 14 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Type an Administrator Password that is 127 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "סיסמת מנהל:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "אישור סיסמה:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall נכשל: "
|
||||
IDS_TIMEOUT "Timeout during registration"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "A telepítõ létrehoz egy felhasználói fiókot, a Rendszergazdát. Ezzel a fiókkal teljes jogod van a számítógéped felett.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Adj meg egy jelszót, ami nem több mint 14 karakter.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Adj meg egy jelszót, ami nem több mint 127 karakter.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Jelszó:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Megerõsítés:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall hiba: "
|
||||
IDS_TIMEOUT "A regisztráció túllépte az idõkorlátot"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Setup will create a user account on your computer called Administrator. You can use this account if you need full access to your computer.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Type an Administrator Password that is 14 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Type an Administrator Password that is 127 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Administrator Password:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfirm Password:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall gagal: "
|
||||
IDS_TIMEOUT "Kehabisan waktu selama registrasi"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 140, 35, 160, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Questa procedura creerà su questo computer un account utente chiamato Administrator. Si potrà usare questo account se si necessita l'accesso completo al computer.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Scrivere una password per Administrator che sia lunga al massimo 14 caratteri.", IDC_STATIC, 26, 87, 280, 8
|
||||
LTEXT "Scrivere una password per Administrator che sia lunga al massimo 127 caratteri.", IDC_STATIC, 26, 87, 280, 8
|
||||
LTEXT "Password per &Administrator:", IDC_STATIC, 29, 105, 95, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 140, 100, 160, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfermare la password:", IDC_STATIC, 29, 125, 95, 8
|
||||
|
@ -148,6 +148,13 @@ IDS_REACTOS_SETUP "Installazione di ReactOS"
|
|||
IDS_DLLINSTALL_FAILED "DllInstall fallito: "
|
||||
IDS_TIMEOUT "Tempo scaduto durante la registrazione"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Administratorと呼ばれるユーザーアカウントを作成します。 コンピュータにフルアクセスが必要なとき、このアカウントを使用します。", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Administratorのパスワードを半角 14 文字以内で入力してください。", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Administratorのパスワードを半角 127 文字以内で入力してください。", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Administrator のパスワード(&A):", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "パスワードの確認入力(&O):", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstallに失敗: "
|
||||
IDS_TIMEOUT "登録中にタイムアウトしました"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Setup will create a user account on your computer called Administrator. You can use this account if you need full access to your computer.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Type an Administrator Password that is 14 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Type an Administrator Password that is 127 characters or less.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Administrator Password:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfirm Password:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall failed: "
|
||||
IDS_TIMEOUT "Timeout during registration"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Installasjonen vil lage en brukerkonto som blir kalt Administrator. Du kan bruke denne kontoen hvis du trenger full adgang til din datamaskin.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Skriv inn et Administrator passord som er 14 karakterer eller mindre.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Skriv inn et Administrator passord som er 127 karakterer eller mindre.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Administrator passord:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "B&ekreft passord:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall feilet: "
|
||||
IDS_TIMEOUT "Tidsavbrudd under registrering"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Program konfiguracyjny stworzy konto Administrator. Dzięki niemu uzyskasz, w razie potrzeby, pełny dostęp do systemu.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Podaj hasło administratora, nie dłuższe niż 14 znaków.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Podaj hasło administratora, nie dłuższe niż 127 znaków.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Hasło administratora:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Potwierdzenie hasła:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Nieudane DllInstall: "
|
||||
IDS_TIMEOUT "Upłynął czas rejestracji"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "A instalação vai criar uma conta no seu computador chamada Administrator. Você pode usar esta conta se precisar de acesso total ao seu computador.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Digite uma senha para o administrador com 14 caracteres ou menos.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Digite uma senha para o administrador com 127 caracteres ou menos.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Senha do &Administrador:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "C&onfirma Senha:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall falhou: "
|
||||
IDS_TIMEOUT "Tempo limite esgotado durante registro"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Asistentul va crea un cont de utilizator cu numele Administrator. Îl puteți folosi când veți avea nevoie de control complet asupra calculatorului.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Introduceți o parolă pentru Administrator de maxim 14 caractere.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Introduceți o parolă pentru Administrator de maxim 127 caractere.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Parolă administrator:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Confirmarea parolei:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -150,6 +150,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall a eșuat: "
|
||||
IDS_TIMEOUT "Timp expirat în timpul înregistrării"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "При установке будет создан профиль пользователя с именем Administrator Вы можете использовать этот профиль, если вам нужно получить права администратора.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Введите пароль администратора (не более 14 символов).", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Введите пароль администратора (не более 127 символов).", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Пароль администратора:", IDC_STATIC, 54, 104, 96, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "П&овторите пароль:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -150,6 +150,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Ошибка DllInstall: "
|
||||
IDS_TIMEOUT "Таймаут в ходе регистрации"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -52,7 +52,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Inštalátor vytvorí na počítači používateľský účet nazvaný Administrator. Tento účet môžete použiť, keď budete potrebovať plný prístup k Vášmu počítaču.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Zadajte heslo účtu Administrator v dĺžke 14 znakov alebo menej.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Zadajte heslo účtu Administrator v dĺžke 127 znakov alebo menej.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Heslo:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "&Potvrdiť heslo:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -154,6 +154,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall zlyhal: "
|
||||
IDS_TIMEOUT "Vypršal časový limit registrácie"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -65,7 +65,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Ndërtuesi do të krijojë një llogari përdoruesi në kompjuterin tuaj të quajtur Administrator. Ju mund të përdorni këtë llogari në qoftë se keni nevojë për akses të plotë në kompjuterin tuaj.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Shkruani një fjalëkalim Administratori që është 14 karaktere ose më pak.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Shkruani një fjalëkalim Administratori që është 127 karaktere ose më pak.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Fjalëkalimi &Administratorit:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "K&onfirmo Fjalëkalimin:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -167,6 +167,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall dështoj: "
|
||||
IDS_TIMEOUT "Timeout gjatë regjistrimit"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administratorër"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 165, 35, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Kur,'Administrator' adıyla bir yönetici hesabı oluşturacak. Bu hesabı bilgisayara tam erişim için kullanabileceksiniz.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "14 karakter yada daha az bir Yönetici Parolası yazın.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "127 karakter yada daha az bir Yönetici Parolası yazın.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Yönetici Parolası:", IDC_STATIC, 54, 104, 105, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 165, 101, 148, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "Parolayı &Doğrula:", IDC_STATIC, 54, 123, 105, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Dll Kurulumu başarısız oldu: "
|
||||
IDS_TIMEOUT "Kayıt zaman aşımına uğradı"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -54,7 +54,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "Програма встановлення створить обліковий запис користувача 'Адміністратор', який дає повні права доступу до Вашого комп'ютера.", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "Введіть пароль адміністратора довжиною до 14 символів.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "Введіть пароль адміністратора довжиною до 127 символів.", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "&Пароль адміністратора:", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "Пі&дтвердження:", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -156,6 +156,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "Помилка DllInstall: "
|
||||
IDS_TIMEOUT "Таймаут під час реєстрації"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -46,7 +46,7 @@ BEGIN
|
|||
EDITTEXT IDC_COMPUTERNAME, 132, 35, 163, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_UPPERCASE
|
||||
ICON IDI_ICON5, IDC_STATIC, 21, 57, 20, 20
|
||||
LTEXT "安装程序会创建一个称为 Administrator (系统管理员)的用户帐户。需要完全控制计算机时,可以使用这个帐户。", IDC_STATIC, 54, 57, 250, 25
|
||||
LTEXT "请键入不超过14个字符的系统管理员密码。", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "请键入不超过127个字符的系统管理员密码。", IDC_STATIC, 54, 87, 250, 8
|
||||
LTEXT "系统管理员密码(&A):", IDC_STATIC, 54, 104, 75, 8
|
||||
EDITTEXT IDC_ADMINPASSWORD1, 132, 101, 172, 14, WS_VISIBLE | WS_TABSTOP | ES_PASSWORD
|
||||
LTEXT "确认密码(&O):", IDC_STATIC, 54, 123, 75, 8
|
||||
|
@ -148,6 +148,13 @@ BEGIN
|
|||
IDS_DLLINSTALL_FAILED "DllInstall 失败: "
|
||||
IDS_TIMEOUT "Timeout during registration"
|
||||
IDS_REASON_UNKNOWN ""
|
||||
/*
|
||||
* ATTENTION:
|
||||
* If you translate the administator account name, keep IDS_ADMINISTRATOR_NAME and
|
||||
* samsrv.dll:IDS_USER_ADMINISTRATOR_NAME synchronized.
|
||||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
#define IDS_DLLINSTALL_FAILED 3306
|
||||
#define IDS_TIMEOUT 3307
|
||||
#define IDS_REASON_UNKNOWN 3308
|
||||
#define IDS_ADMINISTRATOR_NAME 3309
|
||||
|
||||
#define IDS_WZD_NAME 3450
|
||||
#define IDS_WZD_SETCOMPUTERNAME 3451
|
||||
|
|
|
@ -566,6 +566,59 @@ WriteComputerSettings(WCHAR * ComputerName, HWND hwndDlg)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
BOOL
|
||||
WriteDefaultLogonData(LPWSTR Domain)
|
||||
{
|
||||
WCHAR szAdministratorName[256];
|
||||
HKEY hKey = NULL;
|
||||
LONG lError;
|
||||
|
||||
if (LoadStringW(hDllInstance,
|
||||
IDS_ADMINISTRATOR_NAME,
|
||||
szAdministratorName,
|
||||
sizeof(szAdministratorName) / sizeof(WCHAR)) == 0)
|
||||
{
|
||||
wcscpy(szAdministratorName, L"Administrator");
|
||||
}
|
||||
|
||||
lError = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
|
||||
L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon",
|
||||
0,
|
||||
KEY_SET_VALUE,
|
||||
&hKey);
|
||||
if (lError != ERROR_SUCCESS)
|
||||
return FALSE;
|
||||
|
||||
lError = RegSetValueEx(hKey,
|
||||
L"DefaultDomain",
|
||||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)Domain,
|
||||
(wcslen(Domain)+ 1) * sizeof(WCHAR));
|
||||
if (lError != ERROR_SUCCESS)
|
||||
{
|
||||
DPRINT1("RegSetValueEx(\"DefaultDomain\") failed!\n");
|
||||
}
|
||||
|
||||
lError = RegSetValueEx(hKey,
|
||||
L"DefaultUserName",
|
||||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)szAdministratorName,
|
||||
(wcslen(szAdministratorName)+ 1) * sizeof(WCHAR));
|
||||
if (lError != ERROR_SUCCESS)
|
||||
{
|
||||
DPRINT1("RegSetValueEx(\"DefaultUserName\") failed!\n");
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* lpBuffer will be filled with a 15-char string (plus the null terminator) */
|
||||
static void
|
||||
GenerateComputerName(LPWSTR lpBuffer)
|
||||
|
@ -592,8 +645,8 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
LPARAM lParam)
|
||||
{
|
||||
WCHAR ComputerName[MAX_COMPUTERNAME_LENGTH + 1];
|
||||
WCHAR Password1[15];
|
||||
WCHAR Password2[15];
|
||||
WCHAR Password1[128];
|
||||
WCHAR Password2[128];
|
||||
PWCHAR Password;
|
||||
WCHAR Title[64];
|
||||
WCHAR EmptyComputerName[256], NotMatchPassword[256], WrongPassword[256];
|
||||
|
@ -607,7 +660,6 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
switch (uMsg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
/* Generate a new pseudo-random computer name */
|
||||
GenerateComputerName(ComputerName);
|
||||
|
||||
|
@ -616,8 +668,8 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
|
||||
/* Set text limits */
|
||||
SendDlgItemMessage(hwndDlg, IDC_COMPUTERNAME, EM_LIMITTEXT, MAX_COMPUTERNAME_LENGTH, 0);
|
||||
SendDlgItemMessage(hwndDlg, IDC_ADMINPASSWORD1, EM_LIMITTEXT, 14, 0);
|
||||
SendDlgItemMessage(hwndDlg, IDC_ADMINPASSWORD2, EM_LIMITTEXT, 14, 0);
|
||||
SendDlgItemMessage(hwndDlg, IDC_ADMINPASSWORD1, EM_LIMITTEXT, 127, 0);
|
||||
SendDlgItemMessage(hwndDlg, IDC_ADMINPASSWORD2, EM_LIMITTEXT, 127, 0);
|
||||
|
||||
/* Set focus to computer name */
|
||||
SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
|
||||
|
@ -630,8 +682,9 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
SetAdministratorPassword(SetupData.AdminPassword);
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
/* Store the administrator account name as the default user name */
|
||||
WriteDefaultLogonData(SetupData.ComputerName);
|
||||
break;
|
||||
|
||||
|
||||
case WM_NOTIFY:
|
||||
|
@ -676,8 +729,8 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
|
||||
#if 0
|
||||
/* Check if admin passwords have been entered */
|
||||
if ((GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15) == 0) ||
|
||||
(GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD2, Password2, 15) == 0))
|
||||
if ((GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 128) == 0) ||
|
||||
(GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD2, Password2, 128) == 0))
|
||||
{
|
||||
if (0 == LoadStringW(hDllInstance, IDS_WZD_PASSWORDEMPTY, EmptyPassword,
|
||||
sizeof(EmptyPassword) / sizeof(EmptyPassword[0])))
|
||||
|
@ -689,8 +742,8 @@ ComputerPageDlgProc(HWND hwndDlg,
|
|||
return TRUE;
|
||||
}
|
||||
#else
|
||||
GetDlgItemTextW(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15);
|
||||
GetDlgItemTextW(hwndDlg, IDC_ADMINPASSWORD2, Password2, 15);
|
||||
GetDlgItemTextW(hwndDlg, IDC_ADMINPASSWORD1, Password1, 128);
|
||||
GetDlgItemTextW(hwndDlg, IDC_ADMINPASSWORD2, Password2, 128);
|
||||
#endif
|
||||
/* Check if passwords match */
|
||||
if (wcscmp(Password1, Password2))
|
||||
|
|
Loading…
Reference in a new issue