jiten
jiten

Reputation: 5264

copy file from executing folder and paste into installing folder in installshield( InstallScript project)

I am creating a InstallScript project in installshield 2011 and my problem is

I want to know the path of the setup from where it is executing

Suppose there is a folder name "project_setup" in which setup.exe and abc.txt file exist.Now at run time I want to copy abc.txt file and paste it to where the setup is installed.

EDIT: Now I am able to copy the file but In my Release folder there are 2 setups

So how to make setup in Single exe so that it execute as well as copy&paste .txt file also.

Upvotes: 0

Views: 3612

Answers (1)

Kevin Wan
Kevin Wan

Reputation: 440

CopyFile(SRCDIR ^ "abc.txt", TARGETDIR ^ "abc.txt");

Upvotes: 1

Related Questions