Announcement

Collapse
No announcement yet.

Setup Directory

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setup Directory

    I would like to automate the location of my setup file location, which would be the equivalent of doing

    Project\Settings\OutputSettings\Output Folder

    c:\Mysetup\%ISODate%

    so that the setup folder changes for each installation.

    However the output folder box does not like the %ISODate%, and is not replaced with
    c:\Mysetup\2000-01-16
    which is what I am after.

    Can anyone help?

  • #2
    Re: Setup Directory

    %ISODate% won't work for this purpose, because variables aren't expanded until run time.

    Use the design-time constant #ISODate# instead, and it will work fine.

    For more information on variables and design-time constants, see the command reference or read Chapters 2 and 14 in the amazingly, brilliantly and wonderfully gigantic user's guide.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Setup Directory

      Thanks Lorna,

      Brilliant just what I wanted, I was using the .PDF Help as manual that I had printed out, and it did not have the #ISODate#.
      I have ammended the path to

      C:\T3\#ISODate#.#CurrentHour##CurrentMinute#
      Which results in
      C:\T3\2002-01-16.1630

      This means that we can now have an archive of previous releases even if more than one a day is done (We com components that develop internally for another department).

      SetUp Factory certainly beats Wise for ease of use and flexibility.

      John

      Originally posted by Lorne:
      %ISODate% won't work for this purpose, because variables aren't expanded until run time.

      Use the design-time constant #ISODate# instead, and it will work fine.

      For more information on variables and design-time constants, see the command reference or read Chapters 2 and 14 in the amazingly, brilliantly and wonderfully gigantic user's guide.

      Comment

      Working...
      X