Copy SFX-File during Setup

Got a problem you cannot solve? Try here.
Post Reply
Chelmon
Posts: 2
Joined: Wed Apr 21, 2010 8:00 am

Copy SFX-File during Setup

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Copy SFX-File during Setup

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Chelmon
Posts: 2
Joined: Wed Apr 21, 2010 8:00 am

Re: Copy SFX-File during Setup

Post by Chelmon »

Copy Local Files $SFXPATH$\*.* d:\targetfolder\*.* did resolve my Problem.
Thank You.
Post Reply