Hey all,

This is tearing my hair out for a while.

Basically, I wrote an VBS script to copy some activex files using this path:

""C:\WINDOWS\system32\rundll32.exe"" advpack.dll,LaunchINFSectionEx ""C:\Program Files\Temp\LJClient\lgy_work.INF"",,,38,N"""

Using 38 from:

4 - Quiet Mode, no UI
32 - Backup Data Before Install

However, no matter what, I always being prompted for this:

Confirm File Replace

Source: C:\Program Files\Temp\LJClient\OLEAUT32.DLL
Target: C:\WINDOWS\system32\OLEAUT32.DLL

The target file exists and is newer than the source.

Overwrite the newer file?

Yes No Not to All


Even that it's set up as silent install and backup data before install, it still prompts.

What am I missing? I need a fresh set of eyes. :D

Thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Sounds like Admin-rights issue's :)

run CMD elevated --> cscript yourscript.vbs
Answered 01/13/2012 by: asman
Purple Belt

Please log in to comment
0
ORIGINAL: tsutton

The target file exists and is newer than the source.



What about the line marked in red?
Edit: Well... couldnt mark the text in the code tag with red, but I meant the The target file exists and is newer than the source.
I don't know if your doing this in a batch script or vb, but at least for xcopy there are a few switches that would force the newer file to be replaced.
Answered 01/13/2012 by: andemats
Second Degree Black Belt

Please log in to comment
0
Thanks all.
Answered 01/17/2012 by: tsutton
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity