View previous topic :: View next topic |
Author |
Message |
xjeff n00b
Joined: 17 May 2002 Posts: 33 Location: Baton Rouge, LA
|
Posted: Thu Feb 05, 2004 4:34 am Post subject: Wine windows reboot simulation |
|
|
I had a problem where whenever I would try to run the internet explorer setup, it would say that my system was still pending a reboot. The question is--how do you do a fake reboot on wine? Well, I found the answer, and here it is. There is a file called WININIT.INI in your %SYSTEMROOT%\Windows folder. If you just delete this file, then wine will think your system is rebooted.
So just do a Code: | rm -r /home/user/.wine/fake_windows/Windows/WININIT.INI |
and you are good to go! _________________ Carpe Daemon -- Seize the background process! |
|
Back to top |
|
|
sbbeebe Tux's lil' helper
Joined: 01 Aug 2003 Posts: 104 Location: Colorado, US
|
Posted: Thu Feb 05, 2004 5:03 am Post subject: |
|
|
ok, so, why would you want to run IE under wine? you've got a gentoo linux installation with several excellent browsers to choose from.
are you going through reboot withdrawls? feeling the need to restart that machine every now and again?
i can't stand to run that piece of crap (IE) on my windoze box.
ok, enough of the rant, so, why do you want to run ie on a nice gentoo install? _________________ "smell the color 9"
steve |
|
Back to top |
|
|
xjeff n00b
Joined: 17 May 2002 Posts: 33 Location: Baton Rouge, LA
|
Posted: Thu Feb 05, 2004 5:15 am Post subject: good question |
|
|
Actually, I really don't need or really want IE on my (very nice) gentoo install. Back in the day I was trying to install Kazaa Lite, and wanting it to work flawlessly I needed some sort of IE install...so I came across this problem. Besides, if I did a little more web design, it would be a lot easier to check the rendering in IE through wine than rebooting into windows. _________________ Carpe Daemon -- Seize the background process! |
|
Back to top |
|
|
kalisphoenix Apprentice
Joined: 28 Sep 2003 Posts: 211 Location: Ohio
|
Posted: Mon Aug 16, 2004 9:01 am Post subject: |
|
|
Actually, that came in handy (I need IE6 to get RealRhapsody working). Thanks, man. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Mon Aug 16, 2004 9:11 am Post subject: Re: Wine windows reboot simulation |
|
|
xjeff wrote: | I had a problem where whenever I would try to run the internet explorer setup, it would say that my system was still pending a reboot. The question is--how do you do a fake reboot on wine? Well, I found the answer, and here it is. There is a file called WININIT.INI in your %SYSTEMROOT%\Windows folder. If you just delete this file, then wine will think your system is rebooted.
So just do a Code: | rm -r /home/user/.wine/fake_windows/Windows/WININIT.INI |
and you are good to go! |
cant u just type in, wineboot? _________________ John5788 |
|
Back to top |
|
|
hikingpete n00b
Joined: 11 Aug 2004 Posts: 13 Location: Winnipeg, MB (Canada)
|
Posted: Tue Aug 17, 2004 7:01 pm Post subject: wineboot |
|
|
well, I don't really know if there is such a program already, but if that line's a bit much to type in, you could always add a line and save that as a file
wineboot:
Code: | #!/bin/bash
rm ~/.wine/fake_windows/Windows/WININIT.INI
|
Once you save that from your favourite text editor, simply move it into your path, (perhaps /usr/local/bin - dunno...) and run it at your leisure. As always, look the code over and test it carefully, before you commit it to your path and use it (I doubt I'm dependable - and we're talking about rm here). You'll probably have to chmod a+x it too. It looks safe too me, but I'm fairly inexperienced, and wouldn't be suprised if someone turned up to lecture me about this. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Tue Aug 17, 2004 8:21 pm Post subject: |
|
|
Code: | john5788@john5788: pts/20: 11 files 311Kb -> cat /usr/lib/wine/bin/wineboot
#!/bin/sh
#
# Wrapper script to start a Winelib application once it is installed
#
# Copyright (C) 2002 Alexandre Julliard
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# determine the app Winelib library name
appname=`basename "$0" .exe`.exe
# first try explicit WINELOADER
if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi
# then default bin directory
if [ -x "/usr/lib/wine/bin/wine" ]; then exec "/usr/lib/wine/bin/wine" "$appname" "$@"; fi
# now try the directory containing $0
appdir=""
case "$0" in
*/*)
# $0 contains a path, use it
appdir=`dirname "$0"`
;;
*)
# no directory in $0, search in PATH
saved_ifs=$IFS
IFS=:
for d in $PATH
do
IFS=$saved_ifs
if [ -x "$d/$0" ]; then appdir="$d"; break; fi
done
;;
esac
if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi
# finally look in PATH
exec wine "$appname" "$@" |
_________________ John5788 |
|
Back to top |
|
|
hikingpete n00b
Joined: 11 Aug 2004 Posts: 13 Location: Winnipeg, MB (Canada)
|
Posted: Tue Aug 17, 2004 8:40 pm Post subject: wineboot |
|
|
Ah, I see what you were getting at. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|