I need to push DLL's to sysWOW64 folder.
I have been trying to push 2 DLL's to the sysWOW64 folder using scripts and File sync. I am not having any luck. Here is what I have for the script. Will someone let me know what I am doing wrong.
Answers (1)
The KACE Agent and it's child processes already run under the 32-bit subsystem, so you should just be able to point the files to %windir%\system32 and they will be auto-redirected to SysWOW64.
On the reverse, to get them to the native 64-bit system32 folder, you would point them to %windir%\sysnative
EDIT: I also noticed, your first step is to verify that the zip file is in the dependency dir... this will always be the case at the start of the script. What you should probably do is check for the existence of whatever DLL file you're extracting.
Comments:
-
It is still not working. Do you have anything else? - rkassing 9 years ago
-
Did you see my edit? As it is above, your verify step will always succeed, since you're checking for the zip file that is a dependency of the script, which is downloaded before the script even starts. - BHC-Austin 9 years ago
-
I removed the verify. I ran it again with no changes. - rkassing 9 years ago
-
Just removing the verify won't work, either, since you have all the copy/unzip tasks under the Remediation section. Either change the Verify to "Always Fail" (for testing purposes), add an actual Verify step (like seeing if one of the DLL files you're trying to copy exists), or move the Unzip step to On Sucess - BHC-Austin 9 years ago