Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to get the ISProjectDir string value?


2 replies to this topic

Jayag

Jayag
  • Members
  • 7 posts

Posted 25 January 2005 - 15:20

Hi,

I want to create a ini file in the the Install Shield Project directory. I noticed that the build variable, ISPROJECTDIR contains the exact IS project directory path, but I don't know how to get that value in my install script. When I type the ISPROJECTIDIR in my installscript, it does not turn blue nor can I
stored that directory location to a local string. How can I get the
directory path of my current Install shield project?


Thanks,
Jaya

Pavle

Pavle
  • Members
  • 6 posts

Posted 26 January 2005 - 08:35

I used a verry primitive way to do this but it worked for me...

In the property manager asign INSTALLDIR=ISPROJECTDIR go to the script
create a string and assign him the value of INSTALLDIR then change INSTALLDIR back to what it was before giving him the value of ISPROJECTDIR ...

It's not verry elegant but it may help you...

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 January 2005 - 09:52

ISPROJECTDIR is a build time variable.
Do you want to write to the project directory on your build machine at install time when you run your setup on the target machine?