```cmake
if (MSI_OUTPUT_LEGACY)
  add_custom_target(packageupload
    COMMAND rclone --transfers=1 --checkers=2 mkdir ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}/${MSI_OUTPUT_LEGACY}
  )
else(MSI_OUTPUT_LEGACY)
  add_custom_target(packageupload
    COMMAND rclone --transfers=1 --checkers=2 mkdir ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
  )
endif(MSI_OUTPUT_LEGACY)
```

Create a local copy of the legacy MSI, then upload
user
```cmake
if (MSI_OUTPUT_LEGACY)
  add_custom_target(packageupload
    COMMAND rclone --transfers=1 --checkers=2 mkdir ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND copy ${MSI_OUTPUT} ${MSI_OUTPUT_LEGACY}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT_LEGACY} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
  )
else(MSI_OUTPUT_LEGACY)
  add_custom_target(packageupload
    COMMAND rclone --transfers=1 --checkers=2 mkdir ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
    COMMAND rclone --transfers=1 --checkers=2 copy ${MSI_OUTPUT} ${REPO_UPLOAD_CLOUD}:${VERSION_SHORT}
  )
endif(MSI_OUTPUT_LEGACY)
```
assistant