Pycharm Community

Installation procedure

Download file from the web and install silently on the computer

$Install ={
    function run{
        Import-Module BitsTransfer
        Start-BitsTransfer -Source $url -Destination $dest
        
        Start-Process -Wait -FilePath $source -Argument "/S /CONFIG=$config /D=$dest" -PassThru
        
        $WScriptShell = New-Object -ComObject WScript.Shell
        $Shortcut = $WScriptShell.CreateShortcut($shortcut_dest)
        $Shortcut.TargetPath = $shortcut_source
        $Shortcut.Save()
    }
}

Start-Process -Wait powershell -Verb runAs -PassThru -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command & {$Install run}"

Last updated

Was this helpful?