Skip to content

Conversation

@AyaanShah2204
Copy link
Contributor

Here's the PR for the windows installer. I tested on a fork and the autoupdate works as expected.

Prerequisites

  • Install Advanced Installer, register it with our license (Anush has this)
  • Set up signing releases

For Building MSI and update.txt

run .\windows_installer\build_installer.ps1 -ai_path <path-to-advanced-installer> -version <symantic-version>
for me it looks like .\windows_installer\build_installer.ps1 -ai_path "C:\Program Files (x86)\Caphyon\Advanced Installer 20.9.1\bin\x86\AdvancedInstaller.com" -version 1.0.0

This will create the MSI at .\windows_installer\shark_studio-SetupFiles\shark_studio.msi and the updater at .\windows_installer\shark_updater-SetupFiles\shark_updater.msi

Add these binaries to the nightly release. Nothing else has to be done because the updater will always point to whatever is labelled the latest stable (non-prerelease) version.

For Building the Beta (Nightly) version

Run the aforementioned command with the -beta flag.

This will create the MSI at .\windows_installer\shark_studio-SetupFiles\shark_studio_beta.msi and the updater at .\windows_installer\shark_updater-SetupFiles\shark_updater_beta.msi

Add these to the nightly build so users have access to older nightly versions. Also add these to a new release tag called latest-nightly. All nightly builds will update to whatever binaries are published under the latest-nightly tag.

Concerns

The setup is somewhat funny because there exists state inside the aip files. I will create a google doc explaining this better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant