Indigo Rose Software
  #1  
Old 12-29-2008
slota slota is offline
Forum Member
 
Join Date: Aug 2008
Posts: 21
Star Bug: 'Project Actions' => 'On Shutdown'

I'm add some custom function in 'Project Actions' => 'On Shutdown', like DialogMessage, and some functions are not performed while setup is deinitialized (On Shutdown), but 'On Cancel' action on each screen custom functions works fine. Used version: 8.1.1006.0. Please correct this.
Reply With Quote
  #2  
Old 12-29-2008
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
Hello,

if you are a registered customer, please open a support ticket and attach your project file to it. Please provide clear information about which actions are not performed. Thank you.

Ulrich
__________________
Reply With Quote
  #3  
Old 12-30-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Quote:
Originally Posted by slota View Post
I'm add some custom function in 'Project Actions' => 'On Shutdown', like DialogMessage, and some functions are not performed while setup is deinitialized (On Shutdown), but 'On Cancel' action on each screen custom functions works fine. Used version: 8.1.1006.0. Please correct this.
Not sure there's anything to "correct"...

This behaviour has been the way the product has been since 7 (or 6?)

The way "around" this is to change the "cancel" (screens) and your "on shutdown" to call the same global function.

OnShutdown, I suspect, was meant for "after all has been done w/o error or cancelation". If you look at the "flow"

On startup Action
Pre Install Screens
Pre Install Actions
During Install
PostInstall Actions
Post Install Screens
On Shutdown actions

Cancel can sort of be "anywhere" -- think of "on shutdown actions" as actions that are performed after all post-install screens have been shown successfully.

The suggestion is already on record with IR that there should be a global "on cancel" actions that is similar to OnShutdown. For now; just edit (I use UltraEdit) the .sf8 file and do a search/replace) the screen's "cancel" to call a global function -- change the onshutdown to call that same global function as well; then everything will do call the same "clean up" routines no matter how the install is finished/terminated.
__________________
Reply With Quote
  #4  
Old 12-31-2008
slota slota is offline
Forum Member
 
Join Date: Aug 2008
Posts: 21
No problems if I'm place some function or code in ''On Cancel''. But if function placed ''On Shutdown'' that no need to call it from each screen . For example in AutoPlay Media Studio ''On Shutdown'' project action works fine - custom function execute after app is Closed. I'm not test it with other IR products, but in official Setup Factory 8.1.1006 it's not work.
Reply With Quote
  #5  
Old 12-31-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
I gave you the "why" and a valid work around .... it's not an issue as you think it is... it's by design....
__________________
Reply With Quote
  #6  
Old 03-02-2009
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Yes, jassing is correct, this functionality is by design.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TrueUpdate 2.0 Update (v2.0.6.0) Released Brett TrueUpdate 2.0 0 10-31-2006 02:10 PM
New Setup Factory 7.0 (v 7.0.2.0) Available Darryl Setup Factory 7.0 Discussion 9 03-06-2005 02:57 PM
Registry problem... parallon Setup Factory 7.0 Discussion 2 01-31-2005 12:37 PM
AutoPlay Media Studio 4.0.0.3 Released Brett AutoPlay Media Studio 4.0 0 12-11-2002 09:39 AM
HOWTO: Create a Project Template Support AutoPlay Media Studio 4.0 Examples 0 10-28-2002 02:49 PM


All times are GMT -6. The time now is 05:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software