- Now that WineMine is working again, put it in the start menu
authorGed Murphy <gedmurphy@reactos.org>
Sun, 23 Oct 2005 14:39:51 +0000 (14:39 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Sun, 23 Oct 2005 14:39:51 +0000 (14:39 +0000)
- All rc files currently in English

svn path=/trunk/; revision=18707

reactos/lib/syssetup/install.c
reactos/lib/syssetup/syssetup_Cz.rc
reactos/lib/syssetup/syssetup_De.rc
reactos/lib/syssetup/syssetup_En.rc
reactos/lib/syssetup/syssetup_Fr.rc
reactos/lib/syssetup/syssetup_Ja.rc
reactos/lib/syssetup/syssetup_Nl.rc

index 2fd930e..119623b 100644 (file)
@@ -401,6 +401,7 @@ InstallReactOS (HINSTANCE hInstance)
   TCHAR sAccessories[256];
   TCHAR sGames[256];
   TCHAR Sys[MAX_PATH];
+  TCHAR GamePath[MAX_PATH];
     
 
 # if 0
@@ -453,11 +454,15 @@ InstallReactOS (HINSTANCE hInstance)
   /* 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);
        }
   }
 
index 03a197a..57567a5 100644 (file)
@@ -189,4 +189,21 @@ BEGIN
     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 */
index c219466..4cc9bd0 100644 (file)
@@ -203,4 +203,11 @@ BEGIN
     IDS_CMT_REGEDIT     "Starte Registry Editor"
 END
 
+STRINGTABLE
+BEGIN
+    IDS_GAMES              "Games"
+    IDS_CMT_SOLITAIRE  "Solitaire"
+    IDS_CMT_WINEMINE   "WineMine"
+END
+
 /* EOF */
index c633ec4..fe4f127 100644 (file)
@@ -208,6 +208,7 @@ STRINGTABLE
 BEGIN
     IDS_GAMES              "Games"
     IDS_CMT_SOLITAIRE  "Solitaire"
+    IDS_CMT_WINEMINE   "WineMine"
 END
 
 
index 6bd5da6..b83b5c4 100644 (file)
@@ -194,4 +194,21 @@ BEGIN
     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 */
index 5e94f16..341334a 100644 (file)
@@ -194,4 +194,21 @@ BEGIN
     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 */
index 1c65a9d..57b7b9e 100644 (file)
@@ -193,4 +193,22 @@ BEGIN
     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 */