PDA

View Full Version : Wait until Finished Clicked



NewsArchive
10-04-2005, 06:46 AM
App has been moved up to SB5 and starting to understand this awesome
program. After installation the app is loaded but loaded before the
Finished Button is clicked to close the install file.

I know there must a wait function somewhere to wait until install program is
closed.

Don Harvey

NewsArchive
10-04-2005, 06:47 AM
Hi Don,

Unless you have some special things to do when "Running" your app at
the completion of the installation, don't worry about using the script
for this. Go to the "Run" tab, click on "Add", fill in the dialog as
appropriate. If you want that professional effect of giving your user
the option to not run the app then make sure you also choose the
"Finish Dialog" tab of that dialog window, type in the appropriate
text such as "Launch XYZ after install completes?", and place a check
in the "Run program once the installation exits" checkbox. This
results in a checkbox on the "finish" dialog window that is already
checked and has the associated text "Launch XYZ after install
completes?" Unless the user does uncheck it, your app will run as
required once the finish dialog closes.

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
10-04-2005, 06:47 AM
Ron,

Exactly what Geoff said!!

And if you don't want to display a "run checkbox", just move your
"Run Program" function after the last (Finish) Loop Wizard script
item.

--- Start Code Snippet ---

[ Final User Interface ]
! Final wizard dialog definition(s)
Define Wizard Dialog "#1" (Finish)

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

! *** HERE ***
Run Program %_SB_INSTALLDIR%\RTFEDIT.EXE (Always Install)

--- End Code Snippet ---

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

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

NewsArchive
10-04-2005, 06:47 AM
Sorry, fat fingers... that should read "Don".

Friedrich

NewsArchive
10-05-2005, 12:44 AM
Thanks Geoff

That solved it. Somehow I had created a 'runfile1.exe' in addition to the
program. Removed it, checked the appropriate boxes - perfect.