The Microsoft Store installer script now will check whether the cached files are up to date before using them, and if not it will download the latest and warn the user to update the cache.
Also added ForceCachedFilesOnly and NoCheckLatestVersion to control this behavior. ForceCachedFilesOnly still checks and warns the user about a newer version but still uses the cache, while NoCheckLatestVersion uses the cache without even checking.
- Add $debugTrace flag instead of uncommenting to to debug
- Add a Read-Host pause at the end when debug tracing is enabled so output can be examined.
- Fix consistency of reg call
Create Console registry key and set ScreenBufferSize to maximize PowerShell/CMD output history. Disable Desktop Spotlight by setting EnabledState=0 and copy the default light wallpaper to the user's TranscodedWallpaper so sandboxes use a consistent wallpaper. Keys are created with -Force and values set as DWord.
- Add parameters to support using a local cache (-ExistingInstallerFilesPath) and control behavior (-ForceCachedFilesOnly, -NoCheckLatestVersion).
- Change download target to the user's Downloads folder under "VCRedist Install"
- Detect remote installer version and choose between cached installers or downloading updated files.
The `Expand-Archive` cmdlet fails in localized Windows Sandbox environments (e.g., de-DE) because the `Microsoft.PowerShell.Archive` module cannot find its localization resources (`ArchiveResources.psd1`) in the minimal OS image.
- It incorrectly said "Disabled" instead of "Disable" ( #9 )
- The default was disable anyway, so I believe even with the incorrect value it would still be disabled.
Install VC Redist.ps1: use $env instead of System.Runtime
this script now works on my VMware Fusion install on M4 (should work on arm windows sandbox now...?)
- Adds line to automatically silently accept msstore terms after winget install to avoid the annoying prompt.
- Add 'last updated' line to winget and microsoft store installer scripts
- Add launch param to know when first launching sandbox
- Conditional adding of context menu stuff depending whether notepad and notepad++ are available