Das Forum

Error on POL_Install_ie6 function script

can't download the file ie6sites.dat

Autor Antworten
Unkuiri Friday 24 September 2010 at 0:23
Unkuiri

Hi, can someone edit the POL_Install_ie6 function script, it is now giving an error downloading the file ie6sites.dat I've managed to work it out changing the download site to one that redirects to the same site but I don't know why, this way it works..:P..:

POL_SetupWindow_Init
 
MS_LICENCE="$SITE/divers/ie_license.txt"
 
cd $REPERTOIRE/tmp/
wget "$MS_LICENCE" -q
 
POL_SetupWindow_licence "Please read this carrefully" "Internet Explorer 6 Licence" "$REPERTOIRE/tmp/ie_license.txt"
 
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_Call POL_Install_msls31
POL_Call POL_Function_OverrideDLL native,builtin iexplore.exe itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon
 
POL_LoadVar_PROGRAMFILES
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Internet Explorer/"
mv iexplore.exe iexplore.bak
cd ..
 
cd "$WINEPREFIX/drive_c/windows/system32"
for dll in itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon
do
 [ -f "$dll.dll" ] && mv "$dll.dll" "$dll.bak"
done
 
Set_OS win2k
 
mkdir "$REPERTOIRE/tmp/ie6"
cd "$REPERTOIRE/tmp/ie6"
POL_SetupWindow_download "Downloading ie6sites.dat" "Internet Explorer 6" "http://windowsupdate.microsoft.com/iesites/ie6rtw/ie6sites.dat"
POL_SetupWindow_download "Downloading ie6setup.exe" "Internet Explorer 6" "http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/ie6setup.exe"
 
cd "$WINEPREFIX/drive_c/windows/system32"
rm browseui.dll
rm inseng.dll
 
cd "$REPERTOIRE/tmp/ie6"
POL_SetupWindow_wait_next_signal "Installing internet explorer 6" "Internet Explorer 6"
wget $SITE/divers/ie6reg.reg
wine regedit ie6reg.reg
wine ie6setup.exe
POL_SetupWindow_detect_exit
 
POL_SetupWindow_pulsebar "Installing libraries" "Internet Explorer 6"
cd "$WINEPREFIX/drive_c/windows/system32"
PULSE=0
for file in actxprxy.dll browseui.dll browsewm.dll cdfview.dll ddraw.dll dispex.dll dsound.dll iedkcs32.dll iepeers.dll iesetup.dll imgutil.dll inetcomm.dll isetup.dll jscript.dll laprxy.dll mlang.dll mshtml.dll mshtmled.dll msi.dll msident.dll msoeacct.dll msrating.dll mstime.dll msxml3.dll occache.dll ole32.dll oleaut32.dll olepro32.dll pngfilt.dll quartz.dll rpcrt4.dll rsabase.dll rsaenh.dll scrobj.dll scrrun.dll shdocvw.dll shell32.dll urlmon.dll vbscript.dll webcheck.dll wshcon.dll wshext.dll asctrls.ocx hhctrl.ocx mscomct2.ocx plugin.ocx proctexe.ocx tdc.ocx webcheck.dll wshom.ocx
do
 sleep 0.1
 POL_SetupWindow_set_text "$file"
 wine regsvr32 /i $file
 [ $PULSE = 100 ] || PULSE=$(( PULSE + 2 )) 
 POL_SetupWindow_pulse $PULSE
done
 
POL_SetupWindow_improve_fonts
 
POL_SetupWindow_detect_exit

Thanks..:)
GNU_Raziel Friday 24 September 2010 at 2:48
GNU_Raziel

Function edited.

You don't need to add an Init in this script, since it's always called fron another script, POL_Window is already open :)
Unkuiri Friday 24 September 2010 at 6:09
Unkuiri

Still not working...:(...where can we download this ie6sites.dat file?
GNU_Raziel Friday 24 September 2010 at 12:53
GNU_Raziel

I don't know sorry, the one you download in this function is not good ?
Unkuiri Friday 24 September 2010 at 22:28
Unkuiri

I think the file would be good if the download link worked..but i don't know why, the link isn't working...
Unkuiri Friday 24 September 2010 at 23:33
Unkuiri

It's working again...:P...