Difference between revisions of "Revit"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 16: Line 16:
 
</source>
 
</source>
  
For Revit 2008, you still need to copy the material library and AccuRender:
+
For Revit 2008, you still need to copy the material library and AccuRender. To do that, you need to install Revit manually and then copy the files found under c:\Users\All Users\Autodesk\RAC 2008. Then copy the files to the clients using wpkg:
  
 
<source lang="xml">
 
<source lang="xml">
Line 25: Line 25:
 
   priority="0">
 
   priority="0">
 
   <depends package-id="revit2008"/>
 
   <depends package-id="revit2008"/>
   <check type="file" condition="exists" path="c:\Users\All Users\Autodesk\RAC 2008/Rendering/AccuRenderRedist/Bin/ar3icons.dll" />
+
   <check type="file" condition="exists" path="c:\Users\All Users\Autodesk\RAC 2008\Rendering\AccuRenderRedist\Bin\ar3icons.dll" />
 
   <install cmd='cmd /c mkdir "c:\Users\All Users\Autodesk\RAC 2008"'>
 
   <install cmd='cmd /c mkdir "c:\Users\All Users\Autodesk\RAC 2008"'>
 
         <exit code="0" />
 
         <exit code="0" />

Revision as of 03:28, 10 November 2008

This is a silent installer and deinstaller for Autodesk Revit 2008.

First, you need to run the setup program and choose to create a deployment. Then copy the content of the deployment folder created into %SOFTWARE%\revit2008.

<package id="revit2008" name="Revit 2008" revision="1" priority="0" reboot="false">
 <check type="uninstall" condition="exists" path="Revit Architecture 2008" />
 <install cmd='%COMSPEC% /c mkdir c:\netinst\logs'>
  <exit code="0" />
  <exit code="1" />
 </install>
 <install cmd='msiexec /qn /l* c:\netinst\logs\revit2008.log /i "%SOFTWARE%\revit2008\RevitSetup\RevitBuildingSeries\Autodesk Revit.msi" TRANSFORMS="%SOFTWARE%\revit2008\RevitSetup\RevitBuildingSeries\Autodesk Revit-Revit.mst" REBOOT=ReallySuppress' />
 <upgrade cmd='msiexec /qn /l* c:\netinst\logs\revit2008.log /i "%SOFTWARE%\revit2008\RevitSetup\RevitBuildingSeries\Autodesk Revit.msi" TRANSFORMS="%SOFTWARE%\revit2008\RevitSetup\RevitBuildingSeries\Autodesk Revit-Revit.mst" REBOOT=ReallySuppress' />
 <remove cmd="msiexec /qn /l* c:\netinst\logs\revit2008.log /x{4A11206C-4377-49E8-911E-B11548658FF3}" />
 </package>

For Revit 2008, you still need to copy the material library and AccuRender. To do that, you need to install Revit manually and then copy the files found under c:\Users\All Users\Autodesk\RAC 2008. Then copy the files to the clients using wpkg:

<package id="revit2008-mat-lib"
  name="Revit 2008 Material Library"
  revision="0"
  reboot="false"
  priority="0">
  <depends package-id="revit2008"/>
  <check type="file" condition="exists" path="c:\Users\All Users\Autodesk\RAC 2008\Rendering\AccuRenderRedist\Bin\ar3icons.dll" />
  <install cmd='cmd /c mkdir "c:\Users\All Users\Autodesk\RAC 2008"'>
        <exit code="0" />
        <exit code="1" />
  </install>
  <install cmd='cmd /c copy /y "%SOFTWARE%\revit2008-mat-lib\RAC 2008\*.*" "c:\Users\All Users\Autodesk\RAC 2008"' />
  <upgrade cmd='cmd /c copy /y "%SOFTWARE%\revit2008-mat-lib\RAC 2008\*.*" "c:\Users\All Users\Autodesk\RAC 2008"' />
  <remove cmd='cmd /c rmdir /s /q "c:\Users\All Users\Application Data\Autodesk\RAC 2008"' />
</package>