-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request verb ie8_server2003 #1427
Comments
I'm already working on this in kreytricks Kreytricks#41 The issue is that ie8 installer refuses to run on |
@PietJankbal Sorry i didn't realize that you meansioned this issue on winebug, waiting for info (note that i'm currently learning how to make patches in wine where i'm not very confident in making them, but i will try) |
Relevant/duplicate to #1423, but assuming ie8_server2003 64-bit is used as 64-bit executable this is probably new issue. |
See the attachment for workaround. It works form me, if you find any issues please post them |
Grrrr, now hopefully not messed up ... |
Updated, less errors in this one ;) |
almost final version. 2 questions:
|
Answering my own last question: Removing iexplore.exe from both Program files { , x86}/ Internet Explorer/ and from windows/sys{tem32,wow64} does not work. Then you run into the "Setup has detected a newer installed version of IE" bug again. So replacing the fake iexplore.exe`s is a necessaty @austin987 : afaict the last version (the "d.txt) "could be copied/paste directly into winetricks. I think the other question I had about registering 32/64 -bit can just be done as in the script. Am I right about that? Regards. |
sidenote: i'm following this and experimenting with implementation in kreytricks where your feedback is very helpful in making it work, but i also don't know how to resolve the 32/64-bit since we don't have any wineapp to test this on i would assume that only exporting the libs would be sufficient? |
@PietJankbal, please send a proper PR, it's not practical to do code review on a standalone diff. w_try_regsvr() only registers 32-bit dlls. w_try_regsvr64() should be used for 64-bit dlls. |
PR= pull request i guess? I`ll have to figure out how that works. Will try later. And attached yet another final version with the suggested w_try_regsvr() and w_try_regsvr64() |
@PietJankbal Your file is broken on win32 kreyren@dreamon:~$ rm -r ~/test ; WINEARCH="win32" WINE="/opt/wine-staging/bin/wine" WINEPREFIX="$HOME/test" /usr/src/kreytricks/src/winetricks ie8_server2003
nix_linux
Using kreytricks 20190912-next - sha256sum: 73b040cdcb9f273ff2f39efeb15442a20179822a8e534b395a3b8cd7113e6001 with wine-4.20 (Staging) and WINEARCH=win32 on WINEPREFIX=/home/kreyren/test including WINEDEBUG=fixme-all
Executing w_do_call ie8_server2003
Executing load_ie8_server2003
The operation completed successfully
Setting Windows version to win2k3
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\set-winver.reg
------------------------------------------------------
Running /opt/wine-staging/bin/wineserver -w. This will hang until all wine processes in prefix=/home/kreyren/test terminate
------------------------------------------------------
Using native,builtin override for following DLLs: ieframe ieproxy jscript mshtml shdocvw shlwapi urlmon vbscript wininet xmllite
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
Using builtin override for following DLLs: updspapi
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
mv: cannot stat '/home/kreyren/test/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe': No such file or directory
mv: failed to access '/dev/null/browseui.dll.bak': Not a directory
mv: failed to access '/dev/null/inseng.dll.bak': Not a directory
mv: failed to access '/dev/null/jscript.dll.bak': Not a directory
mv: failed to access '/dev/null/mshtml.dll.bak': Not a directory
mv: failed to access '/dev/null/shdocvw.dll.bak': Not a directory
mv: failed to access '/dev/null/shlwapi.dll.bak': Not a directory
mv: failed to access '/dev/null/urlmon.dll.bak': Not a directory
Executing mkdir -p /home/kreyren/.cache/winetricks/ie8_server2003
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading https://bugs.winehq.org/attachment.cgi?id=65709 to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:19:18-- https://bugs.winehq.org/attachment.cgi?id=65709
Resolving bugs.winehq.org (bugs.winehq.org)... 4.15.184.77
Connecting to bugs.winehq.org (bugs.winehq.org)|4.15.184.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 439502 (429K) [application/x-ms-dos-executable]
Saving to: ���attachment.cgi?id=65709���
attachment.cgi?id=65709 100%[===============================================>] 429.20K 580KB/s in 0.7s
2019-11-20 20:19:20 (580 KB/s) - ���attachment.cgi?id=65709��� saved [439502/439502]
Executing cd /home/kreyren
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading https://bugs.winehq.org/attachment.cgi?id=65710 to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:19:20-- https://bugs.winehq.org/attachment.cgi?id=65710
Resolving bugs.winehq.org (bugs.winehq.org)... 4.15.184.77
Connecting to bugs.winehq.org (bugs.winehq.org)|4.15.184.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 476983 (466K) [application/x-ms-dos-executable]
Saving to: ���attachment.cgi?id=65710���
attachment.cgi?id=65710 100%[===============================================>] 465.80K 307KB/s in 1.5s
2019-11-20 20:19:23 (307 KB/s) - ���attachment.cgi?id=65710��� saved [476983/476983]
Executing cd /home/kreyren
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /dev/null/iexplore.exe
cp: cannot stat '/dev/null/iexplore.exe': Not a directory
FATAL: Note: command cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /dev/null/iexplore.exe returned status 1. Aborting. kreyren@dreamon:~$ rm -r ~/test ; WINEARCH="win32" WINE="/opt/wine-staging/bin/wine" WINEPREFIX="$HOME/test" /usr/src/kreytricks/src/winetricks ie8_server2003
nix_linux
Using kreytricks 20190912-next - sha256sum: 73b040cdcb9f273ff2f39efeb15442a20179822a8e534b395a3b8cd7113e6001 with wine-4.20 (Staging) and WINEARCH=win32 on WINEPREFIX=/home/kreyren/test including WINEDEBUG=fixme-all
Executing w_do_call ie8_server2003
Executing load_ie8_server2003
The operation completed successfully
Setting Windows version to win2k3
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\set-winver.reg
------------------------------------------------------
Running /opt/wine-staging/bin/wineserver -w. This will hang until all wine processes in prefix=/home/kreyren/test terminate
------------------------------------------------------
Using native,builtin override for following DLLs: ieframe ieproxy jscript mshtml shdocvw shlwapi urlmon vbscript wininet xmllite
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
Using builtin override for following DLLs: updspapi
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
mv: cannot stat '/home/kreyren/test/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe': No such file or directory
mv: failed to access '/dev/null/browseui.dll.bak': Not a directory
mv: failed to access '/dev/null/inseng.dll.bak': Not a directory
mv: failed to access '/dev/null/jscript.dll.bak': Not a directory
mv: failed to access '/dev/null/mshtml.dll.bak': Not a directory
mv: failed to access '/dev/null/shdocvw.dll.bak': Not a directory
mv: failed to access '/dev/null/shlwapi.dll.bak': Not a directory
mv: failed to access '/dev/null/urlmon.dll.bak': Not a directory
Executing mkdir -p /home/kreyren/.cache/winetricks/ie8_server2003
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading https://bugs.winehq.org/attachment.cgi?id=65709 to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:19:18-- https://bugs.winehq.org/attachment.cgi?id=65709
Resolving bugs.winehq.org (bugs.winehq.org)... 4.15.184.77
Connecting to bugs.winehq.org (bugs.winehq.org)|4.15.184.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 439502 (429K) [application/x-ms-dos-executable]
Saving to: ���attachment.cgi?id=65709���
attachment.cgi?id=65709 100%[===============================================>] 429.20K 580KB/s in 0.7s
2019-11-20 20:19:20 (580 KB/s) - ���attachment.cgi?id=65709��� saved [439502/439502]
Executing cd /home/kreyren
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading https://bugs.winehq.org/attachment.cgi?id=65710 to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:19:20-- https://bugs.winehq.org/attachment.cgi?id=65710
Resolving bugs.winehq.org (bugs.winehq.org)... 4.15.184.77
Connecting to bugs.winehq.org (bugs.winehq.org)|4.15.184.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 476983 (466K) [application/x-ms-dos-executable]
Saving to: ���attachment.cgi?id=65710���
attachment.cgi?id=65710 100%[===============================================>] 465.80K 307KB/s in 1.5s
2019-11-20 20:19:23 (307 KB/s) - ���attachment.cgi?id=65710��� saved [476983/476983]
Executing cd /home/kreyren
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /dev/null/iexplore.exe
cp: cannot stat '/dev/null/iexplore.exe': Not a directory
FATAL: Note: command cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /dev/null/iexplore.exe returned status 1. Aborting.
kreyren@dreamon:~$ rm -r ~/test ; WINEARCH="win64" WINE="/opt/wine-staging/bin/wine" WINEPREFIX="$HOME/test" /usr/src/kreytricks/src/winetricks ie8_server2003
nix_linux
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using kreytricks 20190912-next - sha256sum: 73b040cdcb9f273ff2f39efeb15442a20179822a8e534b395a3b8cd7113e6001 with wine-4.20 (Staging) and WINEARCH=win64 on WINEPREFIX=/home/kreyren/test including WINEDEBUG=fixme-all
Executing w_do_call ie8_server2003
Executing load_ie8_server2003
The operation completed successfully
Setting Windows version to win2k3
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\set-winver.reg
Executing /opt/wine-staging/bin/wine64 regedit C:\windows\Temp\_ie8_server2003\set-winver.reg
------------------------------------------------------
Running /opt/wine-staging/bin/wineserver -w. This will hang until all wine processes in prefix=/home/kreyren/test terminate
------------------------------------------------------
Using native,builtin override for following DLLs: ieframe ieproxy jscript mshtml shdocvw shlwapi urlmon vbscript wininet xmllite
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
Executing /opt/wine-staging/bin/wine64 regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
Using builtin override for following DLLs: updspapi
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
Executing /opt/wine-staging/bin/wine64 regedit C:\windows\Temp\_ie8_server2003\override-dll.reg
mv: cannot stat '/home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/iexplore.exe': No such file or directory
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /home/kreyren/test/dosdevices/c:/windows/system32/iexplore.exe
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65709 /home/kreyren/test/dosdevices/c:/windows/syswow64/iexplore.exe
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65710 /home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/iexplore.exe
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/attachment.cgi?id=65709 /home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/iexplore.exe
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading https://github.com/Winetricks/winetricks/raw/master/files/winetest.cat to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:20:47-- https://github.com/Winetricks/winetricks/raw/master/files/winetest.cat
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Winetricks/winetricks/master/files/winetest.cat [following]
--2019-11-20 20:20:47-- https://raw.githubusercontent.com/Winetricks/winetricks/master/files/winetest.cat
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.16.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.16.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 448 [application/octet-stream]
Saving to: ���winetest.cat���
winetest.cat 100%[===============================================>] 448 --.-KB/s in 0s
2019-11-20 20:20:48 (13.0 MB/s) - ���winetest.cat��� saved [448/448]
Executing cd /home/kreyren
Executing cp -f /home/kreyren/.cache/winetricks/ie8_server2003/winetest.cat /home/kreyren/test/dosdevices/c:/windows/syswow64/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}/oem0.cat
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
Downloading http://download.microsoft.com/download/7/5/4/754D6601-662D-4E39-9788-6F90D8E5C097/IE8-WindowsServer2003-x64-ENU.exe to /home/kreyren/.cache/winetricks/ie8_server2003
--2019-11-20 20:20:48-- http://download.microsoft.com/download/7/5/4/754D6601-662D-4E39-9788-6F90D8E5C097/IE8-WindowsServer2003-x64-ENU.exe
Resolving download.microsoft.com (download.microsoft.com)... 2.17.15.199, 2a02:26f0:40:285::e59, 2a02:26f0:40:29f::e59, ...
Connecting to download.microsoft.com (download.microsoft.com)|2.17.15.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33972080 (32M) [application/octet-stream]
Saving to: ���IE8-WindowsServer2003-x64-ENU.exe���
IE8-WindowsServer2003-x64-ENU 100%[===============================================>] 32.40M 50.4MB/s in 0.6s
2019-11-20 20:20:48 (50.4 MB/s) - ���IE8-WindowsServer2003-x64-ENU.exe��� saved [33972080/33972080]
Executing cd /home/kreyren
Executing cd /home/kreyren/.cache/winetricks/ie8_server2003
000d:err:menubuilder:convert_to_native_icon error 0x80070003 creating output file L"Z:\\home\\kreyren\\.local\\share\\icons\\hicolor\\16x16\\apps\\97C1_wordpad.0.png"
000d:err:menubuilder:convert_to_native_icon error 0x80070003 creating output file L"Z:\\home\\kreyren\\.local\\share\\icons\\hicolor\\16x16\\apps\\7765_winebrowser.0.png"
000d:err:menubuilder:convert_to_native_icon error 0x80070003 creating output file L"Z:\\home\\kreyren\\.local\\share\\icons\\hicolor\\32x32\\apps\\7765_winebrowser.0.png"
000d:err:menubuilder:convert_to_native_icon error 0x80070003 creating output file L"Z:\\home\\kreyren\\.local\\share\\icons\\hicolor\\256x256\\apps\\7765_winebrowser.0.png"
000d:err:menubuilder:convert_to_native_icon error 0x80070003 creating output file L"Z:\\home\\kreyren\\.local\\share\\icons\\hicolor\\48x48\\apps\\7765_winebrowser.0.png"
Executing cd /home/kreyren/test/dosdevices/c:/windows/syswow64
Executing cd /home/kreyren/test/dosdevices/c:/windows/system32
------------------------------------------------------
Working around wine bug 25648 -- Setting TabProcGrowth=0 to avoid hang
------------------------------------------------------
Executing /opt/wine-staging/bin/wine regedit C:\windows\Temp\_ie8_server2003\set-tabprocgrowth.reg
Executing /opt/wine-staging/bin/wine64 regedit C:\windows\Temp\_ie8_server2003\set-tabprocgrowth.reg
Executing cp -f /home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/ieproxy.dll /home/kreyren/test/dosdevices/c:/windows/syswow64
cp: cannot stat '/home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/ieproxy.dll': No such file or directory
FATAL: Note: command cp -f /home/kreyren/test/dosdevices/c:/Program Files (x86)/Internet Explorer/ieproxy.dll /home/kreyren/test/dosdevices/c:/windows/syswow64 returned status 1. Aborting. I tried to implement that in Kreytricks@e5cf3f4, but eventually failed after experimenting for 40mins (still experimenting) |
f.txt Somehow i`m not able to test this with WINEARCH=win32. Is supposed to really work at all, as the app is 64-bit? Could someone give some advice on this?? Or can i add a check so that it refuses to run on win32? It is not meant for win32 after all... Also, don`t know how to do pull request. Could someone give some help? Thanks in advance... |
What is this? since it's outside of EOF maybe typo? |
It |
I don`t know how to do pull request, i ended with a diff file, what now? https://github.com/PietJankbal/winetricks/pull/1/commits/ed9191a91c75fe9d8908734f10fe1a22bf050d52 |
@PietJankbal Referencing: https://github.com/Kreytricks/kreytricks/wiki/How-to-make-a-merge-request-(pull-request) Note that winetricks maintainers ideally want perfect commit squashed (referencing statement #1414 (comment)) (example #1428), if you need a mentoring i'm teaching contributors in kreytricks (https://github.com/Kreytricks/kreytricks/wiki/Introduction#how-do-i-make-wineapps-working-on-wine) example of mentoring workflow: Kreytricks#13 |
Well, for users like me it would be handier to just submit it patch (right? without further complexity) so I attach it here (rename to ie8_server.patch and apply to winetricks) Please consider taking this up, it`s handy for working around several mshtml and the like bugs. Regards |
@PietJankbal I'm working on this on kreytricks but so far I wasn't able to make it work. I try your latest patch and let you know. |
@PietJankbal while it may be a bit easier to upload a diff (really, a PR is about the same amount of work), it's a lot more work for me as maintainer. The main issue is I can't give line by line feedback, nor proper attribution in git history. Keep in mind that I'm a volunteer with a full time job and other responsibilities. While this is a valid request, a diff rather than PR increases the amount of time and effort required, which means I'm less likely to look at it until I have a proper amount of time to dedicate to it. |
So i think i accidentaly deleted my pull request/fork I think i have to create a new one (?) However: I`m still stuck at the ProgramFiles issue; Either I do something wrong or winetricks returns wrong things (note i run from source tree at ~/sda2); Current code i have: w_try cp -f "$W_CACHE/$W_PACKAGE/iexplore64.exe" "$W_PROGRAMS_UNIX/Internet Explorer/iexplore.exe" WINE=/sda2/wine64-build/wine64 winetricks -q ie8_server2003 WINE=/sda2/wine64-build/wine winetricks -q ie8_server2003 It all expands to Program Files (x86) which is obviously wrong. What am i doing wrong/is wrong? |
Running from the source tree won't work, as the wine64 build dir only has a 64-bit install. You need to install it somewhere (along with wine32). |
Thanks for the comment As stated in issue #1451 I think what i really need to finish this script is some variable that gives me the unix path to ProgramW6432. I`ll await comment on that for now and postpone finishing this script until solution is clear. |
Script at https://raw.githubusercontent.com/PietJankbal/temporary_stuff/master/ie8_server2003.txt I`ll await first other PR settle down |
hi , giving up on this |
winetricks ie8 only does win32 which is a nuisance....
I put together hacky script, doesn`t need win32 arch set. Needs lots of improvement but would be nice if somehow something along these lines could be included in winetricks
See also https://bugs.winehq.org/show_bug.cgi?id=34048
see few comments below for script in attachment
The text was updated successfully, but these errors were encountered: