rem ******************************************************************* rem Diese Pfade muss eventuell angepasst werden: rem Maybe this paths must be customized: set SWXPath=C:\Programme\solidWorks set SourcePath=I:\SW-DATA\Addins rem ******************************************************************* copy %SourcePath%\swxmenue.* %SWXPath\solidWorks copy %SourcePath%\interop*.* %SWXPath%\solidWorks rem ******************************************************************* rem SWXMenue.dll in Framework registrieren: if exist %SystemRoot%\Microsoft.NET\Framework\v1.0.3705\regasm.exe goto v10 goto v10Ende :v10 Echo V10 %SystemRoot%\Microsoft.NET\Framework\v1.0.3705\regasm.exe %SWXPAth%\SWXMenue.dll /codebase :V10Ende if exist %SystemRoot%\Microsoft.NET\Framework\v1.1.4322\regasm.exe goto v11 goto v11Ende :v11 Echo V11 %SystemRoot%\Microsoft.NET\Framework\v1.1.4322\regasm.exe %SWXPAth%\SWXMenue.dll /codebase :v11Ende if exist %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe goto v2032 goto v2032Ende :v2032 %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe %SWXPAth%\SWXMenue.dll /codebase :v032Ende if exist %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\regasm.exe goto v2064 goto v2064Ende :v2064 Echo V20-64bit %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\regasm.exe %SWXPAth%\SWXMenue.dll /codebase :v2064Ende