![]() (Start-Process $File $UnattendedArgs -Wait -Passthru).File associations are not set by default. Write-Verbose "Install 7-Zip Version $Version" -Verbose $webclient.DownloadFile($source, $destination) # Check if Invoke-Webrequest exists otherwise execute WebClient Write-Verbose "Downloading 7-Zip Version $Version" -Verbose # Check if work directory exists if not create it If ( Test - Path - Path $workdir - PathType Container ) # Silent Install 7-Zip # Path for the workdir When a new version of 7-Zip comes out, just change the 7z1604-圆4.msi to the new value. ![]() I made a install script for 7-Zip to do a Silent install and clean if needed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |