wyUpdate not working correctly in Windows XP

I have an application, "BeforeUpdate.exe" that my wyBuild has in the Temporary Folders and it is set to "Execute Before Update Begun" with a command line argument list of;-ver=%versionto% -dir=%wu-temp% -comp="AP-Visions" -prod="xLab"

(I launch wyUpdate.exe from Windows Explorer)When I use wyUpdate on a Windows 7 64bit box, the %wu-temp% is passed with the correct path, and when I check in this path the appropriate items (BeforeUpdate.exe, its requisite DLL,s and some MySQL Scripts) appear as expected. I check after the BeforeUpdate is launched but before I start it (with a Button)

When I use wyUpdate on the Windows XP Pro, 32 bit box, the %wu-temp" passes "C:\Documents". This Folder does not exist on the Windows XP box? I use this path to locate MySQL.sql files to process. The other arguments are fine, just the %wu-temp%.

After wyUpdate launches BeforeUpdate.exe (and it does launch), I try a search on the XP Box for "BeforeUpdate.exe" but it cannot be found.

As this works perfect on a Windows 7 64bit box, there must be something I am missing. Can you help?

When I use wyUpdate on the Windows XP Pro, 32 bit box, the %wu-temp" passes "C:\Documents". This Folder does not exist on the Windows XP box? I use this path to locate MySQL.sql files to process. The other arguments are fine, just the %wu-temp%.

It's because you're not quoting the arguments you're passing to your exe. When a path has (or might have) spaces in it then you *must* quote the arguments you pass to exe.

-ver=%versionto% -dir="%wu-temp%" -comp="AP-Visions" -prod="xLab"

Thanks, you are correct. It also had to be the last argument in the list for some reason. I suspect it's a C# thing.