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

All functions working with runspaces #67

Closed
wants to merge 91 commits into from
Closed

All functions working with runspaces #67

wants to merge 91 commits into from

Conversation

DeveloperDurp
Copy link
Contributor

Made a couple big changes that made the older PRs incompatible. Creating this as a draft so you can keep tabs of progress. Will release it when it's ready for a "1.0" release

DeveloperDurp and others added 30 commits May 14, 2022 17:07
Document -> Documents
Start install -> Start installs

Co-authored-by: Chris Titus <[email protected]>
* Added DISM command and button to tool

* Added additional scans and colours to make it clear when each scan type starts

Co-authored-by: Chris Titus <[email protected]>
* Fix issue in #14

 - It seems that Chris forgot to add a button for the Repair Windows Update Script and accidentally put it under the Default Windows Update Settings button.
   - Fixed by adding the $WPFFixesUpdate.Add_Click function before the Reset Script
   - Fixes #14

* decoupling xaml and ps1 (#7)

Co-authored-by: Chris Titus <[email protected]>

Co-authored-by: Rahul Somasundaram <[email protected]>
Co-authored-by: Chris Titus <[email protected]>
* Add winget check and installer

 - Adds Check if winget is installed
   - If not installed, checks if the computer is running 1809+ and if the computer is running Windows Server or LTSC
    - If running pre-1809, winget install stops as it is not supported
    - If running Windows Server or Windows LTSC, runs alternative installer compatible with those editions of Windows

* decoupling xaml and ps1 (#7)

Co-authored-by: Chris Titus <[email protected]>

Co-authored-by: Rahul Somasundaram <[email protected]>
Co-authored-by: Chris Titus <[email protected]>
* Update winutil.ps1

* Use Curl instead of Bits transfer for O&O Shutup.

* Update winutil.ps1

* decoupling xaml and ps1 (#7)

Co-authored-by: Chris Titus <[email protected]>

Co-authored-by: Rahul Somasundaram <[email protected]>
Co-authored-by: Chris Titus <[email protected]>
Co-authored-by: Chris Titus <[email protected]>
removed extra text about test branch
added additional error handling and fixed installs with multiple winget commands
added missing libreoffice and removed --source winget as it was causing complications
@DeveloperDurp DeveloperDurp marked this pull request as ready for review October 16, 2022 16:13
@DeveloperDurp DeveloperDurp changed the title WIP: All functions working with runspaces All functions working with runspaces Oct 16, 2022
@DeveloperDurp
Copy link
Contributor Author

@ChrisTitusTech @Carterpersall take a look at the script. Everything seems to be in working order. Only things left is working with error handling inside runspaces to avoid crashes.

I also updated it to work with the arguments like we discussed some time ago. It also will not load the GUI if arguments are detected

Not sure of everything that has been done since I started this branch but I have made some updates to bring it to feature parity.

image
image
image

@DeveloperDurp DeveloperDurp changed the base branch from oldtest-09-07-2022 to Test-10-2022 October 16, 2022 16:31
@ChrisTitusTech
Copy link
Owner

Very cool, I'll dive more into this and see if we can eventually get it merged into main.

@ChrisTitusTech
Copy link
Owner

Oh this gonna have to be a full rebase.

Love the new design with the helper script and structure.

Going to pull this to my local system and start running it through the measures.

@DeveloperDurp
Copy link
Contributor Author

Yep, figured since I am working on getting the runspaces working to also increase maintainability. The fewer people touching the ps1 file the better since runspaces can cause random issues.

bringing old project pre-runspaces in for archive purposes
@ChrisTitusTech
Copy link
Owner

Manually rebased with new old archive folder in commit d586219

@ChrisTitusTech
Copy link
Owner

Added new commit to first check if service exists before trying to set it.

Script was getting stuck on setting services without this modification.

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

Successfully merging this pull request may close these issues.

7 participants