set PATCHDIR=%CD%
pushd ..\

if exist FDO\Fdo.dll.preUpdate1b (
echo "Update already installed"
goto end
)
						
rename FDO\Fdo.dll Fdo.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\Fdo.dll" FDO\
						
rename FDO\FdoATILSession.dll FdoATILSession.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\FdoATILSession.dll" FDO\
						
rename FDO\FDOCommon.dll FDOCommon.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\FDOCommon.dll" FDO\
						
rename FDO\FDOGeometry.dll FDOGeometry.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\FDOGeometry.dll" FDO\
						
rename FDO\FdoRdbms.dll FdoRdbms.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\FdoRdbms.dll" FDO\
						
rename FDO\FDORFP.dll FDORFP.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\FDORFP.dll" FDO\
						
rename FDO\SHPProvider.dll SHPProvider.dll.preUpdate1b
copy "%PATCHDIR%\Fdo\SHPProvider.dll" FDO\
						
rename Autodesk.Gis.CoordinateSystems.dll Autodesk.Gis.CoordinateSystems.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.Gis.CoordinateSystems.dll" 		
						
rename Autodesk.Gis.StylePreview.dll Autodesk.Gis.StylePreview.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.Gis.StylePreview.dll" 		
						
rename Autodesk.Gis.UI.StyleEditor.dll Autodesk.Gis.UI.StyleEditor.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.Gis.UI.StyleEditor.dll" 		
						
rename Autodesk.Gis.Utility.dll Autodesk.Gis.Utility.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.Gis.Utility.dll" 		
						
rename Autodesk.MapGuide.Studio.Dwg.Load.dll Autodesk.MapGuide.Studio.Dwg.Load.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Dwg.Load.dll" 		
						
rename Autodesk.MapGuide.Studio.Dwg.Load.Serializer.dll Autodesk.MapGuide.Studio.Dwg.Load.Serializer.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Dwg.Load.Serializer.dll" 		
						
rename Autodesk.MapGuide.Studio.Dwg.UI.dll Autodesk.MapGuide.Studio.Dwg.UI.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Dwg.UI.dll" 		
						
rename Autodesk.MapGuide.Studio.Fdo.dll Autodesk.MapGuide.Studio.Fdo.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Fdo.dll" 		
						
rename Autodesk.MapGuide.Studio.Feature.dll Autodesk.MapGuide.Studio.Feature.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Feature.dll" 		
						
rename Autodesk.MapGuide.Studio.ImageEngine.dll Autodesk.MapGuide.Studio.ImageEngine.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.ImageEngine.dll" 		
						
rename Autodesk.MapGuide.Studio.Load.dll Autodesk.MapGuide.Studio.Load.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Load.dll" 		
						
rename Autodesk.MapGuide.Studio.Load.Serializer.dll Autodesk.MapGuide.Studio.Load.Serializer.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Load.Serializer.dll" 		
						
rename Autodesk.MapGuide.Studio.Locale.dll Autodesk.MapGuide.Studio.Locale.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Locale.dll" 		
						
rename Autodesk.MapGuide.Studio.Site.dll Autodesk.MapGuide.Studio.Site.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Site.dll" 		
						
rename Autodesk.MapGuide.Studio.Site.UI.dll Autodesk.MapGuide.Studio.Site.UI.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.Site.UI.dll" 		
						
rename Autodesk.MapGuide.Studio.UI.dll Autodesk.MapGuide.Studio.UI.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.UI.dll" 		
						
rename Autodesk.MapGuide.Studio.UIContext.dll Autodesk.MapGuide.Studio.UIContext.dll.preUpdate1b
copy "%PATCHDIR%\Studio\Autodesk.MapGuide.Studio.UIContext.dll" 		
						
rename MgFoundation.dll MgFoundation.dll.preUpdate1b
copy "%PATCHDIR%\Studio\MgFoundation.dll" 		
						
rename Studio.exe Studio.exe.preUpdate1b
copy "%PATCHDIR%\Studio\Studio.exe" 		

:end
popd