[Mono-bugs] [Bug 62859][Cri] Changed - Hardcoded paths in Windows gtk# installer

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 24 Sep 2004 16:38:56 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by stm3@qwest.net.


--- shadow/62859	2004-09-20 16:07:41.000000000 -0400
+++ shadow/62859.tmp.6453	2004-09-24 16:38:56.000000000 -0400
@@ -86,6 +86,38 @@
 	strFilePath := RemoveBackslash(cstrBasePath) + '\bin\wsdl.bat'
 	ReplaceRootPathForBat(strFilePath, 'C:\mono\Mono-1.0', cstrBasePath);
 	strFilePath := RemoveBackslash(cstrBasePath) + '\bin\xsd.bat'
 	ReplaceRootPathForBat(strFilePath, 'C:\mono\Mono-1.0', cstrBasePath);
+------- Additional Comments From stm3@qwest.net  2004-09-24 16:38 -------
+Yikes.  I ran into this problem as well and was going to report this 
+bug.  May I suggest a MUCH more standard, reliable and easy way of 
+doing this?
+Have the installer create an environment variable called MONOPATH.  
+Set it to the install path.  The installer you're using can do this 
+easily in one line, although it's important to mention that this 
+environment variable is only set for applications started AFTER it's 
+set, meaning the installer itself doesn't have access to it!
+Your batch files then need to look like this:
+@echo off
+call %MONOPATH%\bin\setmonopath.bat
+cd /D %MONOPATH%\share\doc\xsp\test"
+mono %MONOPATH%\bin\xsp.exe --root . --port 8088 --applications /:.
+This will work on all win32 OS's.
+I'd recommend removing these batch files until they work with a 
+default install OR very clearly marking the INSTALLER as BETA or 
+doing an echo in the batch files explaining...  Installing non-
+functioning icons with no explanation in a default install is a 
+*critical* bug by Windows standards.  Linux users more realistically 
+consider it cosmetic, but it is a windows installer...
+Also, this utility may be very useful to you for your install: