Update App Install Scripts/App - Adobe Acrobat 32bit - Install.ps1
This commit is contained in:
@@ -10,14 +10,21 @@ Script to install Adobe Acrobat 64bit
|
||||
2025-07-16 (GabeK) - Original script created
|
||||
#>
|
||||
|
||||
# Variables #
|
||||
|
||||
$App_Name = "Adobe Acrobat"
|
||||
$File_Name_Prefix = "Adobe-Acrobat-x32"
|
||||
$File_Name_Extension = "zip"
|
||||
$Install_Parameters = "/sAll /rd"
|
||||
$EPCache_Folder = "3rd Party Patches\$App_Name"
|
||||
[CmdletBinding()]
|
||||
Param(
|
||||
[Parameter(Mandatory = $false)]
|
||||
$App_Name = "Adobe Acrobat",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$File_Name_Prefix = "Adobe-Acrobat-x32",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$File_Name_Extension = "zip",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$Install_Parameters = "/sAll /rd",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$EPCache_Folder = "3rd Party Patches\$App_Name",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$File_Name = "$File_Name_Prefix.$File_Name_Extension"
|
||||
)
|
||||
|
||||
# Define a script block that contains the Invoke-WebRequest command
|
||||
$scriptBlock = {
|
||||
@@ -38,10 +45,10 @@ Wait-Job $job -timeout $timeout | Out-Null
|
||||
$output = Receive-Job $job
|
||||
$DownloadURL = $output
|
||||
|
||||
# Script start #
|
||||
|
||||
Invoke-WebRequest -UseBasicParsing "https://endpoint.ufsdata.com/download/repository/632809041/Functions.ps1" -outfile "$Env:windir\NCentral\Cache\Functions.ps1"
|
||||
. "C:\Windows\NCentral\Cache\Functions.ps1"
|
||||
#Region Script Start
|
||||
If ((Test-Path "C:\Temp\Script Cache") -eq $False) { New-Item -ItemType directory -Path "C:\Temp\Script Cache" }
|
||||
Invoke-WebRequest -UseBasicParsing "https://scripts.gabesville.com/Gabesville/Powershell-Scripts/raw/branch/main/Functions%20Scripts/Functions.ps1" -outfile "C:\Temp\Script Cache\Functions.ps1"
|
||||
. "C:\Temp\Script Cache\Functions.ps1"
|
||||
|
||||
#Check to see if program is installed
|
||||
$Applist = Get-Software | Sort-Object -Descending
|
||||
@@ -59,4 +66,4 @@ Else {
|
||||
$EPCacheLocalLocation = "C:\WINDOWS\NCentral\Cache\Adobe Acrobat\setup.exe"
|
||||
Install-App
|
||||
}
|
||||
# Script End #
|
||||
#Region Script End
|
||||
Reference in New Issue
Block a user