Hi
I have an app which uses a lot of .OCX and on a classic migration (classic target), everything works fine, but if a create a migration to a SmartClient (winforms) app, on PB 11.5 one of the .OCX loses half of its functionality and on PB 12.5 can't even deploy, the error I get is
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>if ERRORLEVEL 1 exit 2
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>if exist createole.bat call createole.bat
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>md ole
A subdirectory or file ole already exists.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\Windows\SysWOW64\mswinsck.ocx" /out:ole\{248DD896-BB45-11CF-9ABC-0080C7E7B78D}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\NAVTOO~1\COMPON~1\ctImage.ocx" /out:ole\{C7D859A6-B9F0-11D2-9440-9BF2C97F2C3F}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\NAVTOO~1\COMPON~1\ctImage.ocx" /out:ole\{C7D859A6-B9F0-11D2-9440-9BF2C97F2C3F}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\DBITech\CORPOR~1\COMPON~1\ctList.ocx" /out:ole\{47FF24A9-AC60-4CF3-B1F5-80BEEDB507C9}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\NAVTOO~1\COMPON~1\CTLIST~1.OCX" /out:ole\{E309F6A4-2E92-4338-A19E-5B55E90C74A4}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\NAVTOO~1\COMPON~1\ctImage.ocx" /out:ole\{C7D859A6-B9F0-11D2-9440-9BF2C97F2C3F}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\NAVTOO~1\COMPON~1\ctImage.ocx" /out:ole\{C7D859A6-B9F0-11D2-9440-9BF2C97F2C3F}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>" bin\NETFX 4.0 Tools\aximp.exe" "C:\PROGRA~2\DBITech\CORPOR~1\COMPON~1\ctBanner.ocx" /out:ole\{990069E6-CACB-11D4-A1FF-00E098856412}.dll
The system cannot find the path specified.
C:\Users\cperez\Documents\Desarrollo\PRJ\Servicios\Lib\PB125SC\aplicacion_winform.pbt_build>if ERRORLEVEL 1 exit 4
Those paths are OK, so I don't know what's wrong.
Hope you can help me.
P.S. there's actually a bug on the wizard for creating the winforms app from an existing target, if you change the name of the target (on the wizard) it still looking for the original name when you try to deploy.