Re: cvs wine + win2k ole + installshield = unhappy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Lambregts a écrit:
The short answer is not always. If your wine directory does not sit below your home directory (actualy is not on a dos drive letter) the the installation of the default registries fails. (been meaning to file a bug report about this some time)
I had the same problem while making RPMs. Would this patch fix it? Minimal testing only has been made.

Changelog:
- Allow the wine build tree to be located anywhere, and correctly install the initial registry keys

Vincent
Index: wine/tools/wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.51
diff -u -r1.51 wineinstall
--- wine/tools/wineinstall	21 Jan 2003 20:14:36 -0000	1.51
+++ wine/tools/wineinstall	7 Feb 2003 20:50:36 -0000
@@ -610,8 +610,10 @@
   echo "Preparing to install default Wine registry entries..."
 
   # edit config files so we don't have to run regedit under X
+  # and make sure we are in a Windows drive
   mv $LCONF $LCONF.orig
-  sed "s/\"GraphicsDriver\" = .*/\"GraphicsDriver\" = \"ttydrv\"/" $LCONF.orig > $LCONF
+  sed "s/\"GraphicsDriver\" = .*/\"GraphicsDriver\" = \"ttydrv\"/" $LCONF.orig |\
+  sed "s/\"Path\" = \"\${HOME}\"$/\"Path\" = \"\${PWD}\"/" -> $LCONF
 
   echo "Installing default Wine registry entries..."
   echo

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux