Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: WININIT.INI WININIT.EXE
msvcrt.dll is in use ignore retry abortWinbatch is launching a setup program. What I think is happening is that winbatch is not being released until after the setup program completes. Is there away to release winbatch while the setup program is running?
With RUN, WinBatch will continue and presumably exit.
With RunWait, WinBatch will wait for the setup program to exit...
Basically the mscvrt.dll file is in use, possibly by WinBatch or another application.
Since the file already exists, chances are it does not need to be updated. If you can modify the setup program to skip that file, or skip it if it exists, then stuff might start to work.
I'm not clear on how much of the setup WinBatch does, or some other setup program does, or how much control you have over the situation.
Basically it appears you have to do some kind of special handling for that file.
Most install programs copy files that are in use to the hard drive and then on re-booting copy over the existing file.
To do this in WinBatch:
If you look at the WININIT.INI and .BAK files in your Windows directory you can figure out how this works.
If it is WinBatch trying to overwrite the DLL is use, we can handle it, but if it is another setup program trying to do it, some other solution must be found.
You can use WININIT.EXE. If you create a file called WININIT.INI in the Windows directory, files listed will be renamed during bootup. An example would be:
[rename] C:\Fred\Fault.exe=C:\Fred\Fault.1to delete a file use:
[rename] NULL=C:\Fred\Fault.exeNote: I believe the syntax is destination = source. Looks kind of backwards. Also, this doesn't support long file names.
Article ID: W13413
Filename: Using WinINIT.INI to Install Files after Reboot.txt
File Created: 1999:04:15:16:53:52
Last Updated: 1999:04:15:16:53:52