Announcement

Collapse
No announcement yet.

Design time constant in .ini file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Luc
    replied
    Re: Design time constant in .ini file

    I am terribly sorry. You are right, there is no problem at all.

    It is just working fine.

    One of the files was missing from one directory.
    I should have insvestigate deeper.

    Thank you for you quick reply.

    Leave a comment:


  • Darryl
    replied
    Re: Design time constant in .ini file

    I've tested this with a few different examples however I haven't been able to replicate any problems.

    What build of Setup Factory 6.0 are you using? Make sure you are using the latest build 6.0.1.2.

    This is likely not the case, but also make sure you are not placing the file name in the source field.

    Are you able to successfully get it to work with only one file?
    Are you able to run it from Start->Run? Maybe there is an error when launching it from your batch file?

    Perhaps if you sent me your project file and INI file I may be able to test a little further and find the problem.

    Leave a comment:


  • Luc
    started a topic Design time constant in .ini file

    Design time constant in .ini file

    Hi,

    I am using desing time constants for the source path for the files in my project.

    Ex:
    Source=F:\SOFTNAME\#VERSION##BUILD#\SOFTNAME.EXE

    When using this with the constants defined in the "Project Settings" it is working fine.

    The problem is when I am using a .ini file for unattended builds
    it is not working and SF6 cannot find the source files and exits.

    .ini file example (project1.ini)
    [Constants]
    #VERSION#=1.2
    #BUILD#=002

    If I do not remove the constant from the "Project settings" page, the .ini file has no effect and the values from "Project settings" are taken.

    If I remove the constant from the "Project settings" SF6 does not see the source files when started from a batch file.

    project1.bat example:
    SUF60DESIGN.EXE C:\PROJECT1.SF6 /B:C:\PROJECT1.INI /M

    Please help!

    Luc

Working...
X