@echo off REM REM DOS Script to upgrade local installation of Pro/ENGINEER REM echo. echo *** PTC SOFTWARE UPDATE *** echo. echo This script will update your installation as follows: echo Pro/ENGINEER will be updated to Release 2001 (Build Code 2005030) echo Pro/INTRALINK will be updated to Release 3.4 (Build Code M011) echo. echo If you DO NOT want to update Pro/ENGINEER, press "Ctrl-C" then echo answer "Y" when asked if you want to exit. echo. pause REM Check for the existence of a C-partition installation REM and then exit the script if it is a C-partition installation. if not exist D:\%USERNAME%\.proi goto no_std_proi_folder move D:\%USERNAME%\.proi D:\proi_before_proi_3.4_upgrade echo. echo Existing .proi folder renamed to D:\proi_before_proi_3.4_upgrade echo. goto proi_folder_renamed :NO_STD_PROI_FOLDER echo. echo WARNING! Couldn't find the .proi folder in the standard location. echo You may have a C-partition installation of Pro/ENGINEER. echo Please contact a Pro/E admin for further assistance. echo. pause goto :EOF :PROI_FOLDER_RENAMED pause REM Rename existing Pro/ENGINEER directory REM if not exist D:\ptc_software\proe goto NO_STD_PROE_DIR move D:\ptc_software\proe D:\ptc_software\proe_prior_to_3.4_upgrade echo. echo Existing Pro/E directory renamed to D:\ptc_software\proe_prior_to_3.4_upgrade. echo. goto PROE_DIR_RENAMED :NO_STD_PROE_DIR echo. echo WARNING! Couldn't find the Pro/ENGINEER installation in the echo standard location. Please contact a Pro/E admin after the echo rest of the update is complete. echo. :PROE_DIR_RENAMED REM Rename existing Pro/INTRALINK directory REM if not exist D:\ptc_software\proiclient goto NO_STD_PROI_DIR move D:\ptc_software\proiclient D:\ptc_software\proiclient_prior_to_3.4_upgrade echo. echo Existing Pro/I directory renamed to D:\ptc_software\proiclient_prior_to_3.4_upgrade. echo. goto PROI_DIR_RENAMED :NO_STD_PROI_DIR echo. echo WARNING! Couldn't find the Pro/INTRALINK installation in the echo standard location. Please contact a Pro/E admin after the echo rest of the update is complete. echo. :PROI_DIR_RENAMED REM Copy zip file with new version of Pro/ENGINEER & Pro/INTRALINK from file server REM echo Copying zipped installation file (may take several minutes)... copy J:\pro_stand\scripts\ProI_Rel_3.4-M011_Upgrade_Software\proe2001-2005030_proi3.4-m011.exe D:\ptc_software echo. pause REM Unzip the files REM cls echo. echo About to unzip the Pro/ENGINEER files. echo. echo When the WinZip Self-Extractor window appears, simply click the echo "Unzip" button. echo. echo A status bar will appear as the unzip process progresses. When echo it is finished, a window should appear stating "20761 file(s) echo unzipped successfully." Click the "OK" button,then click the echo "Close" button to finish. echo. pause echo. echo Unzipping files (may take several minutes)... D:\ptc_software\proe2001-2005030_proi3.4-m011.exe echo echo Done unzipping files. echo. REM Copy the new Pro/E launch icon to the All Users Desktop REM so that it appears automatically on the user's desktop. Copy "D:\ptc_software\proe\bin\ProE 2005030.lnk" "C:\Documents and Settings\All Users\Desktop\ProE 2005030.lnk" REM Delete zip file cls echo. echo Finishing the PTC Software update process... echo. echo Cleaning up temporary files... del D:\ptc_software\proe2001-2005030_proi3.4-m011.exe echo. REM Fix association between .plt files and SwiftView REM echo About to establish an association between .plt files and SwiftView. REM echo This means double-clicking on a .plt file in Windows will now REM echo launch SwiftView to open that file. Contact Eric Hill for more REM echo information if required. REM echo. REM pause REM ftype PlotFile="\\NTFS-03\iisapps\SwiftView\sview.exe" "%1" REM assoc .plt= REM assoc .plt=PlotFile REM echo. echo Done - Script complete! echo. pause REM exit