Author: hbelusca
Date: Thu Jan 29 00:06:55 2015
New Revision: 66107
URL:
http://svn.reactos.org/svn/reactos?rev=66107&view=rev
Log:
[REACTOS_SETUP]
Show a critical error if txtsetup.sif cannot be found, instead of displaying empty fields
in the setup. Patch by Lee Schroeder.
CORE-8971 #resolve #comment Fixed, thanks!
Modified:
trunk/reactos/base/setup/reactos/lang/bg-BG.rc
trunk/reactos/base/setup/reactos/lang/cs-CZ.rc
trunk/reactos/base/setup/reactos/lang/de-DE.rc
trunk/reactos/base/setup/reactos/lang/el-GR.rc
trunk/reactos/base/setup/reactos/lang/en-US.rc
trunk/reactos/base/setup/reactos/lang/es-ES.rc
trunk/reactos/base/setup/reactos/lang/et-EE.rc
trunk/reactos/base/setup/reactos/lang/fi-FI.rc
trunk/reactos/base/setup/reactos/lang/fr-FR.rc
trunk/reactos/base/setup/reactos/lang/he-IL.rc
trunk/reactos/base/setup/reactos/lang/hu-HU.rc
trunk/reactos/base/setup/reactos/lang/it-IT.rc
trunk/reactos/base/setup/reactos/lang/no-NO.rc
trunk/reactos/base/setup/reactos/lang/pl-PL.rc
trunk/reactos/base/setup/reactos/lang/pt-BR.rc
trunk/reactos/base/setup/reactos/lang/ro-RO.rc
trunk/reactos/base/setup/reactos/lang/ru-RU.rc
trunk/reactos/base/setup/reactos/lang/sk-SK.rc
trunk/reactos/base/setup/reactos/lang/sq-AL.rc
trunk/reactos/base/setup/reactos/lang/tr-TR.rc
trunk/reactos/base/setup/reactos/lang/uk-UA.rc
trunk/reactos/base/setup/reactos/lang/zh-CN.rc
trunk/reactos/base/setup/reactos/reactos.c
trunk/reactos/base/setup/reactos/resource.h
Modified: trunk/reactos/base/setup/reactos/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/bg…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/bg-BG.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "СпиÑÑк на вÑзможноÑÑиÑе за
Ñлагане за пÑовеÑка пÑеди пÑилагане вÑÑÑ
Ñ ÑÑÑÑойÑÑвоÑо за Ñлагане"
IDS_ABORTSETUP "РеакÑÐС не е напÑлно Ñложен на
компÑÑÑÑа ви. Ðко излезеÑе Ð¾Ñ Ð½Ð°ÑÑÑойванеÑо Ñега,
Ñе ÑÑÑбва да пÑÑнеÑе наÑÑÑойванеÑо оÑново, за да
ÑложиÑе РеакÑоÑ. ÐаиÑÑина ли излизаÑе?"
IDS_ABORTSETUP2 "ÐÑекÑÑване на ÑлаганеÑо?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ÐаÑÑÑойка на РеакÑÐС"
END
Modified: trunk/reactos/base/setup/reactos/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/cs…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/cs-CZ.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -150,4 +150,6 @@
IDS_SUMMARYSUBTITLE "Výpis voleb instalace k ovÄÅenà pÅed tÃm, než zaÄne
instalace"
IDS_ABORTSETUP "Systém ReactOS nenà na tomto poÄÃtaÄi kompletnÄ
nainstalovaný. Pokud nynà ukonÄÃte instalaci, bude ji pro nainstalovánà systému
ReactOS nutné provést znova. Opravdu ukonÄit?"
IDS_ABORTSETUP2 "PÅeruÅ¡it instalaci?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Instalace systému ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/de…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/de-DE.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "Liste alle Installationseinstellungen vor Anwendung auf die
Geräte auf"
IDS_ABORTSETUP "ReactOS ist nicht vollständig auf Ihrem Computer installiert.
Wenn Sie das Setup verlassen, dann müssen Sie das Setup nochmals ausführen, um ReactOS
zu installieren. Wirklich beenden?"
IDS_ABORTSETUP2 "Installation abbrechen?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/el…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/el-GR.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/en…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/en-US.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue"
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/es…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/es-ES.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -146,4 +146,6 @@
IDS_SUMMARYSUBTITLE "Lista las propiedades de la instalación para su
verificación antes de aplicarlas al dispositivo instalado"
IDS_ABORTSETUP "ReactOS no está completamente instalado en su equipo. Si sale
de la instalación ahora, tendrá que ejecutar el instalador otra vez para instalar
ReactOS. ¿Realmente quiere salir?"
IDS_ABORTSETUP2 "¿Abortar instalación?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Instalación de ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/et-EE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/et…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/et-EE.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/et-EE.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "Seadete kontrollimine enne paigaldamise alustamist"
IDS_ABORTSETUP "ReactOS ei ole veel täielikult paigaldatud. Kas tõesti
lahkuda?"
IDS_ABORTSETUP2 "Katkestada paigaldamine?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOSi paigaldamine"
END
Modified: trunk/reactos/base/setup/reactos/lang/fi-FI.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/fi…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/fi-FI.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/fi-FI.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/fr…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/fr-FR.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Installation de ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/he…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/he-IL.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -146,4 +146,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "××ª×§× ×ª ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/hu…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/hu-HU.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -146,4 +146,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Really quit?"
IDS_ABORTSETUP2 "Abort installation?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/it…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/it-IT.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "Lista delle proprietà della installazione da controllare
prima che siano eseguite sul dispositivo di installazione"
IDS_ABORTSETUP "ReactOS non è installato completamente sul computer. Se
interropete l'installazione ora sarà necessario eseguire l'installazione di
nuovo. Volete procedere?"
IDS_ABORTSETUP2 "Volete interrompere l'installazione?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Installazione di ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/no…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/no-NO.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "Sjekk listen av installasjon egenskapene før du fortsetter
installasjon av enhetene"
IDS_ABORTSETUP "ReactOS er ikke fullstendig installert på datamaskinen. Hvis du
avslutter nå, trenger du å kjøre installeringen på nytt for å installere ReactOS. Vil
du virkelig avslutte?"
IDS_ABORTSETUP2 "Avbryt installasjonen?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS installering"
END
Modified: trunk/reactos/base/setup/reactos/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/pl…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/pl-PL.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -154,4 +154,6 @@
IDS_SUMMARYSUBTITLE "Sprawdź ustawienia instalacji przed dokonaniem zmian na
dysku"
IDS_ABORTSETUP "Instalacja ReactOS nie zostaÅa ukoÅczona na tym komputerze.
JeÅli teraz zakoÅczysz instalacjÄ, bÄdziesz musiaÅ uruchomiÄ Instalator ponownie,
aby zainstalowaÄ ReactOS. Na pewno zakoÅczyÄ?"
IDS_ABORTSETUP2 "PrzerwaÄ instalacjÄ?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Instalator ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/pt…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/pt-BR.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "Listar propriedades da instalação para verificação
antes de aplicá-las na instalação dos despositivos"
IDS_ABORTSETUP "ReactOS não está totalmente instalado em seu computador. Se
você sair da Instalação agora, você precisará executar o Instalador novamente para
instalar o ReactOS. Tem certeza que deseja sair?"
IDS_ABORTSETUP2 "Abortar instalação?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Instalação do ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/ro…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/ro-RO.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -153,4 +153,6 @@
IDS_SUMMARYSUBTITLE "Lista cu opÈiuni de instalare ce necesitÄ verificare
înainte de a continua instalarea."
IDS_ABORTSETUP "ReactOS încÄ nu este complet instalat în calculator. Daca
întrerupeÈi procesul de instalare, pentru a instala va fi necesarÄ repetarea paÈilor
parcurÈi pânÄ acum. Sigur doriÈi asta?"
IDS_ABORTSETUP2 "AbandonaÈi instalarea?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "Asistentul de instalare ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/ru…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/ru-RU.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "ÐÑовеÑÑÑе ÑпиÑок паÑамеÑÑов
пеÑед наÑалом ÑÑÑановки"
IDS_ABORTSETUP "ReactOS ÑÑÑановлен на компÑÑÑÐµÑ Ð½Ðµ
полноÑÑÑÑ. ÐÑли Ð²Ñ Ð·Ð°ÐºÑоеÑе пÑогÑÐ°Ð¼Ð¼Ñ ÑÑÑановки
ÑейÑаÑ, в далÑнейÑем вам пÑидеÑÑÑ Ð¿Ð¾Ð²ÑоÑиÑÑ
ÑÑÑÐ°Ð½Ð¾Ð²ÐºÑ ReactOS. ÐÑ ÑвеÑенÑ, ÑÑо необÑ
одимо пÑеÑваÑÑ ÑÑÑановкÑ?"
IDS_ABORTSETUP2 "ÐÑеÑваÑÑ ÑÑÑановкÑ?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "УÑÑановка ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/sk…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/sk-SK.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -149,4 +149,6 @@
IDS_SUMMARYSUBTITLE "List installation properties to check before apply to the
installation device"
IDS_ABORTSETUP "ReactOS is not completely installed on your computer. If you
quit Setup now, you will need to run Setup again to install ReactOS. Naozaj
skonÄiÅ¥?"
IDS_ABORTSETUP2 "Prerušiť inštaláciu?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/sq…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/sq-AL.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -146,4 +146,6 @@
IDS_SUMMARYSUBTITLE "Listo të dhënat e instalimit për të kontrolluar para
së të aplikohen për pajisjet e instalimit/kompjuterit"
IDS_ABORTSETUP "ReactOS nuk është instaluar plotësisht në kompjuterin tuaj.
Nëse ju dilni nga instalimi tani, do ju duhet të filloni instalimin përsëri për të
instalumar ReactOS. Doni ta mbyllni?"
IDS_ABORTSETUP2 "Ndërpritni Instalimin?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Setup"
END
Modified: trunk/reactos/base/setup/reactos/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/tr…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/tr-TR.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -146,4 +146,6 @@
IDS_SUMMARYSUBTITLE "Kurulumdan aygıtına uygulanmadan önce gözden geçirmek
için dizelgelenen kurulum seçenekleri."
IDS_ABORTSETUP "ReactOS bilgisayarınıza tümüyle kurulmadı. EÄer Åimdi
Kur'dan çıkarsanız, ReactOS'u kurmak için Kur'u yeniden çalıÅtırmayı
isteybilirsiniz. Gerçekten çıkılsın mı?"
IDS_ABORTSETUP2 "Kurulum iptal edilsin mi?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS Kur"
END
Modified: trunk/reactos/base/setup/reactos/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/uk…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/uk-UA.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -152,4 +152,6 @@
IDS_SUMMARYSUBTITLE "ÐеÑевÑÑÑе ÑпиÑок влаÑÑивоÑÑей
вÑÑановленнÑ, пеÑÑ Ð½Ñж поÑаÑи вÑÑановленнÑ
ÑиÑÑеми"
IDS_ABORTSETUP "ReactOS вÑÑановлений на комп'ÑÑÐµÑ Ð½Ðµ
повнÑÑÑÑ. ЯкÑо ви закÑиÑÑе пÑогÑÐ°Ð¼Ñ Ð²ÑÑановленнÑ
заÑаз, в подалÑÑÐ¾Ð¼Ñ Ð²Ð°Ð¼ доведеÑÑÑÑ Ð¿Ð¾Ð²ÑоÑиÑи
вÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ ReactOS. Ðи впевненÑ, Ñо необÑ
Ñдно пеÑеÑваÑи вÑÑановленнÑ?"
IDS_ABORTSETUP2 "ÐеÑеÑваÑи вÑÑановленнÑ?"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ÐÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ ReactOS"
END
Modified: trunk/reactos/base/setup/reactos/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/lang/zh…
==============================================================================
--- trunk/reactos/base/setup/reactos/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/lang/zh-CN.rc [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -144,4 +144,6 @@
IDS_SUMMARYSUBTITLE "æ£æ¯å®è£
åååºå®è£
å±æ§ä»¥ä¾æ£æ¥"
IDS_ABORTSETUP "ReactOS æªå¨æ¨ççµèä¸å®è£
å®æãå¦ææ¨ç°å¨éåºå®è£
ç¨åºï¼æ¨éè¦å¨ä¸æ¬¡è¿è¡å®è£
ç¨åºæ¥å®è£
ReactOSã ç¡®å®éåºï¼"
IDS_ABORTSETUP2 "ç»æ¢å®è£
ï¼"
+ IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'\nSetup is unable to
continue."
+ IDS_CAPTION "ReactOS å®è£
"
END
Modified: trunk/reactos/base/setup/reactos/reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/reactos…
==============================================================================
--- trunk/reactos/base/setup/reactos/reactos.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/reactos.c [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -989,7 +989,7 @@
return FALSE;
}
-void LoadSetupData()
+BOOL LoadSetupData(void)
{
WCHAR szPath[MAX_PATH];
TCHAR tmp[10];
@@ -1007,115 +1007,126 @@
wcscat(szPath, L"\\txtsetup.sif");
hTxtsetupSif = SetupOpenInfFileW(szPath, NULL, INF_STYLE_OLDNT, NULL);
- if (hTxtsetupSif != INVALID_HANDLE_VALUE)
- {
- // get language list
- SetupData.LangCount = SetupGetLineCount(hTxtsetupSif, _T("Language"));
- if (SetupData.LangCount > 0)
- {
- SetupData.pLanguages = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(LANG) * SetupData.LangCount);
- if (SetupData.pLanguages != NULL)
- {
- Count = 0;
- if (SetupFindFirstLine(hTxtsetupSif, _T("Language"), NULL,
&InfContext))
+ if (hTxtsetupSif == INVALID_HANDLE_VALUE)
+ {
+ TCHAR message[512], caption[64];
+
+ // txtsetup.sif cannot be found
+ LoadString(hInstance, IDS_NO_TXTSETUP_SIF, message,
sizeof(message)/sizeof(TCHAR));
+ LoadString(hInstance, IDS_CAPTION, caption, sizeof(caption)/sizeof(TCHAR));
+
+ MessageBox(NULL, message, caption, MB_OK | MB_ICONERROR);
+ return FALSE;
+ }
+
+ // get language list
+ SetupData.LangCount = SetupGetLineCount(hTxtsetupSif, _T("Language"));
+ if (SetupData.LangCount > 0)
+ {
+ SetupData.pLanguages = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(LANG)
* SetupData.LangCount);
+ if (SetupData.pLanguages != NULL)
+ {
+ Count = 0;
+ if (SetupFindFirstLine(hTxtsetupSif, _T("Language"), NULL,
&InfContext))
+ {
+ do
{
- do
- {
- SetupGetStringField(&InfContext,
- 0,
- SetupData.pLanguages[Count].LangId,
- sizeof(SetupData.pLanguages[Count].LangId) /
sizeof(TCHAR),
- &LineLength);
-
- SetupGetStringField(&InfContext,
- 1,
- SetupData.pLanguages[Count].LangName,
- sizeof(SetupData.pLanguages[Count].LangName)
/ sizeof(TCHAR),
- &LineLength);
- ++Count;
- }
- while (SetupFindNextLine(&InfContext, &InfContext) &&
Count < SetupData.LangCount);
+ SetupGetStringField(&InfContext,
+ 0,
+ SetupData.pLanguages[Count].LangId,
+ sizeof(SetupData.pLanguages[Count].LangId) /
sizeof(TCHAR),
+ &LineLength);
+
+ SetupGetStringField(&InfContext,
+ 1,
+ SetupData.pLanguages[Count].LangName,
+ sizeof(SetupData.pLanguages[Count].LangName) /
sizeof(TCHAR),
+ &LineLength);
+ ++Count;
}
- }
- }
-
- // get keyboard layout list
- SetupData.KbLayoutCount = SetupGetLineCount(hTxtsetupSif,
_T("KeyboardLayout"));
- if (SetupData.KbLayoutCount > 0)
- {
- SetupData.pKbLayouts = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(KBLAYOUT) * SetupData.KbLayoutCount);
- if (SetupData.pKbLayouts != NULL)
- {
- Count = 0;
- if (SetupFindFirstLine(hTxtsetupSif, _T("KeyboardLayout"),
NULL, &InfContext))
+ while (SetupFindNextLine(&InfContext, &InfContext) &&
Count < SetupData.LangCount);
+ }
+ }
+ }
+
+ // get keyboard layout list
+ SetupData.KbLayoutCount = SetupGetLineCount(hTxtsetupSif,
_T("KeyboardLayout"));
+ if (SetupData.KbLayoutCount > 0)
+ {
+ SetupData.pKbLayouts = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(KBLAYOUT) * SetupData.KbLayoutCount);
+ if (SetupData.pKbLayouts != NULL)
+ {
+ Count = 0;
+ if (SetupFindFirstLine(hTxtsetupSif, _T("KeyboardLayout"), NULL,
&InfContext))
+ {
+ do
{
- do
- {
- SetupGetStringField(&InfContext,
- 0,
- SetupData.pKbLayouts[Count].LayoutId,
- sizeof(SetupData.pKbLayouts[Count].LayoutId)
/ sizeof(TCHAR),
- &LineLength);
-
- SetupGetStringField(&InfContext,
- 1,
- SetupData.pKbLayouts[Count].LayoutName,
-
sizeof(SetupData.pKbLayouts[Count].LayoutName) / sizeof(TCHAR),
- &LineLength);
- ++Count;
- }
- while (SetupFindNextLine(&InfContext, &InfContext) &&
Count < SetupData.KbLayoutCount);
+ SetupGetStringField(&InfContext,
+ 0,
+ SetupData.pKbLayouts[Count].LayoutId,
+ sizeof(SetupData.pKbLayouts[Count].LayoutId) /
sizeof(TCHAR),
+ &LineLength);
+
+ SetupGetStringField(&InfContext,
+ 1,
+ SetupData.pKbLayouts[Count].LayoutName,
+ sizeof(SetupData.pKbLayouts[Count].LayoutName) /
sizeof(TCHAR),
+ &LineLength);
+ ++Count;
}
- }
- }
-
- // get default for keyboard and language
- SetupData.DefaultKBLayout = -1;
- SetupData.DefaultLang = -1;
-
- // TODO: get defaults from underlaying running system
- if (SetupFindFirstLine(hTxtsetupSif, _T("NLS"),
_T("DefaultLayout"), &InfContext))
- {
- SetupGetStringField(&InfContext, 1, tmp, sizeof(tmp) / sizeof(TCHAR),
&LineLength);
- for (Count = 0; Count < SetupData.KbLayoutCount; Count++)
- if (_tcscmp(tmp, SetupData.pKbLayouts[Count].LayoutId) == 0)
- {
- SetupData.DefaultKBLayout = Count;
- break;
- }
- }
-
- if (SetupFindFirstLine(hTxtsetupSif, _T("NLS"),
_T("DefaultLanguage"), &InfContext))
- {
- SetupGetStringField(&InfContext, 1, tmp, sizeof(tmp) / sizeof(TCHAR),
&LineLength);
- for (Count = 0; Count < SetupData.LangCount; Count++)
- if (_tcscmp(tmp, SetupData.pLanguages[Count].LangId) == 0)
- {
- SetupData.DefaultLang = Count;
- break;
- }
- }
-
- // get computers list
- SetupData.CompCount =
LoadGenentry(hTxtsetupSif,_T("Computer"),&SetupData.pComputers,&InfContext);
-
- // get display list
- SetupData.DispCount =
LoadGenentry(hTxtsetupSif,_T("Display"),&SetupData.pDisplays,&InfContext);
-
- // get keyboard list
- SetupData.KeybCount = LoadGenentry(hTxtsetupSif,
_T("Keyboard"),&SetupData.pKeyboards,&InfContext);
-
- // get install directory
- if (SetupFindFirstLine(hTxtsetupSif, _T("SetupData"),
_T("DefaultPath"), &InfContext))
- {
- SetupGetStringField(&InfContext,
- 1,
- SetupData.InstallDir,
- sizeof(SetupData.InstallDir) / sizeof(TCHAR),
- &LineLength);
- }
- SetupCloseInfFile(hTxtsetupSif);
- }
+ while (SetupFindNextLine(&InfContext, &InfContext) &&
Count < SetupData.KbLayoutCount);
+ }
+ }
+ }
+
+ // get default for keyboard and language
+ SetupData.DefaultKBLayout = -1;
+ SetupData.DefaultLang = -1;
+
+ // TODO: get defaults from underlaying running system
+ if (SetupFindFirstLine(hTxtsetupSif, _T("NLS"),
_T("DefaultLayout"), &InfContext))
+ {
+ SetupGetStringField(&InfContext, 1, tmp, sizeof(tmp) / sizeof(TCHAR),
&LineLength);
+ for (Count = 0; Count < SetupData.KbLayoutCount; Count++)
+ if (_tcscmp(tmp, SetupData.pKbLayouts[Count].LayoutId) == 0)
+ {
+ SetupData.DefaultKBLayout = Count;
+ break;
+ }
+ }
+
+ if (SetupFindFirstLine(hTxtsetupSif, _T("NLS"),
_T("DefaultLanguage"), &InfContext))
+ {
+ SetupGetStringField(&InfContext, 1, tmp, sizeof(tmp) / sizeof(TCHAR),
&LineLength);
+ for (Count = 0; Count < SetupData.LangCount; Count++)
+ if (_tcscmp(tmp, SetupData.pLanguages[Count].LangId) == 0)
+ {
+ SetupData.DefaultLang = Count;
+ break;
+ }
+ }
+
+ // get computers list
+ SetupData.CompCount =
LoadGenentry(hTxtsetupSif,_T("Computer"),&SetupData.pComputers,&InfContext);
+
+ // get display list
+ SetupData.DispCount =
LoadGenentry(hTxtsetupSif,_T("Display"),&SetupData.pDisplays,&InfContext);
+
+ // get keyboard list
+ SetupData.KeybCount = LoadGenentry(hTxtsetupSif,
_T("Keyboard"),&SetupData.pKeyboards,&InfContext);
+
+ // get install directory
+ if (SetupFindFirstLine(hTxtsetupSif, _T("SetupData"),
_T("DefaultPath"), &InfContext))
+ {
+ SetupGetStringField(&InfContext,
+ 1,
+ SetupData.InstallDir,
+ sizeof(SetupData.InstallDir) / sizeof(TCHAR),
+ &LineLength);
+ }
+ SetupCloseInfFile(hTxtsetupSif);
+
+ return TRUE;
}
LONG LoadGenentry(HINF hinf,PCTSTR name,PGENENTRY *gen,PINFCONTEXT context)
@@ -1211,8 +1222,8 @@
LoadString(hInst,IDS_ABORTSETUP2, abort_title,sizeof(abort_title)/sizeof(TCHAR));
if (!isUnattend)
{
-
- LoadSetupData();
+ if (!LoadSetupData())
+ return 0;
/* Create the Start page, until setup is working */
psp.dwSize = sizeof(PROPSHEETPAGE);
Modified: trunk/reactos/base/setup/reactos/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/resourc…
==============================================================================
--- trunk/reactos/base/setup/reactos/resource.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/resource.h [iso-8859-1] Thu Jan 29 00:06:55 2015
@@ -59,5 +59,7 @@
#define IDS_SUMMARYTITLE 2050
#define IDS_SUMMARYSUBTITLE 2051
#define IDC_DEVICEDRIVER 2052
+#define IDS_NO_TXTSETUP_SIF 2053
+#define IDS_CAPTION 2054
#define IDI_MAIN 3000