PDA

View Full Version : Compiling with Command Line



NewsArchive
10-16-2009, 02:46 AM
Trying to use the /L option to control my log output.

Seems to not be working for me... My line is as follows:
sbuilder.exe /L "C:\_Current\_TirePower\Install\Setup Builder\Logs" /C
"C:\_Current\_TirePower\Install\Setup Builder\Tire Power Patch.sb6" /R
"Normal"

At first, I assumed that it was because there was no error, so I coded one
in on purpose (not hard for me! <g>)
Finally did a search, and found the compiler.txt file in the Doc&Settings
Lindersoft folder.

So, what did I do wrong?

FWIW, I plan on using the command line compiler in conjunction with Build
Automator so I have a one-button solution for compile, create install,
create test environment, make ready to ship.
Will be cool when it's done!

Glenn Paschal

NewsArchive
10-16-2009, 02:46 AM
Hi Glenn,

>
> So, what did I do wrong?
>

Please upgrade to SB7 as soon as possible. SB6 is not Windows 7 nor Server
7 (RTM) compatible. You have a valid subscription, so the upgrade to SB7 is
free-of-charge!

The following should work:

-- SB6 Command Line:

sbuilder.exe /C "C:\_Current\_TirePower\Install\Setup Builder\Tire Power
Patch.sb6" /R "Normal" /L "C:\_Current\_TirePower\Install\Setup
Builder\Logs"

-- SB7 Command Line:

sb7.exe /C "C:\_Current\_TirePower\Install\Setup Builder\Tire Power
Patch.sb6" /R "Normal" /L "C:\_Current\_TirePower\Install\Setup
Builder\Logs"

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-05-2009, 03:01 AM
Worked perfectly.
Also, I like the new progress bar.

So, what was I doing wrong? is it the order? That is the only difference I
saw between what I had and what you sent me.
(there is always the possibility that I am to near-sighted to see the
difference)

Thanks Friedrich!

-Glenn.

NewsArchive
11-05-2009, 03:01 AM
Hi Glenn,

> Worked perfectly.
> Also, I like the new progress bar.
>
> So, what was I doing wrong? is it the order? That is the only difference
> I saw between what I had and what you sent me.
> (there is always the possibility that I am to near-sighted to see the
> difference)
>
> Thanks Friedrich!

You are welcome :)

Yes, the order is important. The /C switch tells the compiler that this is
a command line compile. The first argument is always the /C option and the
second argument is the project to compile.

Friedrich