PDA

View Full Version : Abort Dialog customization



NewsArchive
03-29-2009, 12:26 AM
Hi Friedrich,

how can I customize the Abort-Sequenz? I want to add the following line:

Text File: Insert Line 0 to "%LOGFILE%" -- Setup cancelled by user after
Dialog %_SB_DIALOGID%!

Markus

NewsArchive
03-29-2009, 12:27 AM
Hi Markus,

> how can I customize the Abort-Sequenz? I want to add the following line:
>
> Text File: Insert Line 0 to "%LOGFILE%" -- Setup cancelled by user after
> Dialog %_SB_DIALOGID%!

If the user "aborts" an installation, script execution is stopped
immediately. So there is no way to process any line after that happened.

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-29-2009, 12:27 AM
Hi Friedrich,

> If the user "aborts" an installation, script execution is stopped
> immediately. So there is no way to process any line after that happened.

Perhaps you could have some kind of "On Abort" section that get's called
when the script is aborted? Or call a user defined dll/function if the
script aborts?

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-29-2009, 12:28 AM
Hi Arnór,

>> If the user "aborts" an installation, script execution is stopped
>> immediately. So there is no way to process any line after that
>> happened.
>
> Perhaps you could have some kind of "On Abort" section that get's called
> when the script is aborted? Or call a user defined dll/function if the
> script aborts?

I'll look into this for SB 7.1 :-) By design, the script is terminated
immediately if the Wizard "Cancel" button is pressed to quit the setup. I
agree, a special "On Abort" include script (similar to the custom uninstall
script) would give us ultimate flexibility -- but it's not a trivial task to
add this to the compiler.

Friedrich

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-29-2009, 12:28 AM
Hi Friedrich,

> agree, a special "On Abort" include script (similar to the custom uninstall
> script) would give us ultimate flexibility -- but it's not a trivial task to
> add this to the compiler.

Sounds like a great idea. You can do it!:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
05-06-2011, 12:58 PM
Hi Friedrich,

> I'll look into this for SB 7.1 :-)

any news about this?

Markus

NewsArchive
05-06-2011, 12:58 PM
Hi Markus,

> > I'll look into this for SB 7.1 :-)
>
> any news about this?

It's implemented as an experimental feature in SB8, but will not be
available (backport is not possible) in SB7.x.

Friedrich