PDA

View Full Version : [sb_project_exe]



NewsArchive
06-11-2007, 03:05 AM
What is the function of this variable?
(None as far as I can see)

I would expect it to contains the name of the resulting Project
Executable.... but no, that is contained in [EXENAME] (which I would expect
to be my *application* exe!)

So what is the purpose of [SB_PROJECT_EXE]?

And there is no built-in for the name of the main application variable?
I have created one, of course (%PROGRAMEXE%), but ..... just
surprised at the omission, since most else seems covered.

Steve

NewsArchive
06-11-2007, 03:05 AM
> I would expect it to contains the name of the resulting Project
> Executable.... but no, that is contained in [EXENAME] (which I would expect
> to be my *application* exe!)

Steve,

Friedrich will answer your question here no doubt, but I think this refers
to the EXECUTABLE NAME as specified in the Visualizer.

When you see the "Executable Name", typically that will be the name of your
INSTALLER - not the program.

A VERY good method to use here is prepend the word "Setup" to your main
program name.

For example:

The installer for MyProgram.exe gets its executable name set to
SetupMyProgram.exe.

This means that when a customer downloads the installer to their drive and
views the filename at some later time that they KNOW that this is the
INSTALLER for MYPROGRAM.EXE.


There are a lot of people who download now - install later, so you don't
want to make the mistake of assuming that an installer called SETUP.EXE
makes sense to them - nor can you rely on them being smart enough to rename
it or place it somewhere intelligent<g>.

Good luck on your projects!


Charles




--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
06-11-2007, 03:06 AM
This makes no sense to me.... reading the Help, this should be the
Application ('my program' name).

I know what to call my installer setup (I just use a different protocol to
you)... but I find this dialog confusing.

Whatever....

Steve Bywaters

NewsArchive
06-11-2007, 03:06 AM
Hi Steve,

>I would expect it to contains the name of the resulting Project
>Executable.... but no, that is contained in [EXENAME] (which I would expect
>to be my *application* exe!)

EXENAME Is the name of the install exe. Your application exe could be
one of several being included in an install or there might not be an
exe. I can't see how SB could pick one out.

>So what is the purpose of [SB_PROJECT_EXE]?

This is a read-only compiler variable and my gess would be that it's
for internal use by SB.

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
06-11-2007, 03:06 AM
Steve,

The "Compiler Variables" Visualizer gives you the value of this "read-only"
compiler variable.

[SB_PROJECT_EXE] and [SB_PROJECT_WEB] point to the "standard" locations of
the installation images. If you compile web-enabled installation
applications, the compiler generates the images in the [SB_PROJECT_WEB]
folder.

You can use these variables to handle post-compilation tasks (e.g. zip,
copy, move, ftp, etc.).

If you set a custom [OUTPUTDIR] value, you can use [OUTPUTDIR] to handle
post-compilation tasks.

HTH,

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

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

-- Official Comodo Code Signing and SSL Certificate Partner