Main Forum > General Computer Support
Install all in One and run all fixes silent/unattended
bdp123:
Yup, i know.. I looked at sysinternals but this is a "oldschool" way to do it...
I wanted a fully intergrated solution.
You could call the powershell command at startup, so ALL exe, reg etc files used by your program is unblocked.
or make it an optional feature...
bdp123:
Also, with powerGUI from DELL, you can compile the powershell unblock cmdlet to an .exe file...
Shane:
Yeah, I am going to make a note to have it do that before running the repairs, that way users who download the zip file wont have that problem, thanks for finding the command for me :-)
Shane
Shane:
Working on the next update to the windows repair and I want to add the command to unblock the files, but it doesnt work in powershell on xp, looks like it is a new command. I will see if I can find any API and have the program do it instead :-)
Shane
Shane:
Good news I found the api to do it and it is very simple. So in the next update the program will auto remove the block :-)
It is just the deletefile api lol
--- Quote ---Public Sub DeleteFileZoneIdentifier(sFileSpec As String)
On Error Resume Next
'delete the Zone.Identifier from the files in the files fodler so it doesnt popup a warning when running repairs.
Call DeleteFile(sFileSpec & ":Zone.Identifier")
DoEvents
End Sub
--- End quote ---
So in the next update you wont need to use powershell to do it as the program will do it for you :-)
Shane
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version