Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Run RunWait RunHide RunZoom GPF crash invalid page fault
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\setup.exe
"C:\Program Files\SAP\FrontEnd\sapgui\FILC\odbc\setup.exe"If I delete that key the problem is resolved. However, we are concerned about what other problems we may have with our newly compiled scripts with 2006E - particularly when this one doesn't make sense.
It is not yet clear exactly what the problem is or what the preferred solution is.
In the "App Paths" section of the registry are a number of pathless exe's mentioned, as well as suggested folders to be pre-pended to the PATH environment statement when that exe is running.
However we have noticed some conflict where several different programs like to insert their information in for common exe's, like SETUP.EXE.
Per original guidelines, WinBatch was inserting the supplied path information for any setup.exe found.
With an upcoming change, WinBatch will be more selective. Basically if any path information is provided with the exe name, then the exename of the suggested destination and the provided exe name must resolve to the same file. This should help eliminate the problem where inappropriate path information is prepended to the system PATH for the application.
Current work around: Use ShellExecute instead of Run. This function seems to avoid these type of problems.
"C:\Program Files\SAP\FrontEnd\sapgui\FILC\odbc\setup.exe"
This has apparently also caused problems with other applications including MS Visual Studio install.:
http://blogs.msdn.com/astebner/archive/2005/10/18/482537.aspx
Not sure... but you might consider running the MS Installer cleanup utitliy on the system to see if that resolves the issue:
http://support.microsoft.com/kb/290301/
origdir = DirGet( ) DirChange("D:\Program Files\Punch") RunWait("D:\Program Files\Punch\Punch.exe","") <== RunWait CrashesI'm running this script on another machine - with version 2006E, and don't have any problem. On both machines the OS is Windows XP SP2.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\punch.exe
Article ID: W16979
File Created: 2007:07:03:14:27:26
Last Updated: 2007:07:03:14:27:26