electron-userland / electron-wix-msi

:dvd: Create traditional MSI installers for your Electron app
MIT License
319 stars 93 forks source link

feat: Version side by side installation #61

Closed bitdisaster closed 4 years ago

bitdisaster commented 4 years ago

The PR introduces a new folder structure in the installation folder. That allows updating the App while running without corrupting the state of the installation until a reboot is made. The folder structure will organize the Apps program data into versioned subfolders. That is the same strategy as Squirrel.Windows employs. It will also allow us to introduce the Squirrel auto-updater in a follow-up PR.

C:\Program Files\
└─ MyApp
     └─ app-4.0.0    //Latest or initially installed version
     └─ app-4.1.0    //Updated version
     └─ MyApp.exe //Stub Exe launches the latest version

features:

also in this PR

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.6%) to 99.552% when pulling 19ec865e7614cc1c81b4374335260ffb9e6bf602 on version-side-by-side-installation into 3a1bcc6fd863e02d11c177a26cd2edaec3b5be49 on v3-feature-branch.