If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Default to keep newer file during installs?
Is there a registry key to set W98's hardware (and perhaps software) installs
to default to silently overlooking the presence of a newer file, and keeping it, when installing new hardware? An INI file entry will do equally well if there is one, but not a commandline switch as the install process isn't invoked that way, at least not in this case (while Windows is active). (It could also be useful to set a value to cause a silent ignore of newer files while defaulting to replace with older ones, and if a way to do that exists, it might lead to an answer to the default-to-keep-newer method). |
#2
|
|||
|
|||
Default to keep newer file during installs?
On Jun 4, 12:07*pm, Lostgallifreyan wrote:
Is there a registry key to set W98's hardware (and perhaps software) installs to default to silently overlooking the presence of a newer file, and keeping it, when installing new hardware? An INI file entry will do equally well if there is one, but not a commandline switch as the install process isn't invoked that way, at least not in this case (while Windows is active). (It could also be useful to set a value to cause a silent ignore of newer files while defaulting to replace with older ones, and if a way to do that exists, it might lead to an answer to the default-to-keep-newer method). No. The behavior you describe is the default one for inf files and with a flag you can ignore current files and install the packages files always, install only higher versioned files, or ask the user if he wants his newer file overwritten with an older one if such is the case. Otherwise the user is not informed usually of anything. File date is really NOT the deciding issue, only file version number is - higher is assumed to be newer and the one to use. You might want to look at the help file for WillyPad which is an inf file notepad type of program. Good info in it though. http://sn81.free.fr/snoopy81/files/ Write your own packages with IExpress http://www.mdgx.com/add.htm#IEA |
#3
|
|||
|
|||
Default to keep newer file during installs?
|
#4
|
|||
|
|||
Default to keep newer file during installs?
|
#5
|
|||
|
|||
Default to keep newer file during installs?
Lee wrote:
(...) Just out of curiosity Lee - how does one get a "my-deja.com" e-mail address? Or is that a non-functional (bogus) address? |
#6
|
|||
|
|||
Default to keep newer file during installs?
|
#7
|
|||
|
|||
Default to keep newer file during installs?
On Jun 5, 9:15*am, Lostgallifreyan wrote:
Lee wrote in news:a939b0e3-77a5-40f7-be7e- : with a flag you can ignore current files and install the packages files always, install only higher versioned files... I found two equal file version numbers, 'File Version' and 'Product Version'. While I tested using actual different versions of USBaudio.sys using the COPYFLG_NO_VERSION_DIALOG flag (value 32), finding that it preserved the newer version, I did a hex edit hack test to force an updated value for both version numbers in the destination file, and that failed, the 'older' copy overwrote it. Any idea what else is being tested? It can't be just version numbers. (I tried changing dates, expecting no change, and got none), but it might be size (I tried putting extra bytes in a copy to see if it worked, but it borked the version resource! Got to use a resource hacker somehow if I test that again). For reference, here's my test INF: [Version] Signature="$CHICAGO$" [DefaultInstall] CopyFiles=X [DestinationDirs] X=10,Desktop [X] Usbaudio.sys,,,32 ;COPYFLG_NO_VERSION_DIALOG ;no version conflict dialog ;keep newer file if it exists Not too sure you can muddle about in files like that and get away with it to start with. CRC, digital signatures and other methods conspire to keep people from doing exactly what you are wanting to do - change version numbers to your own and make dll hell anew. I don't have any ideas anyway, sorry. But it's not size. Over on MSFN.org they are changing versions by recompiling the entire file and that works. At one time I wanted to make a msi installation checker to see if every file in the msi package was installed correctly and to test it I would hex edit one byte (bit) and the inf file checker would replace it right now and leave untouched files alone. I knew as I had changed the dates on everything with Properties Plus - how the inf file could find the files with one bit difference I have no clue but it did. It must be doing a genuine CRC check? I found that 40 flag in some obscure inf file and made a note of it. It's an undocumented flag to be sure like most of the inf file process and processing - In house and on a need to know basis only I suspect. Us on the outside can only guess at it sometimes. http://groups.google.com/group/micro...98ab39265b4a77 Windows Installer 2.0 Redistributable for Windows 95, 98, and Me - 25 Sep 2001 1,670kb http://www.microsoft.com/downloads/d...2-DE3BB768148F 98guy - it's a non-functional address now at least, I got mine when Deja.com still owned Usenet and not Google. I never needed to change it? I never used the free email service of Deja.com if there was one anyway. I was such a noob at the time I just froze like a deer in the headlights and kept on posting when Google took over. I'm doing good to have it say Lee instead of mel like it does in some of my other google groups. Several wanted me to use LookOut Express to download these groups, but I never felt secure enough that my email wouldn't get 'out there' despite their best advice. My email files are big enough as it is anyway. And now there is little point - the Atari 8- bit group gets more visits per week than this one... sniffle |
#8
|
|||
|
|||
Default to keep newer file during installs?
|
#9
|
|||
|
|||
Default to keep newer file during installs?
|
#10
|
|||
|
|||
Default to keep newer file during installs?
|
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing installs\WinCabs\98SE file | richeyrich | General | 4 | August 5th 06 05:21 AM |
SpywareBlaster NEWER ONE (3.5.1) | Heather | General | 3 | January 3rd 06 03:32 AM |
WinME's "Open (File)" List View Default | Richard Hey | Monitors & Displays | 0 | January 23rd 05 03:49 AM |
File view default | Peter NH | New Users | 2 | June 23rd 04 09:40 PM |
Partition & Format HDD in Newer PC, Install it in Old PC | Brad | Disk Drives | 1 | May 25th 04 02:51 PM |