we create profiles for each verticle, then use a .bat routine to uninstall and install. This routine also sets the paths in the registry.
It's not proprietary, we paid for this but I gave Chris Dodge the credit.
Code:
@ECHO OFF
cls
REM - Install script by Chris Dodge
echo .
Echo About to install all Civil 2007 products. Please DISABLE virus protection and close all programs...
echo .
pause
Echo Start Time: %TIME%
SET BTIME=%TIME%
MD C:\AUTOSAVES
REM -----------------------------------------
REM - Backup CUI files and ACAD.PGP
REM -----------------------------------------
MD C:\_CADBACKUP
copy "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2006\R16.2\enu\Support\acad.pgp" c:\_CADBACKUP\acad2006.pgp
copy "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2007\R17.0\enu\Support\acad.pgp" c:\_CADBACKUP\acad2007.pgp
copy "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2006\R16.2\enu\Support\*.cui" c:\_CADBACKUP
copy "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2006\R16.2\enu\Support\*.mnr" c:\_CADBACKUP
REM -----------------------------------------
REM - Remove old versions of Land and Civil
REM -----------------------------------------
Echo Removing Survey 2006...
START /WAIT MsiExec.exe /X{C851CF10-78B3-4D41-AC43-052E87D02C92} /quiet
Echo Removing Civil Design 2006...
START /WAIT MsiExec.exe /X{2BDFA66C-ECC8-4C56-BD75-96575401AED4} /quiet
Echo Removing Land Desktop 2006...
START /WAIT MsiExec.exe /X{5783F2D7-4008-0409-0002-0060B0CE6BBA} /quiet
Echo Removing Civil 3D 2006...
START /WAIT MsiExec.exe /X{5783F2D7-4000-0409-0002-0060B0CE6BBA} /quiet
Echo Removing Civil Design 2007...
START /WAIT MsiExec.exe /X{C89B6268-5E93-4E1F-B04B-2F573233C099} /quiet
Echo Removing Survey 2007...
START /WAIT MsiExec.exe /X{7619DEB2-BC52-43A6-ADEC-6C2963270971} /quiet
Echo Removing Land Desktop 2007...
START /WAIT MsiExec.exe /X{5783F2D7-5008-0409-0002-0060B0CE6BBA} /quiet
Echo Removing Civil 3D 2007...
START /WAIT MsiExec.exe /X{5783F2D7-5000-0409-0002-0060B0CE6BBA} /quiet
REM -----------------------------------------
REM - Delete left over folders
REM -----------------------------------------
echo Deleting left over folders...
RD /s/q "c:\program files\Autodesk Land Desktop 2006"
RD /s/q "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2006"
RD /s/q "%userprofile%\Local Settings\Application Data\Autodesk\Autodesk Land Desktop 2006"
RD /s/q "%alluserprofile%\Application Data\Application Data\Autodesk\Autodesk Land Desktop 2006"
RD /s/q "c:\program files\Autodesk Land Desktop 2007"
RD /s/q "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2007"
RD /s/q "%userprofile%\Local Settings\Application Data\Autodesk\Autodesk Land Desktop 2007"
RD /s/q "%alluserprofile%\Application Data\Application Data\Autodesk\Autodesk Land Desktop 2007"
RD /s/q "c:\program files\Autodesk Civil 3D 2006"
RD /s/q "%userprofile%\Application Data\Autodesk\C3D 2006"
RD /s/q "%userprofile%\Local Settings\Application Data\Autodesk\C3D 2006"
RD /s/q "%alluserprofile%\Application Data\Application Data\Autodesk\C3D 2006"
RD /s/q "c:\program files\Autodesk Civil 3D 2007"
RD /s/q "%userprofile%\Application Data\Autodesk\C3D 2007"
RD /s/q "%userprofile%\Local Settings\Application Data\Autodesk\C3D 2007"
RD /s/q "%alluserprofile%\Application Data\Application Data\Autodesk\C3D 2007"
REM -----------------------------------------
REM - Run the main installs
REM -----------------------------------------
ECHO Installing Civil 3D 2007...
"\\Alpha\2007-Install\Civil-3d\AdminImage\deploy.exe" "Civil-3d"
ECHO Installing Land Desktop 2007...
"\\Alpha\2007-Install\Civil-3d-DComp\AdminImage\deploy.exe" "Civil-3D-DComp"
ECHO Installing Civil Design 2007...
"\\Alpha\2007-Install\07-Designcomp\AdminImage\deploy.exe" "07-DesignComp"
ECHO Installing Survey 2007...
"\\Alpha\Survey-07\AdminImage\deploy.exe" "Survey-07"
if exist c:\_CADBACKUP\acad2006.pgp copy c:\_CADBACKUP\acad2006.pgp "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2007\R17.0\enu\Support\acad.pgp"
if exist c:\_CADBACKUP\acad2007.pgp copy c:\_CADBACKUP\acad2007.pgp "%userprofile%\Application Data\Autodesk\Autodesk Land Desktop 2007\R17.0\enu\Support\acad.pgp"
DEL "%ALLUSERSPROFILE%\Desktop\Autodesk LandXML Reporting 7.lnk"
:Done
echo .
echo [End Time: %btime%]
echo [End Time: %time%]
echo .
ECHO Done installing.
PAUSE