This is the add-in deployment tool for the PowerPointLabs project.
- Patch the add-in VSTO manifest to support post-install features (e.g. open a tutorial file after install).
- Produce web installer package or standalone installer package.
- Upload the package to the server with correct permissions.
- Get DeployHelper artifacts here.
- Get DeployHelper.conf here and fill it with the correct settings*.
- Mage is a component provided by Visual Studio to sign VSTO manifest
- Key is the deployment certificate (not the dev one, AKA PowerPointLabs.dev.pfx)
- SFTP address is the server to upload to
- SFTP username is the username used to login the server
- Dev path is the installation folder path on the server for dev-release
- Release path is the installation folder path on the server for public-release
- Put DeployHelper artifacts and DeployHelper.conf into a folder, AKA the
publish
folder. - In the
publish
folder, create a new folder namedonline
. Put Tutorial.pptx, registry.reg, PowerPointLabsOnline.SED and setup.bat into it. - In the
publish
folder, create a new folder namedoffline
. Put Tutorial.pptx, PowerPointLabsOffline.SED and setup.exe (rename PowerPointLabsInstallerUi.exe to setup.exe) into it. - Update
TargetName
andSourceFiles0
of PowerPointLabsOnline.SED and PowerPointLabsOffline.SED with the path ofpublish
folder.
- If there is newer version of Tutorial.pptx, update it in the
online
andoffline
folder. - Make sure you're in the correct branch:
dev-release
branch is for dev-release with web/online installerrelease-standalone
branch is for public-release with standalone/offline installerrelease-web
branch is for public-release with web/online installer
- Make sure the codes are
ALL GREEN
(can build & all test cases passed). - Publish the
PowerPointLabs
project:- Update the
Version
andReleaseDate
in theSettings
- Update the
ReleaseType
(dev|release) andInstallerType
(online|offline) in theSettings
- dev: for dev-release and dog-fooding
- release: for public-release
- online: to produce and upload web installer package
- offline: to produce and upload standalone installer package
- For InstallerType offline, leave
Installer Folder URL
blank in the project properties. - For InstallerType online, update
Installer Folder URL
to be the correct URL (dev or release)*. - Publish the project to the
publish
folder
- Update the
- Run DeployHelper.exe in the
publish
folder and follow the instructions. - Verify the deployment*.
- Add tags in Git for the released versions.
* Details can be found in the internal documents.