|
From: SourceForge.net <no...@so...> - 2007-08-04 14:20:42
|
Bugs item #917669, was opened at 2004-03-17 07:40 Message generated for change (Comment added) made by k_satoda You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=917669&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installer Group: normal bug Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: "Program files" seems to be hardcoded Initial Comment: When installing jEdit under Windows 2000 SP 4/JRE 1.4.2, the jEdit installs itself in c:\program files\jedit... directory, although in german version of W2K for example, the path for program files is "c:\programme" by default. I think that somewhere in installer this value is hard- coded and now dynamically retrieved from Windows-API. ----- Esad Hajdarevic esa...@25... ---------------------------------------------------------------------- >Comment By: Kazutoshi Satoda (k_satoda) Date: 2007-08-04 23:20 Message: Logged In: YES user_id=1483238 Originator: NO The attached patch will try to use %ProgramFiles% instead of the haredcoded "C:\\Program Files". I don't know what version of Windows does or doesn't support this environment variable. Please tell me if you know. Depending of that, the workaround for the case if the environment variable is not defined, may be unnecessary. File Added: Windows_getInstallDirectory.patch ---------------------------------------------------------------------- Comment By: Robert Schwenn (rschwenn) Date: 2007-01-31 08:09 Message: Logged In: YES user_id=1486645 Originator: NO Sorry, forgot to test the java based installer. This one has the bug yet (4.3pre9). On NT based systems the installer could try to get and expand the environment variable %ProgramFiles% instead of reading the registry. Windows XP SP2 SUN JRE 1.5.0_10-b03 jEdit 4.3pre9 ---------------------------------------------------------------------- Comment By: Robert Schwenn (rschwenn) Date: 2007-01-31 07:16 Message: Logged In: YES user_id=1486645 Originator: NO Windows XP SP2 SUN JRE 1.5.0_10-b03 The windows intaller both for jedit 4.2 final and 4.3 pre9 let the user choose a directory. The default target is the correct expanded folder %ProgramFiles%\jEdit\ (tested with german version: "c:\programme\jEdit"). Althougt the system is not the same like that where the bug was seen, I think it's fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=917669&group_id=588 |