At installation time, my CVI7.0 application needs to switch to one of two sets of files, depending on the configuration of the PC it is being installed into. To accomplish this, a simple batch file detects the PC configuration and is run using the "Run After Setup" option of the distribution kit. One of the tasks of this batch file is to copy another file to replace the target of the shortcut that has been installed as the main application.
It all works as expected, with one exception. The final file replace operation fails. If I manually run the batch file after the distribution kit finishes, this final file replace also works. It is as though the distribution kit has not released (closed) the file handles of the files it has written, at the point that the run option occurs, thus preventing another application from modifying the files at that time. Is this likely, or is there some other explanation that I have missed?
JR