Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for dev release #396

Closed
12 tasks done
simonhong opened this issue Jun 22, 2018 · 12 comments
Closed
12 tasks done

Prepare for dev release #396

simonhong opened this issue Jun 22, 2018 · 12 comments
Assignees
Labels

Comments

@simonhong
Copy link
Member

simonhong commented Jun 22, 2018

Windows

  • Silent installer for dev (can install mini_installer --chrome-dev)
  • Windows installer for dev build
  • dev update from server

MacOS

Linux

Resources

Apply brave version (#553)

  • Windows
  • Mac
@simonhong simonhong self-assigned this Jun 22, 2018
@RyanJarv
Copy link
Contributor

Few things to add that I'll be working on:

@bbondy bbondy added this to the Releasable builds milestone Jun 27, 2018
@simonhong
Copy link
Member Author

simonhong commented Jun 29, 2018

Mac channel: Determined in build time.
Mac install dir : replace target Brave.app to channel dependent name like Brave-Browser-Nightly in brave/build/mac/BUILD.gn. Then it copied to /Application/Brave-Browser-Nightly

Linux channel: yarn create_dist Release creates all three versions (stable, beta, unstable(dev)) with commenting out renameLinuxDistro(options) in createDist.js.
Linux install dir:

  • /opt/brave.com/brave
  • /opt/brave.com/brave-beta
  • /opt/brave.com/brave-beta-unstable/

Window channel: determined by installed path on runtime
Window install dir: need to check how omaha installer or mini_installer handles

@simonhong
Copy link
Member Author

simonhong commented Jul 2, 2018

When executing windows silent installer with additional install switch such as --chrome-dev, --chrome--beta or --chrome-sxs, it is installed into expected install dir. (EX, C:\Users\XXX\AppData\Local\BraveSoftware\Brave-Browser-Nightly).

Problems after silent install. (fixed by brave/brave-core#214)

  • Not visible in uninstall list. (stable version is visible)
    => Reason: empty DisplayName property in HCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\BraveSoftware Brave-Browser-Nightly
  • Empty name in desktop shortcut

@RyanJarv
Copy link
Contributor

RyanJarv commented Jul 3, 2018

On the initial overview of the unofficial release sec review (https://github.com/brave/internal/issues/378) it sounds like we want to have the open sparkle issues resolved as well.

@bkero is looking into brave/Sparkle#5 some more to figure out what the tradeoffs are there.

@simonhong do you think you have time to take brave/Sparkle#4?

@simonhong
Copy link
Member Author

@simonhong do you think you have time to take brave/Sparkle#4?

Ok, After fixing multiple install bug(#469) that is the only remained issue for binary release, I'll take a look.

@RyanJarv
Copy link
Contributor

RyanJarv commented Jul 9, 2018

Sorry late update here, we're ok on brave/Sparkle#4 and brave/Sparkle#5 for now. We'll just need to come back to these for the official release.

@simonhong simonhong changed the title Prepare for nightly release Prepare for dev release Jul 9, 2018
@simonhong
Copy link
Member Author

Title is changed because most of items in this issue are also needed for dev channel release.

@simonhong
Copy link
Member Author

Install multiple release on MacOS item is deleted from this PR because we can open dev release w/o it.
It should be resolved before we open multiple channels.

So, I'm taking a look windows installer.

@simonhong
Copy link
Member Author

simonhong commented Jul 10, 2018

About version, windows installer sets its version to register(pv) and its version should be same in version value of server.

@simonhong
Copy link
Member Author

Hmm, installer is tightly coupled with chrome/VERSION than expected

@simonhong
Copy link
Member Author

simonhong commented Jul 13, 2018

When runs brave after install with brave/brave-core#250, it failed to run.
Below is sxstrace.exe result. Where 67.0.3396.103 came from...?
brave.exe property has 0.50.8.0 value.

=================
Begin Activation Context Generation.
Input Parameter:
	Flags = 0
	ProcessorArchitecture = AMD64
	CultureFallBacks = en-US;en
	ManifestPath = C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\brave.exe
	AssemblyDirectory = C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\
	Application Config File = 
-----------------
INFO: Parsing Manifest File C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\brave.exe.
	INFO: Manifest Definition Identity is (null).
	INFO: Reference: Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0"
	INFO: Reference: 67.0.3396.103,language="*",type="win32",version="67.0.3396.103"
INFO: Resolving reference Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0".
	INFO: Resolving reference for ProcessorArchitecture AMD64.
		INFO: Resolving reference for culture en-US.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
				INFO: Did not find manifest for culture en-US.
			INFO: End assembly probing.
		INFO: Resolving reference for culture en.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL.
				INFO: Did not find manifest for culture en.
			INFO: End assembly probing.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: Auto Servicing Policy redirected assembly version.
				INFO: Post policy assembly identity is Microsoft.Windows.Common-Controls,processorArchitecture="AMD64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.17134.165".
			INFO: Begin assembly probing.
				INFO: Attempt to probe manifest at C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17134.165_none_fb429645306569ac.manifest.
				INFO: Manifest found at C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17134.165_none_fb429645306569ac.manifest.
			INFO: End assembly probing.
INFO: Resolving reference Microsoft.Windows.Common-Controls.mui,language="*",processorArchitecture="AMD64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.17134.165".
	INFO: Resolving reference for ProcessorArchitecture AMD64.
		INFO: Resolving reference for culture en-US.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls.mui\6.0.17134.165_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.mui.DLL.
				INFO: Did not find manifest for culture en-US.
			INFO: End assembly probing.
		INFO: Resolving reference for culture en.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls.mui\6.0.17134.165_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.mui.DLL.
				INFO: Did not find manifest for culture en.
			INFO: End assembly probing.
INFO: Resolving reference 67.0.3396.103,language="*",type="win32",version="67.0.3396.103".
	INFO: Resolving reference for ProcessorArchitecture 67.0.3396.103,language="*",type="win32",version="67.0.3396.103".
		INFO: Resolving reference for culture en-US.
			INFO: Applying Binding Policy.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Did not find manifest for culture en-US.
			INFO: End assembly probing.
		INFO: Resolving reference for culture en.
			INFO: Applying Binding Policy.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Did not find manifest for culture en.
			INFO: End assembly probing.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\67.0.3396.103.DLL.
				INFO: Attempt to probe manifest at C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\67.0.3396.103.MANIFEST.
				INFO: Attempt to probe manifest at C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\67.0.3396.103\67.0.3396.103.DLL.
				INFO: Attempt to probe manifest at C:\Users\simon\AppData\Local\BraveSoftware\Brave-Browser\Application\67.0.3396.103\67.0.3396.103.MANIFEST.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	ERROR: Cannot resolve reference 67.0.3396.103,language="*",type="win32",version="67.0.3396.103".
ERROR: Activation Context generation failed.
End Activation Context Generation.


@simonhong
Copy link
Member Author

All items are cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants