Jump to content

Delprat

Member
  • Posts

    484
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by Delprat

  1. i'm not afraid of .net, i'm afraid of my disk space : .net 2 eats enough space to store lots of music. and i do prefer music to ".net 2". And my comp can't run vista. and i will not buy a new hd only for .net. and so on i can find lots of good reasons to not use this and say that it's a piece of crap. Read again, XPero : i did not stated that your app is a piece of junk, i said .net is. I do not care if your app use 1 million more bytes than a batch : it will be 1 MB (or about 1 minute of music...). That's not a waste if it looks better for example (i'm using a wallpaper and a theme also... i'm not on 3.1 !) But when it comes to have a so small app that requires so much runtimes, it's a waste (openoffice uses less space on my disk, and does many many many many many many many more...). Moreover, it is possible to acheive the same result without these runtimes. (but not in C#, thus my comment about "junk" & .net) If you only want positive feedbacks, tell so in your posts. Anyway, you nearly answered yourself to your question. i were not trying to be "destructive", i'm only saying what i think as directly as i can. ok, you want to exercise, so look for the suggestions i made, and code the ones you feel able to (i have one more suggestion : make a rounded progressbar for each file on the outer, and another for the whole fileset in the inner, both clockwise or one clockwise and one counterclockwise or you can even blend them. rounded progressbars would be really innovative, even if they existed 25 years ago in car games as speed meters) yes, and when the "developer" is feeded with so many ready-to-use functions, he tends to become no more than a script kiddie. I don't know (nor care) what computer you have nuhi, but when i installed .net 2 to try the latests nlites, i saw that the UI was flickering. I have the same problem with 1.1 and olders nlites, but it's just "a flash" of less than a second. With .net 2 it lasts far more. There is not enough controls on your forms to create a ressource hog on a 1GHz+ CPU (hey, ms office, or openoffice has at least 10x more controls, and no display problems -- they load faster, even without their "quickstarters"). Only explanation is there is too many overrides/hooks on the refresh/painting functions (mainly, but also on other standard windows functions to get the "managed" code to work). And guess what ? you didn't even wrote *one* of those painting functions, since you relie on "the bunch of files sitting there if needed" (which is the normal coding way in such an high-level language -- the matter is the lack of compiler : only precompilation is made, and everything is left at the intermediate IL stage, like 20-years-old QBASIC in MS-DOS). i don't need an app that has an incorrect display everytime i click somewhere. and i never saw a .net app that displays perfectly, when i saw many non-.net doing the same tasks with no display problems. i'm too tired to discuss more about .net flaws (late night here), but i'll end up with that : you said there is a ".net optimisation service". Do you know what this service is about ? Do you know of any other "framework" that need a similar service ? You're thinking of Java ? yes ? Good answer (else, i'm interested). Guess what ? Java is portable between OSes, .net is not. And Java win32 runtimes are half the size of .net. Only this would be enough for me to say "piece of junk" about .net. footnote : all i say here is my *general* point of view, there is no personal offense intended. ++
  2. Yeah, a** have feelings, a** have ideas too I were (and is) thinking of something even more eye-candy. In the screenshot, the "switchbar" looks not so bad because of the titlebar (a sort of balanced effect). A sweeter solution is to get rid of both bars, it will be less boring : thus the "splitscreen" idea, maybe with two different icons and no text. Then, making its window rounded with some transparency plus an always on top setting and maybe fancy bouncing animations like UberIcon's will make it the wonderful-est toy for the windows unattended cd maker. But this .NET 2 dependancy is crap. Thanks ! But he (bledd) is wrong. There's so few apps requiring it... ++
  3. http://en.wikipedia.org/wiki/Windows_95#Editions As you can see, there is 6 editions. (i were right on that ! but not for the rest) If you look on this page : http://en.wikipedia.org/wiki/Windows_98_Second_Edition you'll see there is two Win98 SE : 2222A & 2222B if you update the first post, you really should sort all of this by families and technology (see http://en.wikipedia.org/wiki/Microsoft_Windows ) : windows 1, 2 windows 3 windows 4 (95, 98, Me) windows NT 3 windows NT 4 windows NT 5 (2000, XP, 2003, XPe, PE) windows NT 6 (Vista) windows CE (at least 3 versions, and multiple editions like PocketPC or Windows Mobile 2003) see also : http://en.wikipedia.org/wiki/History_of_Microsoft_Windows ++
  4. Stupid suggestion : do not try to fool the game. Instead, move its files elsewhere after playing it, and move its files back before playing it. Run.bat : ---------- @ECHO OFF MOVE /Y "F:\Where you want the files to be\*.*" "C:\Where the game save its files by default\*.*" START /WAIT "C:\Where the game is\Sims2SP1.exe" MOVE /Y "C:\Where the game save its files by default\*.*" "F:\Where you want the files to be\*.*" It will be fully transparent both for you and for the game. Note: the MOVE command can move only files, not folders. If there is folders, you need to use XCOPY + DEL + RD ++
  5. you forgot the two first Win95 editions (before the 4.00.950a, there were the "gold" or "vanilla" 4.00.950) In fact, there were more than "Win95, Win95a, Win95b & Win95c". If i remember correctly : Win95a : "OEM Service Release 1" (or "OSR-1") were only released to OEMs (no box edition) Win95b : "OSR-2" were released into a box, and OSR-2.1 were released to OEMs (there were two different Win95b, both had a boot screen saying "with Internet Explorer", but OSR-2.1 had updated drivers/binaries) Win95c : "OSR-2.5" were released only to OEMs, and added USB (USB support also released as hotfixes) I'm sure i'm don't recall exactly, but i'm also sure there is gold (floppies/CD), osr 1, osr 2, osr 2.1 and osr 2.5 : 6 editions. edit: now, that's really insane ++
  6. What means "tbh" ? i don't have .net 2. i do no longer use nlite since it requires .net 2 (previous versions were faster !). i do no longer update other apps that are running on 1.1 if the new ver needs 2... Even if eXPander could run with 1.1, i won't try it... _______________________________________________________________________________ Here is the one-line batch to expand : @for %%i in (%*) do @%systemroot%\system32\expand.exe -r %%i Here is the one-line batch to modifype & cab : @for %%i in (%*) do @(%systemroot%\system32\modifype.exe %%i -c & %systemroot%\system32\makecab.exe /D CompressionMemory=21 /D CompressionType=LZX /L %%~spdi %%i) Name these two batches like you want, and place them in your SendTo folder (or place shortcut to them in SendTo, it allows you to change the icon and the console window apparence). Both batches opens only one console window to process all selected files, and place the output (expanded or cabbed files) in the source folder. You can use spaces in the pathes, they are correctly quoted by explorer and by the FOR command (and "shortened" in 8.3 for /L makecab switch). The second batch requires command extensions enabled (if unsure, add @setlocal enableextension as the first line). /me stops polluating this great topic with ugly batches ++
  7. Missing from the list : -> Windows 95 (floppies) -> Windows 95 (CD-Rom, some more things if i recall correctly) -> Windows Server 2003 Small Business Server (?) -> Windows Server 2003 64-bits editions (sames as the 32-bits ?) -> Windows Server 2003 R2 ??? (is "R2" an edition ?) -> Windows XP N (i don't know if there is Home/Pro) -> Windows 3.0 ??? What about WinPE ? WinXP Embedded ? WinCE ? ++
  8. I'm not a mod. But i strongly dislike reading posts saying my lines are "stupid" with no more explanation, and with no real understanding of what were these lines. And i like them even less when they are in bold, with "superior sized" characters... (yes, red colored, bold, and size=3... you edited it, proving you feel wrong) Since you quoted lots, you must know what is the good solution for you (you seem to have ignored most of them...) Btw, i was not knowing the thread you refer to (rvm addon) when i posted my batch. ++
  9. What a wonderful piece of junk ! It's an eye-candy GUI for something that a 4kb batch can do... and it need this #!$£%§ .net 2 : hundreds, yes hundreads of megabytes of disk space ; and so many RAM used... For "space-savings-god" shake, rewrite it in another langage ! Anyway, i have a little suggestion : split the window in two parts, one for expand, one for cab+modpe ; it will avoid clicks on the "switchbar" and make it even more intuitive ! ++
  10. Unattended = New Install. That's the way MS did it AFAIK. One solution is to remove Winnt.sif from I386 before burning, and put it on a floppy : insert the floppy for unattended, don't insert for repair. (sounds so easy... and you can edit winnt.sif between uses, ie change the product key, the user name, etc...) I presume there is only a check for the existence of a winnt.sif file, thus it can be hacked. You just have to find someone skilled enough to do that... (this check is done multiple times, look at the floppy drive light) ++
  11. Is this current topic in the "Unattended Windows" forum ? Not at all The code i gave refreshes the current user's font cache (the "font cache" is something like the "icon cache" : you may need to refresh it if you replace an existing font file). I didn't stated it can do anything more. (the script says itself "log on back to refresh font cache" ) If you want a full font slipstream, look for "Fully Slipstream Fonts" thread in HFSLIP forum. The batch i posted there works in conjonction with HFSLIP (you can rename it HFSPLUG2.CMD and throw it in HFTOOLS to let HFSLIP run it, or you can run FONTSLIP manually before HFSLIP), and it uses FONTINST.EXE to get the correct registry entries. (in fact, you can bypass HFSLIP if you know how to deal with the files created by FONTSLIP : a reg hive HIVEFNT.INF to instal via txtsetup.sif [HiveInfs.Fresh], and FON/TTF files to cab & refer into txtsetup.sif [sourceDiskFiles] & dosnet.inf [Files]) And don't forget that all this "slipstream" stuff is needed only if you need your fonts during GUI setup (ex. setup billboard customisation, etc.). ++
  12. The ones you don't run are the safer. The ones you don't even download are the safest. Anyway, try this : @echo off Copy /Y MyHugeFontFolder\*.ttf %windir%\fonts del /f/q %appdata%\GDIPFONTCACHEV1.DAT shutdown -l -t 5 -c "log on back to refresh font cache" (this is an untested code) ++
  13. keytotime has made a "removal addon" for RyanVM integrator : http://www.ryanvm.net/forum/viewtopic.php?t=1769 His addon removes these files from i386 : IIS6.CAB IISNTW.CH_ IISWMMC.CH_ iisntw.chm iiswmmc.chm IIS.DL_ IISADMIN.DL_ IISCHE51.DL_ IISCLEX4.DL_ IISCRMAP.DL_ IISEXT51.DL_ IISFECNV.DL_ IISLOG51.DL_ IISMAP.DL_ IISMUI.DL_ IISRSTAP.DL_ IISRTL.DL_ IISSUBA.DL_ IISUI.DL_ iis.dll iisadmin.dll iische51.dll iisclex4.dll iiscrmap.dll iisext51.dll iisfecnv.dll iislog51.dll iismap.dll iismui.dll iisrstap.dll iisrtl.dll iissuba.dll iisui.dll IISRESET.EX_ IISRSTAS.EX_ IISSYNC.EX_ iisreset.exe iisrstas.exe iissync.exe IIS.IN_ iis.inf IIS.MS_ iis.msc IISPERF.PM_ iisperf.pmc and you need to remove the line starting with "iis=..." in sysoc.inf (or sysoc.in_) ++
  14. Seems like it's a new variant of MDMA, like extasy. ++
  15. This does work here... win XP, only _official_ hotfixes :) Alternative method : create a shortcut in SendTo (to the Fonts folder, or to the script) ++
  16. @ dieterso : 1/ copy the fonts to $OEM$\$$\Fonts 2/ Use a Winnt.sif file with OemPreinstall=Yes 3/ There is no third step When doing unattended install, the only case you may want to register manually the fonts is when you need a custom font for a custom setup billboard (that is, you want the font registered on first gui setup boot, before windows creates the font cache). ++ edit: sleepydvdr, you avatar is sooo scaring... maybe that's because you don't create a user... :siflotte:
  17. you don't need to "hex" anything, just use cdimage to create an optimized ISO before burning. read the guide : http://flyakite.msfn.org/ ++
  18. Ok, stupid bug from me In the code you tried to use, the %1 in the :INST section should be %*. Or you can replace %~dpnxa by %~fsnxa : it will return short pathes (here was my mistake). You last code look bad. All this "CALL :INST" stuff isn't needed if you don't want to use fontinst.exe ! A single line will be enough : for %%a in (%*) do if exist %%~fsnxa copy /y %%~fsnxa "%systemroot%\fonts" (there's no quotes aound %%~fsnxa since it's short path/name, if you use %%~dpnxa, add quotes) I'd bet this single line can go directly in the file association box (you may need to play a bit with quotes to get it working) : %systemroot%\system32\cmd.exe /e:on /s /c "for %%a in ("%1") do if exist %%~fsnxa copy /y %%~fsnxa %systemroot%\fonts" Anyway, even if it seems to be working, this sort of code without fontinst.exe is buggy. Imagine you have one installed font named "Verdana (TrueType)" with filename "VERDANA.TTF". You try to install a file named "VERD___.TTF" containing a font named "Verdana (TrueType)". With a simple copy operation, you'll end up with two Verdana files, and in fact only one used (but which ?). With fontinst.exe, this will not happen (the new font file will be installed only if newer)... And how a simple "copy" would handle variations (that is bold/italic/bold italic, sometimes in different files, sometimes in one single file) ? ++
  19. Same bug for your sound card. Here is a fix : Option Explicit '/-> Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 '/-> Dim objFolder, Ts, objFile Dim ObjWMI, objItem, colItems Dim dtmDate, dtm '/-> Dim Act : Set Act = CreateObject("Wscript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim Sys32 : Sys32 = act.ExpandEnvironmentStrings("%Windir%\System32") Dim Ini : Ini = "\oeminfo.ini" Dim strComputer : strComputer = "." Dim VBS : VBS = Act.ExpandEnvironmentStrings("%SystemDrive%\MkOem.Vbs") '/-> ' Create A New OEM INI Set Ts = Fso.OpenTextFile(Sys32 & Ini, 2, True) Dim LineNbr : LineNbr = 1 Function AddLine(strLine) Ts.WriteLine "Line" & LineNbr & "=" & strLine LineNbr = LineNbr + 1 End Function '/-> ' WMI Section '/-> Set ObjWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems Ts.WriteLine "[General]" Ts.WriteLine "Manufacturer = " & objItem.Manufacturer Ts.WriteLine "Model = " & objItem.Model Ts.WriteLine "" Next '/-----------------------------------------------------------------------> Ts.WriteLine "[Support Information]" AddLine " For Technical Support:" AddLine " to obtain updated drivers or for information on frequently" AddLine " asked questions, visit the MyCompany technical" AddLine " support web site at:" AddLine "" AddLine " http://www.mycompany.com/techsupport." AddLine "" '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems AddLine " OPERATING SYSTEM INFORMATION" AddLine " Name: " & objItem.Caption AddLine " Version: " & objItem.Version AddLine " Install Date: " & WMIDateStringToDate(objItem.InstallDate) AddLine "" Next '/-----------------------------------------------------------------------> Function WMIDateStringToDate(dtmDate) WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _ Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _ & " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate,13, 2)) End Function '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems AddLine " MOTHERBOARD INFORMATION" AddLine " Manufacturer: " & objItem.Manufacturer AddLine " Description: " & objItem.Description AddLine " Model: " & objItem.Model AddLine " System Type: " & objItem.SystemType AddLine "" Next '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Processor", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems AddLine " CPU INFORMATION" AddLine " Manufacturer: " & objItem.Manufacturer AddLine " Name: " & objItem.Name AddLine " Description: " & objItem.Description AddLine " Processor Speed: " & objItem.CurrentClockSpeed & "MHZ" AddLine " L2 Cache Size: " & objItem.L2CacheSize AddLine " L2 Cache Speed: " & objItem.L2CacheSpeed & "MHZ" AddLine "" Next '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_VideoController", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems AddLine " GRAPHICS CARD INFORMATION" AddLine " Description: " & objItem.Description AddLine " Adapter RAM: " & objItem.AdapterRAM AddLine "" Next '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_SoundDevice", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '/-----------------------------------------------------------------------> For Each objItem In colItems AddLine " SOUND CARD INFORMATION" AddLine " Manufacturer: " & objItem.Manufacturer AddLine " Description: " & objItem.Description AddLine "" Next '/-----------------------------------------------------------------------> Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_PnPEntity where ClassGuid = '{4D36E966-E325-11CE-BFC1-08002BE10318}'",,48) '/-----------------------------------------------------------------------> For Each objItem in colItems AddLine " HARDWARE ABSTRACTION LAYER INFORMATION" AddLine " HAL: " & objItem.Name AddLine "" Next '/-----------------------------------------------------------------------> Ts.Close '/-> Run The OEM INI Act.Run("Notepad.exe " & Sys32 & Ini), 1, True '/-> Delete The VBS Script If It Exists ' If Fso.FileExists(VBS) Then Fso.DeleteFile(VBS) End If ++
  20. you're welcome. That's nothing /Y makes COPY, MOVE or XCOPY singing & dancing no matter of where their goes ++
  21. Whenever i'll need english lessons, i'll call you. I were only suggesting in an interogative form that this part of the review is entirely pointless, full of what we french frogs are naming "langue de bois". Why starting with a "some people may..." argument saying "there is no 98/ME support" (about an app designed from scratch for NT 5 !!!) then ending with "but many other people..." ???? Better to say nothing, and drive the reader to this great forum, instead of crying about the lack of help file ! (maybe you & the author don't know, but this absence is a feature to get more feedbacks here !) Well, time to get back to a serious topic ! Hopefully not ! Ex: SysOC were there... /me tremble de tout ses membres et craint de devoir perdre une main : "Noooooon !" ++
  22. DDE = Dynamic Data Exchange i don't know anything more about that, except that it's meant for "regular" win32 applications, not for batches. I tested again, and all seems ok, even if the box comes back checked. You should have these DDE fields : [x] use DDE Message : Application : install_font Inactive App : "rubrique" (doesn't know its translation) : System Now, edit install_font.cmd : @echo off echo. echo Install font file : %1 echo. copy /y "%1" "%systemroot%\fonts" echo. pause Then select 5 fonts and install them. you'll see five console boxes, with five successful copy operations. Now, go to windows\fonts with explorer. Your fonts aren't there. That is because explorer doesn't display the real contents of the fonts folder, but only the registered fonts, in the reg key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts. Open a cmd prompt and CD %windir%\fonts, then DIR to see : your fonts are there. To see your fonts in explorer (and in other apps too), you need to refresh the font cache, either with F5 in explorer (or menu View > refresh), either by creating the reg entry, either by rebooting (or maybe relogging). Another method is to use fontinst.exe (a little MS executable that creates the reg entries) : 1. google for "microsoft core fonts for the web" : you'll end up on a sourceforge site, and D/L the andale32.exe archive : fontinst.exe is in there 2. copy fontinst.exe to system32 3. use this install_font.cmd script : @echo off setlocal enableextensions MD "%TEMP%\FNT.TMP" FOR %%a IN (%*) DO IF EXIST %%a CALL :INST %%~dpnxa CD /D %TEMP% RD /Q/S FNT.TMP GOTO :EOF :INST TITLE Installing font %1... COPY /Y "%1" "%TEMP%\FNT.TMP" ECHO [fonts]>"%TEMP%\FNT.TMP\fontinst.inf" DIR /A/B "%TEMP%\FNT.TMP\*.TTF">>"%TEMP%\FNT.TMP\fontinst.inf" MOVE /Y "%systemroot%\system32\fontinst.exe" "%TEMP%\FNT.TMP" START /WAIT "%TEMP%\FNT.TMP\fontinst.exe" MOVE /Y "%TEMP%\FNT.TMP\fontinst.exe" "%systemroot%\system32" GOTO :EOF note : fontinst.exe will fail if a font of the same name and of a higher version is already installed (if version is lower, it will replace it) ; it will fail if it can't read the font name in the TTF file. ++
  23. What is the MKDIR.EXE included in the archive, copied to system32 by the main batch, and left there after ???
  24. newsposter, i do agree with you. As an excuse for Codrut Nistor (the reviewer), i'll say that it's hard to compare nlite to something else. Don't listen to booogy & Camarade_Tux, they are from the dark side...
×
×
  • Create New...