PDA

View Full Version : Progress Dialog and ...



NewsArchive
06-15-2005, 09:07 AM
Hello,

I am trying to understand this feature, Progress Dialog. There is nothing
in the help text or an example. I'll assume that it changes the status
text during the installation - and there are three lines.

1. The online help needs to have a png of the window, with an arrow or
pointer which shows where lines 1, 2 and 3 are.

2. In SB4, I was able to highlight a group of files, right-click, and change
the text .. like "DLL Files", "Language Files", "Database files"....and
then, as the installer ran, it would show this in the dialog. How does
this work with SB5. (Maybe my installation is too small and it zips right
along ... but here's an example .... )

oops, there was no way for me to high-light 13 lines in the script embed and
post it here ... is that possible?

.... okdoke ... I'll do it manually.

Can I do this:

[ Install Files ]
Set 2nd Progress Status Text to "Installing the DLL's"
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Set 2nd Progress Status Text to "Installing the other DLL's"
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Set 2nd Progress Status Text to "Ok, we don't have much more to go ..."
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)
Install File "C:\Clarion6\Template\iQXml.tpl" to
%_SB_INSTALLDIR%\Template\iQXml.tpl (Always Install)

Is this right?



Ok, two other unrelated questions:

1. In SB4, I had an option to copy my install directory to a new place.
(Thank you for adding this for me in SB4) ... Ok - how do I do that in SB5.
I looked at the help, and I don't understand twice in my script it says:

! The Wizard Loop displays the dialog screens that the user sees in the
installation
Loop Wizard
Wizard Auto Break
End

It actually says that in two different places in my script - why twice -
same comment and all. But, more importantly, where exactly do I add the line
"COPY LOCAL FILE(s)" so it happens immediately before the installation. Do
I put it right under "[Install Files]" line?

2. Copy Local Files? There is no pull-down for variables or
anything....I'll assume I can still use %_SB_INSTALLDIR% there even through
variables are not in a pull-down?

Such as:

SOURCE: %_SB_INSTALLDIR%\*.*
DESTINATION: %_SB_INSTALLDIR%\_install


Thank you very much!

NewsArchive
06-15-2005, 09:08 AM
Hi Robert,

> I am trying to understand this feature, Progress Dialog. There is nothing
> in the help text or an example. I'll assume that it changes the status
> text during the installation - and there are three lines.
>
> 1. The online help needs to have a png of the window, with an arrow or
> pointer which shows where lines 1, 2 and 3 are.

See attached screenshot. There is a "Progress Dialog.sb5" example script to
demonstrate the "Progress Dialog: Status Text" function.

The 3rd text is only available when downloading files or if file is > 1MB.

> 2. In SB4, I was able to highlight a group of files, right-click, and
> change the text .. like "DLL Files", "Language Files", "Database files"
> ....and then, as the installer ran, it would show this in the dialog.
> How does this work with SB5. (Maybe my installation is too small and it
> zips right along ... but here's an example .... )

The old "Copy Text" when installing files is not supported in SB5. The
installer automatically sets Line 1 and Line 2 so a manual "Set 2nd Progress
Status Text to "Installing the DLL's" would be overwritten.

> oops, there was no way for me to high-light 13 lines in the script embed
> and post it here ... is that possible?

Yes, highlight lines and right click. Then select "Copy Text to Clipboard"
and paste it into a mail.

> Ok, two other unrelated questions:
>
> 1. In SB4, I had an option to copy my install directory to a new place.
> (Thank you for adding this for me in SB4) ... Ok - how do I do that in
> SB5. I looked at the help, and I don't understand twice in my script it
> says:
>
> ! The Wizard Loop displays the dialog screens that the user sees in the
> installation
> Loop Wizard
> Wizard Auto Break
> End
>
> It actually says that in two different places in my script - why twice -
> same comment and all. But, more importantly, where exactly do I add the
> line
> "COPY LOCAL FILE(s)" so it happens immediately before the installation.
> Do I put it right under "[Install Files]" line?

The first Loop Structure is to display the Welcome, Readme, etc. dialogs and
the last Loop Structure to display the Finish dialog. You can change this
and add/remove dialogs. You can also remove the last Wizard Loop structure.

The script is "what you see is what you get". You can put it wherever you
want it.

For example, put it before "Display Setup Progress Dialog" function.

> 2. Copy Local Files? There is no pull-down for variables or
> anything....I'll assume I can still use %_SB_INSTALLDIR% there even
> through variables are not in a pull-down?
>
> Such as:
>
> SOURCE: %_SB_INSTALLDIR%\*.*
> DESTINATION: %_SB_INSTALLDIR%\_install

See "Using Variables"

"When used properly, variables offer a lot of flexibility. You can easily
insert variables where applicable by pressing CRTL-Right Mouse button
simultaneously on an edit field. This will open a screen that will allow you
to select the variable that you want to insert."

Does this help?

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-15-2005, 09:08 AM
Friedrich,

> The old "Copy Text" when installing files is not supported in SB5. The
> installer automatically sets Line 1 and Line 2 so a manual "Set 2nd
> Progress
> Status Text to "Installing the DLL's" would be overwritten.

> The 3rd text is only available when downloading files or if file is > 1MB

I/We need a way to display subset text to the user while the installation is
going, like in SetupBuilder4. Especialy for subset of small files.

Take for example, my installation which has 4 subsets of the data 134 small
TPS files.

U.K. Sample Data
USA Sample Data
Canadian Sample Data
Australian Sample Data

The installer goes through and says the same 134 files over and over (4
times!) to the user. xyz.tps, abc.tps, qfd.tps, etc. -- all of which means
nothing at all to the end-user. The installation program should be very
self-explanatory to an installer in the field.

There has to be a way to display a subset description to the installer,
which it be by a 4th line or overriding the 1st line text and appendind the
50% of whatever.

The installer should be informative to the end-user and not cryptic in
anyway.

I really would want to be able to say:

Installing DLL files
Installing Active-X Controls
Installing Demo Data
Installing U.K. Sample Data
Installing USA Sample Data
Installing Canadian Sample Data ...
Installing Australian Sample Data...

Somewhere during the file installation procedure .... the user will know
what is going on more than just seeing 1000 files go whizzing by.

Thanks for the consideration ....

-Robert

NewsArchive
06-17-2005, 02:38 AM
Hi Robert,

This is probably not the ideal solution because it requires you
manually reorganizing the order of your files in your script. Anyhow
if you were prepared to rearrange your install files into the relevant
group order and then define the !st Progress Status Text at the
beginning of each group then that works fine. I just tested it and
placed a Sleep 1 second after each change of Status text so I could
see it and it was consistant. I don't know of any easy way to arrange
the install files into the groups other than highlighting each one and
moving them up or down as appropriate.

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
06-21-2005, 05:28 AM
Geoff,

Yes! All my files are in a organized solution. They are in directory
groups now because SetupBuilder 5 has a cool way of attaching files.

Like this!

Set 1st Progress Status Text to "Installing Template Files"
Install File "C:\myproduct\releasefolder\templates\*.*" to
%_SB_INSTALLDIR%\Template\*.* (Always Install)

Set 1st Progress Status Text to "Installing Library Files"
Install File "C:\myproduct\releasefolder\Library\*.*" to
%_SB_INSTALLDIR%\Library\*.* (Always Install)

Set 1st Progress Status Text to "Installing Source Files"
Install File "C:\myproduct\releasefolder\Source\*.*" to
%_SB_INSTALLDIR%\LibSrc\*.* (Always Install)

Set 1st Progress Status Text to "Installing Program Files"
Install File "C:\myproduct\releasefolder\Programs\*.*" to
%_SB_INSTALLDIR%\MyProgram\*.* (Always Install)

Now, how cool is that? What is why I want to have the ability to have a
Message Dialog during the installation.

-Robert

NewsArchive
06-21-2005, 05:28 AM
Hi Robert,

I think we'll have a solution to this in the next build.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-21-2005, 05:29 AM
Friedrich,

When are you going to stop!?!?!?!

Amazing me that is!

-Robert

NewsArchive
06-21-2005, 05:29 AM
Robert,

SB5 is already feature complete - so this is only a "minor code
modification", not a feature enhancement <g>

Friedrich

NewsArchive
06-21-2005, 05:29 AM
"Feature Complete"

Something my users never heard of.

"Thank you for spending 10,000 hours on all that - but can it now do this?"
Ha!

Glad it was only a minor change for you, but a major benefit to me/us.

-Robert

NewsArchive
06-21-2005, 05:29 AM
<G>

Only version 5.00 is called "feature complete" :) I already have tons of
new features and enhancements for v5.01 - v7.0

The final SB5 will be available by the end of this month. You'll see
bug-fixes and enhancements on a weekly basis (automatically done with
WebUpdate). In the event a significant bug is found, updates are issued
more often.

Friedrich