Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Cancel install

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Cancel install

    Hi Friedrich,

    Is there any way to take actions in the script if the install is cancelled?
    In one of my installs I check/write to a file at the beginning of it that
    under certain circumstances I need to undo if the install is cancelled. Any
    ideas on how to accomplish that?

    Best regards,

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

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

  2. #2

    Default Re: Cancel install

    Set a flag where the code would only get touched on the final dialog?

    So if aborted, it never gets set?

    Jeff Slarve

  3. #3

    Default Re: Cancel install

    Jeff,

    > Set a flag where the code would only get touched on the final dialog?
    > So if aborted, it never gets set?

    I was going to suggest something similar but where in the script does
    Arnor's undo get processed when the script is cancelled?<g>

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Enhanced Reporting: http://www.cpcs-inc.com

  4. #4

    Default Re: Cancel install

    > I was going to suggest something similar but where in the script does
    > Arnor's undo get processed when the script is cancelled?<g>

    That "other" product I used before, which will remain nameless<g>, had
    an exit point where you could add script for cancelled processing.

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Enhanced Reporting: http://www.cpcs-inc.com

  5. #5

    Default Re: Cancel install

    Hi Jeff,

    > Set a flag where the code would only get touched on the final dialog?
    >
    > So if aborted, it never gets set?

    Sure, but the question is where the heck do you put that code to execute...

    Best regards,

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

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

  6. #6

    Default Re: Cancel install

    Arnor,

    > Sure, but the question is where the heck do you put that code to execute...

    I guess you -could- call an install from inside another install and
    use Exit Installation in the called script to determine if it was
    cancelled, ie: if NOT cancelled return an exit value.

    In the parent you could do your setup and depending on the returned
    value from the child install undo it before exiting the parent.

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Enhanced Reporting: http://www.cpcs-inc.com

  7. #7

    Default Re: Cancel install

    > I guess you -could- call an install from inside another install and

    I thought that was a viable workaround. Oh well.<g>

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Enhanced Reporting: http://www.cpcs-inc.com

  8. #8

    Default Re: Cancel install

    Oh.

    MySetup.Destruct<g>

    Jeff Slarve

  9. #9

  10. #10

    Default Re: Cancel install

    Hi,

    > http://www.lindersoft.com/forums/showthread.php?p=45165

    Thanks

    Best regards,

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

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •