Computing.Net > Forums > Disk Operating System > Updating files (unreg / re-reg)

Updating files (unreg / re-reg)

Reply to Message Icon

Original Message
Name: JMM
Date: February 23, 2004 at 16:48:17 Pacific
Subject: Updating files (unreg / re-reg)
OS: 98 and XP
CPU/Ram: Pen III and up 256 and up
Comment:

I have the need to update a very large program on a network. This program will get updated often and has well over 100+ dll's. It is running on win98 and xp desktops. It was easy to get updates pushed out by using xcopy and having it reference a network location and compare the dates there against the dates on the local computers and then only copy the updated files down from the network. This works great! but now I have the need to make changes to the batch file so that it will unregister newly copied dll's and then re re-register them. At first I just had it just doing an unreg to all files in the dir on the local computer but like I said there are over 100+ and growing so it was taking about 10 minutes to unreg and re-reg. So does anyone know how I can have it unreg and re-reg just the files that were xcopied by newer date ??

It would be a process for updating 1500+ PC about once a week.

Thanks

Thanks,
Jeff


Thanks,
Jeff


Thanks,
Jeff


Report Offensive Message For Removal


Response Number 1
Name: melee5
Date: February 25, 2004 at 01:12:53 Pacific
Subject: Updating files (unreg / re-reg)
Reply: (edit)

Batch method that would work in both 9x and NT beyond my skills for sure. Problem of course is that you have no file list of only the files that are newer using xcopy method. If you had that then you could prepend unreg and reg strings to two copies of the same file list and run them as pre and post batch files.

Unregistering in your case would only apply to shared dlls and/or files currently in use? I ask because using an .inf file to do this update would allow for current file version testing and automatic registering of same only IF that file was copied over. It also does temporary renaming of files in use and delayed registering after temp file overwrites old file at next boot up. Most dll files are NOT self registering so some time saved by only doing the ones that ARE? Dependencey Walker will show which are and which do not even have a self register entry point.

With so many files to update and so often on so many machines maybe you need to look into inf files to make life a tad bit easier?
http://snoopy81.ifrance.com/snoopy81/download.htm
http://msdn.microsoft.com/library/en-us/install/hh/install/inf-format_7soi.asp
http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/infdef.htm
http://msdn.microsoft.com/library/en-us/setupapi/setup/authoring_an_inf_file.asp

You could further roll up the inf file and the update files into an Iexpress executable package. Once you have the template down all you would need to do is replace the files themselves and roll another package for your weekly update and distribute it. Iexpress.exe is inside any recent IEAK package so you may have it already and not know of it?
http://www.microsoft.com/windows/ieak/

Networking not done here but it seems to me that if the inf file could be invoked on the various workstations while referencing the network location as the source of the files this is all you would really need other than to update the files on the network location?

Hope something I've offered helps.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Updating files (unreg / re-reg)

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge