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

Blanking rootdir for testing purposes only #61

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Conversation

RedBaron2
Copy link
Owner

# Blanking rootdir for testing purposes only
Set-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup' -Name "rootdir" -Value ""
choco install chocolatey-core.extension -y
choco install Cygwin --params="/InstallDir:C:Program Files\Cgywin" -dvy -s="C:\projects\development\packages"

also chocolatey log zip file

@RedBaron2 RedBaron2 closed this Mar 24, 2021
@RedBaron2
Copy link
Owner Author

reopen after double changes

@RedBaron2 RedBaron2 reopened this Mar 24, 2021
changed copy back to move
if (Test-Path "$setup_path") {
Move-Item "$setup_path" "$cygwin_root\cygwinsetup.exe" -Force
} else {
Write-Warning "$setup_path not found. May have been moved or deleted prior to this step"
}
Copy-Item -Path "$setup_path" -Destination "$cygwin_root\cygwinsetup.exe" -Force
diag msg and sleep for 20
    # Diagnostic Testing
    if (Test-Path "C:\Program Files\Cgywin") {
    Write-Host "The folder C:\Program Files\Cgywin exists"
    } else {
    Write-Warning "The folder C:\Program Files\Cgywin DOES NOT Exist"
    }
    if (test-path "C:\Program Files\Cgywin\cygwinsetup.exe") {
    Write-Host "The File cygwinsetup.exe exists at C:\Program Files\Cgywin"
    } else {
    Write-Warning "The File cygwinsetup.exe DOES NOT exist at C:\Program Files\Cgywin"
    }
    sleep 30
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.

1 participant