PDA

View Full Version : remove installer?



NewsArchive
04-16-2005, 06:12 AM
[Friday, April 15, 2005 10:26 PM]

Friedrich,

Did you ever decide whether to include a dialog item so I can ask the user
at runtime whether he wants to keep or delete the installer after a
successful installation?

Jane

NewsArchive
04-16-2005, 06:13 AM
[Saturday, April 16, 2005 12:14 PM]

Jane,

Already implemented some weeks ago ;-)

You can use the "Set Installer Flag" to handle this (you only have to set
the $SB_REMOVEINSTALLER$ flag).

1. Display a Checkbox dialog to ask the user at runtime whether he wants to
keep or delete the installer after a successful installation

2. If checkbox marked, set the above flag (see Run Checkbox Demo 1.sb5 demo
script on how to display and "use" a checkbox).

Does this help?

Friedrich

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

NewsArchive
04-19-2005, 09:37 AM
[Saturday, April 16, 2005 6:25 PM]

Friedrich,
Yes. Thanks!
When I set my own variable to $SB_REMOVEINSTALLER$ and read that in a
messagebox, it always shows a value of 11. But setting or clearing the flag
works as advertised as far as removing the installation program.
The flag is mentioned in the docs, but incompletely -
"$SB_REMOVEINSTALLER$-If set, "

Jane