I'm really stuck

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • JohnA
    Forum Member
    • Sep 2003
    • 2

    I'm really stuck

    Hi,

    I've created an installer which works fine, it installs my files where I want them etc. However I now need 2 options after it's copied files to hard drive from cd from setup.exe.

    I have 2 checkboxes added (just about in my range of skill) but I have no idea how to tell them what to do.

    One of them if checked after next is pressed must do the following:
    1. Copy all files from the cd's (not from the setup.exe, these are gonna be plain files on the cd) X:\Options\Scripting dir and copy them to appdir.
    2. Place shortuts on the startmenu.

    The other if checked after next is pressed has to do this:
    1. Run program stored on cd at and with options:
    \Options\Extract\dbunpack.exe -e appdir\data.dat
    2. I'd like it to wait until dbunpack has done its job before the user can click finish.

    I'm really suck here, any help would be great.

    Thanks
  • Brett
    Indigo Rose Staff Member
    • Jan 2000
    • 2001

    #2
    Re: I'm really stuck

    I sent you a sample project by email that will get you started.

    Comment

    • JohnA
      Forum Member
      • Sep 2003
      • 2

      #3
      Re: I'm really stuck

      Hi,

      Thanks but I still don't see how thats gonna do what I wanted. I really know next to nothing about this, any pointers on where I can get the real idiots guide? [img]/ubbthreads/images/icons/smile.gif[/img]

      Thanks

      Comment

      • Adam
        Indigo Rose Staff Member
        • May 2000
        • 2149

        #4
        Re: I'm really stuck

        In the checkbox screen there is a variable associated with each checkbox. For example by default the first entry is called "Option 1" and the variable is %CheckBox1%. So if you wanted to do something if that checkbox is checked you would:

        On the "After" tab of that screen you would put:

        IF (%CheckBox1% = TRUE)
        ...
        ...
        ..
        END IF

        All actions inside this IF block will be executed when the first checkbox is checked.

        I hope this helps.

        Comment

        Working...
        X