Reply to Thread

Post a reply to the thread: Loop to repeat install to different folders - "decompression error has been detected"

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 06-18-2021, 09:20 AM
    RichBPL

    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-
  • 06-18-2021, 03:32 AM
    linder

    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
  • 06-17-2021, 04:03 PM
    RichBPL

    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?
  • 06-17-2021, 02:23 AM
    linder

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

    Rich,

    please see the attached screenshot.

    Friedrich
  • 06-16-2021, 12:54 PM
    RichBPL

    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

Posting Permissions

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