Main Forum > General Computer Support

Install all in One and run all fixes silent/unattended

<< < (2/4) > >>

bdp123:
Hi,

What file containing the "button.hit" do you exactly mean? I dont quite understand...
And as i see it, these 2 solutions are both windows based and are settings which is not set by the silent run.

I want to make the silent installation completely SILENT.. The current setup is not silent and only a automatication of the selected fixes applied.

This dont work since i want to puch the silent installation out through GPO or SCCM and therefore there must be NO userinvention, like run exe-warnings etc.

Regards

bdp123:
Hi Shane,

Do you have a solution to this?... I need to have the silent install surpress the exe-warning totally and without any userintervention
on NEW machines.

Shane:

--- Quote ---hat file containing the "button.hit" do you exactly mean? I dont quite understand...
--- End quote ---

Just bad typing, should have had a space after the period :-)
2. Go the the file in the files folder, right click on it and go to properties and you should have a unblock button. Hit that and you should be good as well.


--- Quote ---Do you have a solution to this?... I need to have the silent install surpress the exe-warning totally and without any userintervention
--- End quote ---
Program doesnt control that, windows does. You also dont want to run th program from a network path, the files need to be on the system because windows security doesnt let certain things happen from network drives.

My program can run automatically but it isnt hidden and isnt designed to be. And like I said with the file warning, that is windows. Either turn off that feature in windows or right click on the files and go to properties and hit the unblock button.

Shane

bdp123:
Hi Shane,

I managed to solve it myself. I made a powershell command, where i unblocked all files used.

Its working now and thats great. :)

For refference, you can see the full script here:
----------------------------------------------------------
New-Item -ItemType directory -Path C:\Winrepair
$source = "http://support.fragt.dk/Programmer/winrepair/Winrepairfull.zip"
$Filename = [System.IO.Path]::GetFileName($source)
$dest = "C:\Winrepair\$Filename"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $dest)
$path = "C:\Winrepair\Winrepairfull.zip"
$destination = “C:\Winrepair\”
$shell_app= New-Object -com shell.application
$files = Get-ChildItem -Path $path -filter *.zip -recurse
foreach($file in $files) {
  $zip_file = $shell_app.namespace($file.FullName)
  $copyHere = $shell_app.namespace($destination)
  $copyHere.Copyhere($zip_file.items())
}
Get-Item C:\Winrepair\Winrepair\* | Unblock-File
Start-Sleep -s 1
echo y| C:\Winrepair\Winrepair\Repair_Windows.exe /silent
Start-Sleep -s 1
\\support01\wwwroot\Programmer\winrepair\Log\Log.bat
--------------------------------------------------------------------------

Let me know if you need any comments.

Thx

Shane:
Very nice, I didnt know there was a power shell command to unblock a file, I have been using the sysinternals exe for that this whole time lol
http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

Always nice when there is a built in way to do it.

In fact, this would be a good thing to add to the program to have it unblock the files when it is downloaded from the zip. Wonder if there is an api way to do it, then I could have the program do it at startup :-)

Shane

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version