Announcement

Collapse
No announcement yet.

setup factory 9 does not read constants during unattended build

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

  • goodwillguy
    replied
    I have finally got it working. But it is strange.

    In the .ini file just before the [Constants] section if i put a comment ";test " making [Constants] as 2nd line, it works.

    I had spend almost 2 days in this issue.

    glad it works now

    Leave a comment:


  • goodwillguy
    replied
    Hi,

    I tried with just a simple file, it still does not work. I have tried creating the setup in the latest trial release, still i am not able to successfully do unattended build.

    I have two questions

    1. Can there be a system setting issue in the PC.(i have tried them on 2 different machines and they have the same issue)
    2. Is it possible to post a working suf file and constant .ini and the command line script to test from my end.


    Thanks for your reply and help

    Leave a comment:


  • Ulrich
    replied
    Thank you. I cannot see anything clearly wrong - you appear to use indeed the same names for the Build Constants, which could be one possible cause of the failure.

    You are using the "/STDOUT" command line parameter, meaning that you don't have a build log. Please use the "/LOG" command line parameter and set a path for the build log, or simply pipe the STDOUT to a file with ... /STDOUT > logfile.txt.

    In the log file, you should see something like this:

    Code:
    Reading in unattended build constants file...
    > Constant set: #VERSION# = 2.8
    > Constant set: #ReleaseBase# = C:\Bamboo\bamboo.home\xml-data\build-dir\BCSP-RT-JOB1
    > Constant set: #OUTPUTDIR# = C:\Output\Foobar 2013\Release
    Locating build configuration
    ...
    If you don't have this in the log file, then the INI file wasn't loaded - perhaps the path you provided is incorrect?

    Ulrich

    Leave a comment:


  • goodwillguy
    replied
    Adding the log that got generated while executing the command

    30-Oct-2013 14:07:52 Updating screen themes
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Creating build copy of data
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Reading in unattended build constants file...
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Locating build configuration
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 > Using build configuration: Default
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 > Target platform: 32-bit (x86)
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Expanding design time constants
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Excluding files not in current build configuration...
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 > 0 files excluded from build
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Excluding dependency modules not in current build configuration...
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Performing pre-build checks...
    30-Oct-2013 14:07:52
    30-Oct-2013 14:07:52 Verifying archive files...

    Leave a comment:


  • goodwillguy
    replied
    SUF file attachment

    i have attached the suf file
    Attached Files

    Leave a comment:


  • Ulrich
    replied
    Please post the project file.

    Ulrich

    Leave a comment:


  • setup factory 9 does not read constants during unattended build

    hi,

    i have constants in th .suf project and have a ini file which is changes the version before the build starts.

    The Constants are not updated from the file so the build generation fails.

    The command is following

    "C:\Program Files (x86)\Setup Factory 9\SUFDesign.exe" /BUILD "C:\Bamboo\bamboo.home\xml-data\build-dir\BCSP-RT-JOB1\Installation\ReflashTool.suf" /CONST:"C:\Bamboo\bamboo.home\xml-data\build-dir\BCSP-RT-JOB1\Installation\Config.ini" /STDOUT

    Config.ini
    ---------
    [Constants]
    #VERSION#=2.8
    #ReleaseBase#=C:\Bamboo\bamboo.home\xml-data\build-dir\BCSP-RT-JOB1
    #OUTPUTDIR#=C:\Output\Foobar 2013\Release
Working...
X