PDA

View Full Version : Bug: SBUILDER.EXE /C "C:\Dev\Samp.sb6" /R "Release" does not work



vsorensen
07-11-2007, 04:21 PM
When I compile releases through the IDE, the proper installation packages are created. When I used the command line, all of the packages use the last listed release specifications.

Eg.

IDE:
7/11/2007 4:16p 8,343,208 PMDEMOI.EXE
7/11/2007 4:16p 71,140 PMDEMOI.htm
7/11/2007 4:18p 8,534,848 PMI.EXE
7/11/2007 4:17p 71,143 PMI.htm
7/11/2007 4:14p 183,592 PM_SHORTCUTS.EXE
7/11/2007 4:14p 2,219 PM_SHORTCUTS.htm

Command-line:
7/11/2007 4:19p 183,608 PMDEMOI.EXE
7/11/2007 4:19p 2,214 PMDEMOI.htm
7/11/2007 4:19p 183,592 PMI.EXE
7/11/2007 4:19p 2,210 PMI.htm
7/11/2007 4:19p 183,600 PM_SHORTCUTS.EXE
7/11/2007 4:19p 2,219 PM_SHORTCUTS.htm


Syntax used:
START /wait SBUILDER.EXE /C "PM-Install.SB6" /R "Full"
START /wait SBUILDER.EXE /C "PM-Install.SB6" /R "Demo"
START /wait SBUILDER.EXE /C "PM-Install.SB6" /R "Shortcuts only"

linder
07-12-2007, 01:54 AM
Hello,

We compile Releases from the command line in all of our Consulting projects but it works fine (and we have projects with up to 25 different Releases). I checked our records and we did not receive any similar report

Could you please send your project file to support (at) lindersoft (dot) com so we can check this?

Thanks,
Friedrich

vsorensen
07-12-2007, 02:10 PM
Done!

linder
07-13-2007, 03:16 AM
Hello,

I have tested your project on five different machines and it always worked fine.

This is my command line (compiles your "Shortcuts only" release)

sbuilder.exe /C "c:\documents and settings\friedrich linder\my documents\setupbuilder 6 projects\pm-install.sb6" /R "Shortcuts only"

I am running SetupBuilder 6.5 Build 1911.

Friedrich

linder
07-13-2007, 03:19 AM
And this compiles your Demo release (first release in the list).

sbuilder.exe /C "c:\documents and settings\friedrich linder\my documents\setupbuilder 6 projects\pm-install.sb6" /R "Demo"

It creates PMDEMOI.EXE and PMDEMOI.htm in the ouput folder.

Friedrich

vsorensen
07-13-2007, 12:32 PM
This did not work:
SBUILDER.EXE /C "PM-Install.SB6" /R "Shortcuts only"
SBUILDER.EXE /C "PM-Install.SB6" /R "Demo"
SBUILDER.EXE /C "PM-Install.SB6" /R "Full"

This worked:
SBUILDER.EXE /C "c:\CLARION6\APPS\PM\PM-Install.SB6" /R "Shortcuts only"
SBUILDER.EXE /C "c:\CLARION6\APPS\PM\PM-Install.SB6" /R "Demo"
SBUILDER.EXE /C "c:\CLARION6\APPS\PM\PM-Install.SB6" /R "Full"

The addition of the path seems to be a requirement.

In other words, SBUILDER.EXE /C "c:\CLARION6\APPS\PM\PM-Install.SB6" /R "Demo" and SBUILDER.EXE /C "PM-Install.SB6" /R "Demo" produce different results.

It does the same thing on a laptop where I installed SB6 from scratch today.

linder
07-13-2007, 01:01 PM
Thanks for sharing this information!

Friedrich