Modified: trunk/reactos/lib/syssetup/install.c
Modified: trunk/reactos/lib/syssetup/syssetup_Cz.rc
Modified: trunk/reactos/lib/syssetup/syssetup_De.rc
Modified: trunk/reactos/lib/syssetup/syssetup_En.rc
Modified: trunk/reactos/lib/syssetup/syssetup_Fr.rc
Modified: trunk/reactos/lib/syssetup/syssetup_Ja.rc
Modified: trunk/reactos/lib/syssetup/syssetup_Nl.rc
--- trunk/reactos/lib/syssetup/install.c 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/install.c 2005-10-23 14:39:51 UTC (rev 18707)
@@ -401,6 +401,7 @@
TCHAR sAccessories[256];
TCHAR sGames[256];
TCHAR Sys[MAX_PATH];
+ TCHAR GamePath[MAX_PATH];
# if 0
@@ -453,11 +454,15 @@
/* create Games subfolder and fill if the exe is available */
if (CreateShortcutFolder(CSIDL_PROGRAMS, IDS_GAMES, sGames, 256)) {
if(GetSystemDirectory(Sys, MAX_PATH)) {
- if((_taccess(_tcscat(Sys, _T("\\sol.exe")), 0 )) != -1)
+ /* copy system dir */
+ _tcscpy(GamePath, Sys);
+ /* concatonate full file path and check for existance */
+ if((_taccess(_tcscat(GamePath, _T("\\sol.exe")), 0 )) != -1)
CreateShortcut(CSIDL_PROGRAMS, sGames, _T("Solitaire.lnk"), _T("sol.exe"), IDS_CMT_SOLITAIRE);
- /* winemine is broken
- if((_taccess(_tcscat(Sys, _T("\\winemine.exe")), 0 )) != -1)
- CreateShortcut(CSIDL_PROGRAMS, sGames, _T("winemine.lnk"), _T("winemine.exe"), IDS_CMT_WINEMINE); */
+
+ _tcscpy(GamePath, Sys);
+ if((_taccess(_tcscat(GamePath, _T("\\winemine.exe")), 0 )) != -1)
+ CreateShortcut(CSIDL_PROGRAMS, sGames, _T("winemine.lnk"), _T("winemine.exe"), IDS_CMT_WINEMINE);
}
}
--- trunk/reactos/lib/syssetup/syssetup_Cz.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_Cz.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -189,4 +189,21 @@
IDS_PROCESSSUBTITLE "Process page subtitle"
END
+STRINGTABLE
+BEGIN
+ IDS_ACCESSORIES "Accessories"
+ IDS_CMT_CMD "Open command prompt"
+ IDS_CMT_EXPLORER "Launch Explorer"
+ IDS_CMT_WINEFILE "Launch Winefile"
+ IDS_CMT_NOTEPAD "Launch Text Editor"
+ IDS_CMT_REGEDIT "Launch Registry Editor"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_GAMES "Games"
+ IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
+END
+
/* EOF */
--- trunk/reactos/lib/syssetup/syssetup_De.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_De.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -203,4 +203,11 @@
IDS_CMT_REGEDIT "Starte Registry Editor"
END
+STRINGTABLE
+BEGIN
+ IDS_GAMES "Games"
+ IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
+END
+
/* EOF */
--- trunk/reactos/lib/syssetup/syssetup_En.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_En.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -208,6 +208,7 @@
BEGIN
IDS_GAMES "Games"
IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
END
--- trunk/reactos/lib/syssetup/syssetup_Fr.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_Fr.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -194,4 +194,21 @@
IDS_PROCESSSUBTITLE "Process page subtitle"
END
+STRINGTABLE
+BEGIN
+ IDS_ACCESSORIES "Accessories"
+ IDS_CMT_CMD "Open command prompt"
+ IDS_CMT_EXPLORER "Launch Explorer"
+ IDS_CMT_WINEFILE "Launch Winefile"
+ IDS_CMT_NOTEPAD "Launch Text Editor"
+ IDS_CMT_REGEDIT "Launch Registry Editor"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_GAMES "Games"
+ IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
+END
+
/* EOF */
--- trunk/reactos/lib/syssetup/syssetup_Ja.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_Ja.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -194,4 +194,21 @@
IDS_PROCESSSUBTITLE "Process page subtitle"
END
+STRINGTABLE
+BEGIN
+ IDS_ACCESSORIES "Accessories"
+ IDS_CMT_CMD "Open command prompt"
+ IDS_CMT_EXPLORER "Launch Explorer"
+ IDS_CMT_WINEFILE "Launch Winefile"
+ IDS_CMT_NOTEPAD "Launch Text Editor"
+ IDS_CMT_REGEDIT "Launch Registry Editor"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_GAMES "Games"
+ IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
+END
+
/* EOF */
--- trunk/reactos/lib/syssetup/syssetup_Nl.rc 2005-10-23 13:11:31 UTC (rev 18706)
+++ trunk/reactos/lib/syssetup/syssetup_Nl.rc 2005-10-23 14:39:51 UTC (rev 18707)
@@ -193,4 +193,22 @@
IDS_PROCESSTITLE "Process page title"
IDS_PROCESSSUBTITLE "Process page subtitle"
END
+
+STRINGTABLE
+BEGIN
+ IDS_ACCESSORIES "Accessories"
+ IDS_CMT_CMD "Open command prompt"
+ IDS_CMT_EXPLORER "Launch Explorer"
+ IDS_CMT_WINEFILE "Launch Winefile"
+ IDS_CMT_NOTEPAD "Launch Text Editor"
+ IDS_CMT_REGEDIT "Launch Registry Editor"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_GAMES "Games"
+ IDS_CMT_SOLITAIRE "Solitaire"
+ IDS_CMT_WINEMINE "WineMine"
+END
+
/* EOF */