94 lines
2.4 KiB
PowerShell
94 lines
2.4 KiB
PowerShell
[Console]::OutputEncoding = [Text.Encoding]::UTF8
|
|
|
|
Write-Host "[*] Creating download shortcuts for essential applications"
|
|
|
|
$desktopPath = "C:\Users\User\Desktop"
|
|
|
|
# Application download links
|
|
$apps = @(
|
|
@{
|
|
Name = "Google Chrome"
|
|
Url = "https://dl.google.com/chrome/install/GoogleChromeStandaloneEnterprise64.msi"
|
|
FileName = "Download-Chrome.url"
|
|
},
|
|
@{
|
|
Name = "7-Zip"
|
|
Url = "https://www.7-zip.org/download.html"
|
|
FileName = "Download-7-Zip.url"
|
|
},
|
|
@{
|
|
Name = "AnyDesk"
|
|
Url = "https://anydesk.com/download"
|
|
FileName = "Download-AnyDesk.url"
|
|
},
|
|
@{
|
|
Name = "LINE"
|
|
Url = "https://line.me/download"
|
|
FileName = "Download-LINE.url"
|
|
},
|
|
@{
|
|
Name = "Adobe Reader"
|
|
Url = "https://get.adobe.com/reader/"
|
|
FileName = "Download-Adobe-Reader.url"
|
|
}
|
|
)
|
|
|
|
Write-Host "Creating download shortcuts on User desktop..."
|
|
|
|
foreach ($app in $apps) {
|
|
$shortcutContent = @"
|
|
[InternetShortcut]
|
|
URL=$($app.Url)
|
|
IconIndex=0
|
|
"@
|
|
|
|
$filePath = Join-Path $desktopPath $app.FileName
|
|
$shortcutContent | Out-File $filePath -Encoding ASCII
|
|
Write-Host " Created: $($app.FileName)"
|
|
}
|
|
|
|
# Create installation instructions
|
|
$instructions = @"
|
|
=== Application Installation Instructions ===
|
|
|
|
1. Google Chrome:
|
|
- Double-click Download-Chrome.url
|
|
- Download the .msi file
|
|
- Run the installer (silent install)
|
|
|
|
2. 7-Zip:
|
|
- Double-click Download-7-Zip.url
|
|
- Download the x64 .msi version
|
|
- Run installer
|
|
|
|
3. AnyDesk:
|
|
- Double-click Download-AnyDesk.url
|
|
- Download AnyDesk
|
|
- Run installer
|
|
|
|
4. LINE:
|
|
- Double-click Download-LINE.url
|
|
- Download LINE for Windows
|
|
- Run installer
|
|
|
|
5. Adobe Reader:
|
|
- Double-click Download-Adobe-Reader.url
|
|
- Download Adobe Acrobat Reader
|
|
- Run installer
|
|
|
|
All applications will be installed for all users.
|
|
"@
|
|
|
|
$instructionsPath = Join-Path $desktopPath "Installation-Instructions.txt"
|
|
$instructions | Out-File $instructionsPath -Encoding UTF8
|
|
|
|
Write-Host ""
|
|
Write-Host "[OK] Download shortcuts created on User desktop:"
|
|
Write-Host " - Download-Chrome.url"
|
|
Write-Host " - Download-7-Zip.url"
|
|
Write-Host " - Download-AnyDesk.url"
|
|
Write-Host " - Download-LINE.url"
|
|
Write-Host " - Download-Adobe-Reader.url"
|
|
Write-Host " - Installation-Instructions.txt"
|
|
Write-Host ""
|
|
Write-Host "User can now easily download and install applications manually." |