installation - InstallShield - using XCopyFile to copy folder from network to local directory -


i have question installshield. i'm trying copy files network folder local directory. created basic msi project , created script forks if source , target directory both on local maschine, if source network location, doe's not work. can me please. set custom action runs script runs after installfinalize.

here code script , first sdir local, , second sdir network address

// za program 2 #define sdir          "c:\\isexampl\\source\\" //#define sdir           "\\ch\bla\\" #define tdir          "c:\\isexampl\\target\\"  // include ifx.h built-in installscript function prototypes.  #include "ifx.h"   export prototype exfn_xcopyfile(hwnd); function exfn_xcopyfile(hmsi)     string szsrcfile;     number nresult; begin     szsrcfile = "*.*";     if (xcopyfile (sdir ^ szsrcfile, tdir ^ "*.*",         include_subdir) < 0)         messagebox ("xcopyfile failed", severe);     else         messagebox ("sucess.", information);     endif; end; 


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -