0

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

  • In Disk Image/Disk1 folder (This setup Copy&Paste the .txt file and execute fine)
  • other is in the Package folder (This setup dont Copy&Paste but execute fine)

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

jiten
  • 5,128
  • 4
  • 44
  • 73

1 Answers1

1

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

Kevin Wan
  • 430
  • 2
  • 2