Use AutoDesk Fusion360's built-in updater

This commit is contained in:
Adam Goldsmith 2022-10-05 14:37:07 -04:00
parent 64f3739404
commit 924b02cb25
2 changed files with 13 additions and 0 deletions

View File

@ -21,3 +21,4 @@ base:
- printers
- chocolatey-packages
- removeShortcuts
- update-fusion360

12
update-fusion360.sls Normal file
View File

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