cvs wine + win2k ole + installshield = unhappy

Tony Lambregts tony_lambregts at
Sat Feb 8 18:16:08 CST 2003

Vincent Béron wrote:

> 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
I tried this patch and it does not work for me.
I have a windows drive mounted but when I choose a " no windows"  
install i get the following.

Configuring Wine without Windows.
Some fake Windows directories must be created, to hold any .ini files, DLLs,
start menu entries, and other things your applications may need to install.
Where would you like your fake C drive to be placed?
(default is /home/tony/c)
Configuring Wine for a no-windows install in /home/tony/c...

Created /home/tony/.wine/config using default Wine configuration.
You probably want to review the file, though.

Compiling regedit...
make: Nothing to be done for `all'.

Preparing to install default Wine registry entries...
Installing default Wine registry entries...

Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
programs/regedit/regedit: cannot determine executable type for 
Registry install failed.

Thanks for sharring the patch though.


Tony Lambregts

More information about the wine-devel mailing list