/build/static/layout/Breadcrumb_cap_w.png

LaunchINFSectionEx Issue

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

Answers (3)

Posted by: asman 12 years ago
Purple Belt
0
Sounds like Admin-rights issue's :)

run CMD elevated --> cscript yourscript.vbs
Posted by: andemats 12 years ago
2nd Degree Black Belt
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.
Posted by: tsutton 12 years ago
Orange Belt
0
Thanks all.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ