PDA

View Full Version : Setupbuilder command line execution



NewsArchive
07-13-2007, 03:20 AM
I'm not currently running the latest SB so thought I'd ask the question
here. I like SB very much so would like to continue using it for this
project.

I have a project that in essence would work best if I could run SB
"unattended" to create a setup EXE. In other words the process would be
scheduled to run in the early AM. To make this work, it needs to be able to
run using either a "hands off" (no GUI/no user interaction) or via "command
line" interface.

My question then is if SB will allow me to write a "hands off" process OR if
there is another tool that might work as well.

Al

NewsArchive
07-13-2007, 03:20 AM
What version of SB are you using ?

You mean a silent installation of the created by hand setupe.xe I hope ?
Or do you mean to create a new setup.exe without your having to open setup
builder application ?

If the answer is the second one then ..... yes you can do it easily : hire
someone to do it for you :)
Sorry but to my limited knowledge it is impossible except if SB has been
written to work all by itself to create the setup.exe

I know Friedrich is excellent but this one ..... I doubt he ever thought of
it!

It would require a service to be launched in early AM and to open SB - to
load your last project - till here you can write a clarion app with capesoft
self service to do this

But then you need to compile the existing project .... which will be the
same then yesterday's except that if files have changed you get a new
version ....

.......

You create new versions of your app every day ?

JP
--
Merci - Thank you

JP

NewsArchive
07-13-2007, 03:20 AM
Jean-Pierre,

I'm simplifying but basically files A, B and C are packed into a SETUP.EXE
program by SB. The generated 65MB SETUP.EXE program is distributed to the
field sales staff. My client who is using this process HAS assigned an
employee to accomplish this but well over 1/2 the time it's screwed up
because the employee can't seem to follow the written procedure. Short of
firing the employee (and they've tried half-dozen different employees over
the years with similar results), they've asked me to find a more reliable
alternative to automate this boring and mundane but very necessary task.

I need to run SB to create the SETUP.EXE program (the output of SB)
"unattended" (i.e. no human intervention). The files being "packed" by SB
into the EXE (A, B and C) will change daily but the "script" being run by SB
will never change (ie "Take A+B+C and make an executable"). The generated
SETUP.EXE program containing files A, B and C will change daily.

Doesn't really seem to be that unreasonable of a request to me so I'm asking
the question to see what others have done.

Al

NewsArchive
07-13-2007, 03:21 AM
Hi Al,

Won't a self-extracting ZIP-EXE file fit the requirements?

Regards

Shankar

NewsArchive
07-13-2007, 03:21 AM
Shankar,

The problem is NOT when the ZIP-EXE runs, that is fully "attended" by the
user, the problem is when I'm creating the ZIP-EXE, that needs to be
"unattended". I think the command line compiler in SB 6.5 as noted by
Andrea in another posting will fit the bill perfectly.

Al

NewsArchive
07-13-2007, 03:21 AM
Al,

We are still under spam attack and Friedrich is busy filtering the mail so
I'll try to summarize what he told me <g>

SetupBuilder 6.5 Developer Edition comes with a command line compiler to
compile your projects "unattended". I think you can use the Scheduled Tasks
Windows feature to compile your projects via the command line interface
whenever you want.

If you need further assistance, please let me know.

Andrea

Sales and Support, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes

NewsArchive
07-13-2007, 03:21 AM
Perfect!

Al

NewsArchive
07-13-2007, 03:21 AM
See - I did not knwo that and it seems to be your question answered :)

Still look into capesoft self service to create your own service instead of
windows task manager which is not really perfect

Good luck

JP

--
Merci - Thank you

JP

NewsArchive
07-13-2007, 03:21 AM
JP,
One browse (to hold the programs and the time you want to start)
CHT NT service in the global (to start automatically with your PC -
standard build in CHT)
That's all
It has been working here for the past 5 years

Didier