Results 1 to 5 of 5

Thread: Inno setup help

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Posts
    195

    Inno setup help

    Hi,
    Does anyone here know much about inno setup?. I'm currently trying to look at different ways of implementing my project.

    I am currently struggling as I am trying to run an automated software install script through inno setup but it doesn't actually wait for the installation to finish before proceeding.

    So inno setup installer will show the installation as complete but the script is still running?

    thanks

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Posts
    195

    Re: Inno setup help

    I've now managed to get it working. But I've found that the progress bar will remain at 100% and upon the scripts ending the finish button will appear.

    Does anyone know why the progressbar is just stuck at 100%. Trying to work out how I can dedicate a certain percentage of the progress bar to each part in the run section. Code for part of inno setup is below. Thanks


    Code:
    [Files]
    Source: Firefox.exe; DestDir: {tmp}; Flags: ignoreversion
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    Source: test.exe; DestDir: {tmp}; Flags: deleteafterinstall
    Source: test2.exe; DestDir: {tmp}; Flags: deleteafterinstall
    
    [Run]
    Filename: {tmp}\test.exe
    Filename: {tmp}\test2.exe
    Last edited by jbennett; Mar 30th, 2008 at 10:14 AM.

  3. #3

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno setup help

    What progress bar? I see nothing about a progress bar.

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno setup help

    If you mean Inno Setup's progress bar, you should design your own that you can control using the [Code] section and the Pascal code.

    Ex.
    Code:
    TNewProgressBar = class(TWinControl)
      property Min: Longint; read write;
      property Max: Longint; read write;
      property Position: Longint; read write;
    end;
    Look at Pascal Scripting: Support Classes Reference in Inno Setup for more information

Posting Permissions

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



Click Here to Expand Forum to Full Width