0
votes

I am using InstallShield 2011 for creating installscript project,Now the problem is i want to copy some ini file from the folder to the path where my .exe will installed.

Here is the scenario--

I will give our client to a Folder which contain 2 things

  • Setup.exe
  • ini folder which contain .ini files.

Now I want that when I execute the setup.exe all the .ini file will copy on the location where the setup is install.

I am using now--

CopyFile (PACKAGE_LOCATION ^ "ini\\*.ini" , szSDKDirectory );

But when I debug PACKAGE_LOCATION contain null string.

2

2 Answers

2
votes

If your media type is CD-ROM, you can use SRCDIR.

PACKAGE_LOCATION just for Network Image media type.

0
votes

If your media type is EXE you could have also used SETUPEXEDIR