Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863

    how to always "leave no trace" even if your install crashes.

    Sometimes installs crash. It's a fact of life.
    Usually this doesn't mean much; just a few files get left behind.
    But is a big deal if you (like me) like to be sure you never leave an unwanted file behind... I know I get irked when an app finishes installing, but it leaves lots of files behind in the temp folder..

    Enter "SUFPostCleanup"!

    With 1 small primer file & 1 line of code in "OnStartup"; your installs will never leave a trace behind -- even if you kill your setup, kill irsetup, or either crash.

    I have attached a zip file with the required exe & sample .sf8 file showing how to use it (primer file & code)

    Enjoy.
    -josh
    PS: Note to script kiddies: Do not wrap this code & exe into a plugin, that's the reason I created this in the 1st place... bad plugins!
    pss: Yes, I have an ams specific version too.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  2. #2
    Join Date
    Apr 2010
    Posts
    529
    Hey josh

    This'll work nice in the installer I'm working on. Where can I find the AMS (hopefully 8???) version of this?

    Cheers,
    Dean

  3. #3
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    There isn't one -- but I could dig out the code & make an ams version.
    --edit--
    Hmm. lookie there; I already had the source written for it -- just never compiled it.

    I'll compile & test it -- check back later.
    Last edited by jassing; 01-24-2011 at 11:32 AM.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    The problem needs more attention than I can currently give it -- ams creates 2 temp folders, and I need to see how I can tell which is "the crashed" programs temp folders

    I'll see if I can address it when I finish my other projects up.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    Join Date
    Apr 2008
    Location
    Belgium
    Posts
    37
    Does it work with SUF9?

  6. #6
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    It might. I haven't tested it with suf9 -- suf9 has additional runtimes that may not be removed.
    it is on my list of things to check.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  7. #7
    Join Date
    Apr 2010
    Posts
    529
    Thanks Josh,

    I'll keep an eye on this.

    Cheers,
    Dean

Posting Permissions

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