diff --git a/top.sls b/top.sls index 7253abf..f698c42 100644 --- a/top.sls +++ b/top.sls @@ -21,3 +21,4 @@ base: - printers - chocolatey-packages - removeShortcuts + - update-fusion360 diff --git a/update-fusion360.sls b/update-fusion360.sls new file mode 100644 index 0000000..46d4f33 --- /dev/null +++ b/update-fusion360.sls @@ -0,0 +1,12 @@ +# Based on: +# https://damassets.autodesk.net/content/dam/autodesk/docs/pdfs/Advanced_Fusion360_Lab_Installation_Instructions_en-US.pdf + +Update fusion360: + cmd.run: + - name: '"C:\Program Files\Autodesk\webdeploy\meta\streamer\streamer.bat" --quiet --globalinstall --process update' + +# This shouldn't be necessary unless upgraded with the offline installer (or chocolatey) +# However, it's reasonably fast when it has nothing to do +Cleanup old fusion360 versions: + cmd.run: + - name: '"C:\Program Files\Autodesk\webdeploy\meta\streamer\streamer.bat" --quiet --globalinstall --process uninstall --purge-incomplete'