Eclipse

Installation procedure

Download file from the web and install silently on the computer

$Install ={
    function run{
        Import-Module BitsTransfer

        Start-BitsTransfer -Source $url_source -Destination $dest

        Expand-Archive -LiteralPath $zip_source -DestinationPath $dest_zip

        $WScriptShell = New-Object -ComObject WScript.Shell
        $Shortcut = $WScriptShell.CreateShortcut($shortcut_dest)
        $Shortcut.TargetPath = $shortcut_source
        $Shortcut.Save()
    }
}

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

Last updated

Was this helpful?