Commit Graph
14 Commits
Author SHA1 Message Date
Kaleb LuedtkeandEsco 81b0fa51c8 Enable Zip Testing in Sandbox (#68822)
* Enable Zip Testing in Sandbox

* Suggested Changes

Co-authored-by: Esco <OfficialEsco@users.noreply.github.com>
2022-08-09 10:37:42 -07:00
Easton Pillay 4e8a89cddd Fixed hash for VCLibs in SandboxTest.ps1. (#65810) 2022-07-11 15:04:40 -07:00
Kaleb Luedtke 39d5f240a4 Configure Sandbox and PRTest for experimental features (#57405)
* Allow SandboxTest to use prerelease client

* Experimental Features

* Splat Params
2022-04-12 09:03:02 -07:00
Joakim 5865f22530 Fixed SandboxTest after fixed typo (#50223) 2022-03-05 13:18:47 -08:00
Easton Pillay 6500c4a8be Fixed SandboxTest.ps1 to be compatible with winget v1.2. (#50164)
* Added Microsoft UI XAML dependency to SandboxTest.ps1.

* Fixed spelling for hash file.
2022-03-05 13:03:45 -08:00
Kaleb Luedtke a2954b1d2d Make sandbox always log verbose install (#49783) 2022-03-02 12:51:44 -08:00
Kaleb Luedtke 5df4f44109 Compare ARP Entries even when Publisher is Null (#34389) 2021-11-12 13:24:41 -08:00
Kaleb Luedtke 6d7409ef4f Open ARP Entries after Install (#34333)
* Open ARP Entries after Install

* Adjust output and spacing

* Update ARP Display Method

* Update ARP Display Method
2021-11-08 10:24:29 -08:00
Kaleb Luedtke c5d7c3c1ba Throw Specific Exception Types (#29592) 2021-10-06 10:52:08 -07:00
Kaleb Luedtke 3c6d0d6cf2 Fix: Treat warnings as non-fatal (#29312) 2021-10-04 08:29:21 -07:00
Kaleb Luedtke 09d6a36561 Fix: Update VCLibs Hash; Enable Local Manifest Files (#28964) 2021-09-29 14:24:58 -07:00
Joakim 6866c20338 Removed en-US in links (#22054) 2021-07-23 09:16:14 -07:00
Joakim 9b5f971308 Fixed SandboxTest.ps1 after winget-cli update (#18812) 2021-06-25 15:25:28 -07:00
Felipe Santosandchausner 9619e1aa83 Create SandboxTest script (#827)
* Create SandboxTest script

* Add missing appx dependencies

* Clear temp folder

* Validate manifest before pushing to sandbox

* Fix invalid character in Sandbox.ps1

The dash character in -ExecutionPolicy was a special character which broke the command.

* Download dependencies on the fly

* remove vscode launch file

* Add newline in gitignore

* Fix when there is no temp folder

* Add Test in Sandbox to README

* Add some comments and enhance some messages

* Properly accept mandatory parameter

* Check if Windows Sandbox exist or not

* Fix Sandbox install snippet and typo

* Fix wrong conflict resolution in README

* Upgrade WinGet to v0.1.41821-preview

* Rewrite the whole script

Adding some cool features such as:
- Specify folder to mount (default to current)
- Make Manifest optional, so we can use the script to just start the
  Sandbox and install WinGet
- Add optional Script parameter, to specify which script block to run
  after all the steps inside the Sandbox
- Automatically refresh environment variables after installing the
  Manifest, and leave the function Update-Environment available for the
  users
- Use a temporary folder on system's temp directory, thus deleting the
  .gitignore
- Make Powershell open maximized and without splash messages
- Improve overall UX both in local machine and in the Sandbox
- Close Sandbox automatically if needed
- Upgrade WinGet to latest version

Most of the refactor came from my PR at
https://github.com/chocolatey-community/chocolatey-coreteampackages/pull/1512

* Add tip for Update-Environment

* Fix relative paths on map folder

* Copy the manifest instead of installing from the source

* Fix call without manifest param and enhance logs

* Use VCLibs UWPDesktop from official source and update winget

* Add some missing new lines

* Fetch latest WinGet release automatically

* Add -SkipManifestValidation switch and fix checksum

* Fix TLS issues, handle PowerShell 7, remove unneeded VCLibs dep and fix manifest as folder

* Restore file/folder check for manifest

* Change checksum output filename

* Update Update-EnvironmentVariables function

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-05-03 11:36:36 -07:00