PDA

View Full Version : Unattended Build disabled in Demo version?


Biggles
08-18-2006, 02:24 AM
I was evaluating the new version and am trying to do an unattended build. I have setup the INI file with design time constants (they are already defined in my project), but they are not being used.

Is this feature disabled in the demo version, does it work in the full version (anyone verified it working)?

Any help much appreciated.

Follows is my output from the command:
==============================
C:\Documents and Settings\XYZ\My Documents\Setup Factory 7.0 Projects>"C:\Program Files\Setup Factory 7.0 Trial\SUF70Design.exe" /BUILD "TestProject1.sf7" "/CONST:TestProject1.ini" "/STDOUT" "/LOG:TestProject1.txt"

Output
=====
Starting build...
18-Aug-06 04:40:23 PM
Project file: C:\Documents and Settings\xyz.RXYZ\My Documents\Setup Factory 7.0 Projects\TestProject1.sf7

Updating screen themes
Creating build copy of data
Reading in unattended build constants file...
Locating build configuration
> Using build configuration: Default
Expanding design time constants
Excluding files not in current build configuration...
> 0 files excluded from build
Performing pre-build checks...
Verifying archive files...
Verifying external files...
Ordering file list...
Expanding folder references...
Calculating package sizes...
Excluding global script files for build configuration...
Including global script files...
> Script file included: C:\Program Files\Setup Factory 7.0 Trial\Includes\Scripts\_SUF70_Global_Functions.lua
> Script file included: D:\xyz\SVN\ABCD\Software\SetupFactory\Scripts\XYZS etupFactoryScripts.lua
Processing serial number lists...
> Encrypting: List 1 (0 items)
Initializing archive...
> Using temporary build folder: D:\temp
Gathering primer files...
Collecting fonts...
Building graphic image files into setup...
> Deleting temporary image files from previous builds...
> Collecting images from Before Installing Screens
> Collecting images from During Installiation Screens
> Collecting images from After Installing Screens
> Collecting images from After Uninstalling Screens
> Collecting images from During Uninstalliation Screens
> Collecting images from Before Uninstalling Screens
> Collecting other images
> Converting images...
>> Image: C:\Program Files\Setup Factory 7.0 Trial\Themes\Developer\Developer_top.jpg
>> Image: C:\Program Files\Setup Factory 7.0 Trial\Themes\Developer\Developer_side.jpg
>> Image: C:\Program Files\Setup Factory 7.0 Trial\Themes\Developer\Developer_body.jpg
Processing language modules...
> Default language added: English (C:\Program Files\Setup Factory 7.0 Trial\Languages\English.xml)
Compressing files...
> Compressing: D:\xyz\SVN\ABCD\Software\IDP\Config\IDSDatabaseZZ. xml
... compression ratio: 86% (9104 bytes -> 1211 bytes)
> Compressing: D:\xyz\SVN\ABCD\Software\IDP\Config\IDSConfig.xml
... compression ratio: 60% (2858 bytes -> 1137 bytes)
> Compressing: D:\xyz\SVN\ABCD\Software\IDP\Config\IDCConfig.xml
... compression ratio: 70% (4453 bytes -> 1318 bytes)
Processing While Installing screens...
Creating setup configuration file...
Initializing archive file...
Creating archive header...
> Setup engine
> Configuration file
> Images
Generating setup executable...
> Calculating disk space requirements
Adding files to archive...
> Adding archive header
> Setup segment created: TestInstaller.exe
> Adding file: D:\xyz\SVN\ABCD\Software\IDP\Config\IDSDatabaseZZ. xml
> Adding file: D:\xyz\SVN\ABCD\Software\IDP\Config\IDSConfig.xml
> Adding file: D:\xyz\SVN\ABCD\Software\IDP\Config\IDCConfig.xml

Build Summary:
Output folder: D:\xyz\ABCD\SetupFactory7_tests
Setup files created:
> TestInstaller.exe - 665 KB (681356 bytes)
Total build time: 00:00:00

Build completed successfully - 0 Error(s), 0 Warning(s)

pww
08-18-2006, 03:56 PM
As far as I remember, this works fine in the demo. It surely works fine in the registered version.
Try to narrow the problem, make a test project with one constant in the ini file which looks like

--
[Constants]
#MY_TEST_VAR#="blah"
--

and in the On Startup script put some code like

а="not what I want to see";
a="#MY_TEST_VAR#";
Dialog.Message ("",a);

You should see "blah" [no quotes]

Also try to put a full path to the .ini file in the command , like
.... "/CONST:C:\xxx\TestProject1.ini"

hth