Page 1 of 1

Copy SFX-File during Setup

Posted: Wed Apr 21, 2010 8:19 am
by Chelmon
Hello,

I would like to copy the unextracted Original Setup.exe-File(InstAllaware 9.0) to a specified local Folder. I tried to resolve this by using the "Run Program As {...} *.* d:\targetfolder\ /E/Y,startup in Folder SFXPATH" but I always get the extracted Files copied, not the Original File. Same Result Using EXEPATH.
Any Ideas?


Thx

Chelmon

Re: Copy SFX-File during Setup

Posted: Wed Apr 21, 2010 9:42 am
by MichaelNesmith
Please see the help file topic "pre-defined variables" - it contains many variables including one that contains the path to the self extractor file. There are even other useful variables such as the GP MSI file, and so forth. You can affect an immediate copy by calling Call DLL Function on kernel32.dll's CopyFileA routine.

Re: Copy SFX-File during Setup

Posted: Thu Apr 22, 2010 1:51 am
by Chelmon
Copy Local Files $SFXPATH$\*.* d:\targetfolder\*.* did resolve my Problem.
Thank You.