Here's an odd one. I have an app that works fine from the cmd.exe debug entry point but throws an error if I try launching it from it's primary entry point.
If I go in via cmd.exe, change directory to the app and run the main executable it comes up just fine. If I launch the primary entry point, which references the exact same executable I get this:
RelaunchUsingCreateProcess::CreateProcess failed "C:\Program Files\NSWCCD\ASSET530\bin\assetwui.exe"
Here's the primary entry point config from the package.ini:
http://ASSET 5.3.0.exe
Source=%Drive_C%\Program Files\NSWCCD\ASSET530\bin\assetwui.exe
Shortcut=ASSET_5.3.0.dat
Icon=%Drive_C%\Program Files\NSWCCD\ASSET530\bin\assetwui.exe
ObjectTypes=Asset.Executive
Shortcuts=%Programs%\ASSET
Pretty standard, I've done a lot weirder stuff than that without any issues. I had to use the =%Drive_C%\Program Files trick because the app explitly references c:\program files and I need this to work on a 64-bit machine.