Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Build a Squirrel installer as part of CI build - #3447

Merged
anaisbetts merged 27 commits into
masterfrom
squirrel-installer
Sep 24, 2014
Merged

anaisbetts merged 27 commits into
masterfrom
squirrel-installer

Conversation

@anaisbetts

Copy link
Copy Markdown
Contributor

This PR kicks off the work we need to do in order to create an installer / update framework for Atom on Windows:

TODO:

  • Get an installer building
  • Make sure we don't bork builds on Mac / Linux
  • Handlebars the NuSpec file to drop in the current version from package.json
  • Codesign the installer in CI builds
  • Make sure that the RcEdit hacking doesn't stomp the Squirrel-aware tag (needs Atom.exe should receive Squirrel events electron/electron#614)

Comment thread build/windows/atom.nuspec.hbs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up, underscore-plus supports templates and is available to build tasks.

template = _.template(String(fs.readFileSync("#{filePath}.in")))
filled = template(data)

Package: <%= name %>

Comment thread build/windows/atom.nuspec.erb Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, that's even better

@kevinsawicki

Copy link
Copy Markdown
Contributor

So I ran script/grunt create-installer on my Windows 8.1 VM and go the following when trying to run the Setup.exe file.

screen shot 2014-09-22 at 5 42 19 pm

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: Update.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 54079b0b
  Problem Signature 04: Update.exe
  Problem Signature 05: 1.0.0.0
  Problem Signature 06: 54079b0b
  Problem Signature 07: 2146
  Problem Signature 08: 1f
  Problem Signature 09: System.AggregateException
  OS Version:   6.3.9600.2.0.0.256.48
  Locale ID:    1033
  Additional Information 1: 5861
  Additional Information 2: 5861822e1919d7c014bbb064c64908b2
  Additional Information 3: d1d9
  Additional Information 4: d1d94a13d3609d6b740644c12508f581

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Is there something else I need to be doing?

@anaisbetts

Copy link
Copy Markdown
Contributor Author

So I ran script/grunt create-installer on my Windows 8.1 VM and go the following when trying to run the Setup.exe file.

Hm, bummer. We'll have a look tomorrow.

anaisbetts pushed a commit that referenced this pull request Sep 24, 2014
Build a Squirrel installer as part of CI build
@anaisbetts
anaisbetts merged commit cd92f88 into master Sep 24, 2014
@anaisbetts
anaisbetts deleted the squirrel-installer branch September 24, 2014 22:50
@raphinesse

Copy link
Copy Markdown

I can't seem to find the Windows Installer Version. It's not listed with the other releases, nor mentioned in the docs, nor available on the promo site. Could someone please point me in the right direction?

@kevinsawicki

Copy link
Copy Markdown
Contributor

@raphinesse Sorry, it hasn't been released yet, this PR was just the first step, it still needs work.

@raphinesse

Copy link
Copy Markdown

I see, thanks for the clarification.

So I guess there will be just another download option when it's done?

@kevinsawicki

Copy link
Copy Markdown
Contributor

So I guess there will be just another download option when it's done?

Yup, once complete, there will be a Setup.exe file on the releases page, that will install the app and from then on it will automatically update whenever a new version is released.

@raphinesse

Copy link
Copy Markdown

Sweet, thanks for the update 👍

@RPDeshaies

Copy link
Copy Markdown

@kevinsawicki Do you where we could find the other task to track the developpement of this feature ?

@kevinsawicki

Copy link
Copy Markdown
Contributor

@tareck117 #3675

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants