Microsoft KB Archive/242776

= INFO: Redistribute Files with a Windows 2000 Migration DLL =

PSS ID Number: 242776

Article Last Modified on 11/20/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional

-



This article was previously published under Q242776



SUMMARY
Often the differences between a Windows 95/98 application and a Windows 2000 application involve files that target each platform. Sometimes a Migration DLL needs to distribute Windows 2000 specific versions of certain application files. This article describes how to distribute files that the Migration DLL needs.



MORE INFORMATION
Each Migration DLL should have its own directory on the users computer. That directory can also contain any files that the Migration DLL needs in order to migrate the Windows 95/98 application to Windows 2000 Professional. The entire contents of this directory is copied to a temporary working directory during the Windows 2000 Professional upgrade. This directory is the WorkingDirectory string passed to the Initialize9x and InitializeNT functions. By storing the location to this directory in a global variable, the Migration DLL will have access to the files it needs to update the application.

Note that the Migration DLL directory should not contain any unnecessary files or folders. This would increase the amount of time and space it takes to process the DLL during Windows 2000 Setup.

