+ Reply to Thread
Results 1 to 5 of 5

Thread: Loop to repeat install to different folders - "decompression error has been detected"

  1. #1

    Default Loop to repeat install to different folders - "decompression error has been detected"

    I want to allow a SB setup script to repeat part of the script, so user may install/update into various instances of "hosted" program.
    I have a LOOP that surrounds the following script sections:
    - Wizard Loop
    - Progress Dialog
    - Create Installatioin App & Log
    - Create Folders
    - Install Files
    - Create shortcuts
    - Create an XML file
    - Modify system / Add Firewall rules
    - Register all pending file operations
    - Display Message box - prompt to repeat or exit

    The second time through I get the following error when decompressing the main .exe file (that receives a new name via the [Advanced] / "Desitination Filename" option on its "Install File(s)" script command:

    "A decompression error has been detected"

    p.s. SB Version 10.0.6531
    -Rich F.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Loop to repeat install to different folders - "decompression error has been detec

    Rich,

    please see the attached screenshot.

    Friedrich
    Attached Images Attached Images  

  3. #3

    Default Re: Loop to repeat install to different folders - "decompression error has been detec

    Okay. How about if I split my script into two exe's: 1) a main one that collects the user's options in a loop and passes the options (via command line or a text file) to, 2) a second program that performs the Install?

    Would two SB compiled installer exe's with different names, running at the same time, collide with each other?
    -Rich F.

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Loop to repeat install to different folders - "decompression error has been detec

    Rich,

    or what about using the "Copy File" function to copy from the installed file to the 2nd location?

    Friedrich

  5. #5

    Default Re: Loop to repeat install to different folders - "decompression error has been detec

    Oh, right, "Copy File" allows use of wild-cards, which I hadn't realized, so yes that could work for me along with "Rename File".

    I would "Install" to a master folder which is used only for storing the uncompressed files and then have a loop in the script after that that prompts to Copy those files to a new customer folder or update an existing folder.
    For the few files that are named differently for each customer, I'd just use delete and rename on them.

    Any thoughts on the other question I posted about tracking multiple installed instances on a hosting computer?
    -Thanks-
    -Rich F.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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