Difference between revisions of "Revit"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 14: Line 14:
 
  <remove cmd="msiexec /qn /l* c:\netinst\logs\revit2008.log /x{4A11206C-4377-49E8-911E-B11548658FF3}" />
 
  <remove cmd="msiexec /qn /l* c:\netinst\logs\revit2008.log /x{4A11206C-4377-49E8-911E-B11548658FF3}" />
 
  </package>
 
  </package>
 +
</source>
 +
 +
For Revit 2008, you still need to copy the material library and AccuRender:
 +
 +
<source lang="xml">
 +
<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>
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 03:25, 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:

<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>