/build/static/layout/Breadcrumb_cap_w.png

Vbscripting

Hi all

I hope u guys can help me out.

I need a vbscript, which can be run from any server, ( i think it had to do with "Runpath" thing )
Means that all the installation files are placed the same place as the vbscript.

And the script had to Copy a file,
from Folder = XXX and file name = ZZZ.dll
To C:\windows\system32

regeards

/sks

0 Comments   [ + ] Show comments

Answers (3)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
you should use an msi to do t his so in case it needs to be uninstalled/rolled back or updated, it can be cleanly done. to just copy a dll file to the s ystem directory? really?
Posted by: SKS 16 years ago
Orange Belt
0
I have a msi and i justed maked a mst to it, and the prob is that i have 2 files which i want to copy to c:\windows\system32 , but only one comes out, even that i have both files in my transforms.
so thats why, i was asking for a script to do the job.

can u help me out.
Posted by: anonymous_9363 16 years ago
Red Belt
0
By the same logic, presumably if your car has a flat battery, your solution would be to fit a new engine?

If the MSI is authored by you (as opposed to being supplied by a vendor) you don't need to bother with a transform. Next, log the install with a verbose log and use that to determine why your second file isn't being copied. Maybe it's attempting to replace an existing file? If so, perhaps the existing file is a later version, or has a later date/time stamp?
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