Oleg_II Posted October 28, 2006 Author Share Posted October 28, 2006 (edited) fdv Not that I can't recommended but I found MSHTML.DLL installs during unattended even if it is not in TXTSETUP.SIF but just from disk in some conditions (in my case it was called by some program that wanted to open CHM after installation). And when called (installing) it writes quite a few lines into regestry (I compared regestry of two systems installed from disks without it and with it). Not all of these lines are needed. All these regestry lines are into DLL itself. I tried to delete them and leave the file on CD but it reterns errors this way.When using self-extracting archive it's not installed also. It is just placed in some folder and one or a few lines are written into regestry. The DLL is not registered at all (if you try to register it you will get all these lines into regestry again and probably will get some errors about missing WINHTTP.DLL during logoff or shutdown).The same is with other help DLL and OCX files. So it's better not installing them at all. But finding which files and which regesrty entries are needed, then just placing files somewhere without registering and making these regestry changes (if needed at all).The example with MSN Messanger: take its folder from ProgramFiles of other computer and move to your computer (I make self-extracting archive with it too). Place WINHTTP.DLL into this folder without registering this DLL at all and MSN Messanger will work on highly reduced system without IE Edited October 28, 2006 by Oleg_II Link to comment Share on other sites More sharing options...
tommyp Posted October 29, 2006 Share Posted October 29, 2006 To all - be careful if using OlegII's silent help installer if you are hfslipping ie6 & hfcleanuping ie6. The installer seems to break some mshtml stuff specific for ie6. Link to comment Share on other sites More sharing options...
Oleg_II Posted October 31, 2006 Author Share Posted October 31, 2006 To all - be careful if using OlegII's silent help installer if you are hfslipping ie6 & hfcleanuping ie6. The installer seems to break some mshtml stuff specific for ie6. Probably, because it intsalls the main DLL - MSHTML.DLL in other location.By the way - I'm not sure if it is needed to use this installer with hfslipping ie6. I think MSHTML.DLL should be in the system already with ie6. Do you have problems with openning CHM files? Link to comment Share on other sites More sharing options...
tommyp Posted October 31, 2006 Share Posted October 31, 2006 I have probs with chm files, probably because of the itss files. I typically don't need the help files, so it doesn't bother me. I'll have to retrofit the reducers to fix this... one of these days. Link to comment Share on other sites More sharing options...
Oleg_II Posted October 31, 2006 Author Share Posted October 31, 2006 You can try to delete MSHTML.DLL part from INF and use only the rest of it - it should work for CHM files (at least I included all other files). Link to comment Share on other sites More sharing options...
tain Posted November 1, 2006 Share Posted November 1, 2006 I think that my results are different from tommyp's because I reduce more than him (ZZZZZ_TOTAL_REMOVER_IE.REM). Link to comment Share on other sites More sharing options...
Oleg_II Posted November 1, 2006 Author Share Posted November 1, 2006 TAiN This installer is mostly for those who delete IE completely If somebody leaves it in the system (like TommyP does) there is no need to run it or some changes in it are needed to make support for CHM files (all entries about MSHTML.DLL should be deleted from INF and DLL itself is not needed too - it should be in system32 already anyway). Link to comment Share on other sites More sharing options...
iWindoze Posted December 4, 2006 Share Posted December 4, 2006 TAiN This installer is mostly for those who delete IE completely If somebody leaves it in the system (like TommyP does) there is no need to run it or some changes in it are needed to make support for CHM files (all entries about MSHTML.DLL should be deleted from INF and DLL itself is not needed too - it should be in system32 already anyway).Do you know if Fred put this on site yet? I've been waiting for him to do so before I start trying to tinker with Win2000 again...--iWindoze Link to comment Share on other sites More sharing options...
Oleg_II Posted December 5, 2006 Author Share Posted December 5, 2006 iWindozeWhy? If you need this trick and you deleted IE completely just use it What I mean: this is an additional installer, it depends on you if you want to use it or not. Anyway it's better to delete the files from the distro before installing because your installation will be cleaner. And if you want to add back the ability to open CHM you use the installer (may be done during unattended also). Link to comment Share on other sites More sharing options...
fdv Posted December 6, 2006 Share Posted December 6, 2006 I changed my MSHTML installer completely to Oleg's, but I have never tested it.It is now in my fileset. However...Because of a fluke which Tomcat is helping me work on, MSHTML.DLL -is- now installed in the system32 directory. This is due to the way HFSLIP parses and adds filenames to TXTSETUP. It shouldn't be happening but I need to work with Tomcat to get this fixed. The reality is that even with these unnecessary files in system32, explorer still will not display web sites, nor will ActiveX controls be a concern, etc. So even with this bug in place the system is still quite secure.Request: I need a CMD file to parse TXTSETUP and generate a list of filenames with a semicolon in front. I -think- I had one once but I don't recall whop wrote it. I'm an INF writer not a CMD writer. Any takers? It would parse TXTSETUP and... make a list in another file...filename1.111;filename2.222;filename3.333filename4.444would make a TXT file that would only have in it...filename2.222filename3.333Any takers? Maybe TommyP made that little util for me.. I'll have to ask because I have little memory. Link to comment Share on other sites More sharing options...
Tomcat76 Posted December 6, 2006 Share Posted December 6, 2006 (edited) If you want to parse every line with a filename it could be something like this:FOR /F "TOKENS=* DELIMS=" %%I IN ('FINDSTR/IR ",,," SOURCE\I386\TXTSETUP.SIF') DO ECHO>>SEMITXT.TXT ;%%IThis is on one line. Edited December 6, 2006 by Tomcat76 Link to comment Share on other sites More sharing options...
Yzöwl Posted December 6, 2006 Share Posted December 6, 2006 >COMMENTS.TXT FINDSTR/B ; TXTSETUP.SIF<Edit>I know this is not the full answer you require. I just thought I'd see if anyone had a reasonable solution before I posted one!Later</Edit> Link to comment Share on other sites More sharing options...
Yzöwl Posted December 7, 2006 Share Posted December 7, 2006 Sorry for the bump…I just cannot believe that noboby is willing to give the fdv cmd script a go!PS.TC, you dont need to state all tokens, because with no delimiters, there is only one token. Findstr doesn't need a switch for case sensitivity, nor in this case a regular expression. In fact you dont really need findstr at all.FOR /F "DELIMS=" %%I IN ('FINDSTR ",,," SOURCE\I386\TXTSETUP.SIF') DO >>SEMITXT.TXT ECHO/;%%Iwould give the same output as your example.FOR /F "DELIMS=" %%I IN ('FIND ",,," ^<SOURCE\I386\TXTSETUP.SIF') DO >>SEMITXT.TXT ECHO/;%%Iwould also produce the same result.Of course the fact that the result has no similarity to that which was requested, both code fragments above are relatively pointless too! Link to comment Share on other sites More sharing options...
Tomcat76 Posted December 7, 2006 Share Posted December 7, 2006 I thought the tokens weren't needed either, but I'd consistently get "ECHO is on" or "ECHO is off" (depending on whether I added the ECHO command at the top) if I didn't include the TOKEN for this particular case. I experimented a bit to find out why but I have better things to do so I gave up.The /IR isn't necessary. You can see I didn't spend much time on it... Link to comment Share on other sites More sharing options...
Yzöwl Posted December 7, 2006 Share Posted December 7, 2006 Once again, sorry for the thread hijack!TC, that's got nothing to do with tokens.Try this!@ECHO OFFSETLOCALSET MYVAR=This is example number oneECHO %MYVAR%SET MYVAR=ECHO %MYVAR%ECHO ButREM Use a slash or period right after the echo!ECHO.ECHO/SET MYVAR=These areECHO/%MYVAR%SET MYVAR=other examplesECHO.%MYVAR%SET MYVAR=ECHO/%MYVAR%ECHO.%MYVAR%ECHO That's allPAUSEENDLOCAL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now