cmi2000
Posts: 46
Score: 0 Joined: 5/15/2008 Status: offline
|
Hi people! I'm packaging an application with Wise Package Studio 7, and after of installation I have to copy a file from the program folder to c:\, so I did a basic Vbsript : Dim fso, f2 Set fso = CreateObject("Scripting.FileSystemObject") Set f2 = fso.GetFile("C:\program files\IPC2009\PDOXUSRS.NET") ' Copiar el archivo al directorio c:\ f2.Copy ("C:\PDOXUSRS.NET") I ran this vbscript from a Custom Action (Execute Inmediate tab) before InstallFinalize. When I'm installing, appears an error message 1720, in the log file, it shows "Error 1720, Line 3, Char 1 file not found". But if I run this script manually, it works well! Does anyone knows how can I solve it??
|