Results 1 to 6 of 6

Thread: [RESOLVED] Inno Setup [Custom Form] ?

  1. #1

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Resolved [RESOLVED] Inno Setup [Custom Form] ?

    Hello,

    Ive just found and the Inno Setup Form Designer to create one custom page for my installation.

    Its a simple page with 5 options buttons.

    Now i have no idea how to add this to my Installation.

    Any help please?
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



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

    Re: Inno Setup [Custom Form] ?

    You call it using code from the code section...

  3. #3

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: Inno Setup [Custom Form] ?

    Ok i managed to somehow get the form showing with Inno after the welcome screen, but the Option boxes are not shown!! just a plain form!

    How do i move the order of which the form is shown?

    How do i get the option boxes to display?

    How do i do a Select Case statement with Inno?
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



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

    Re: Inno Setup [Custom Form] ?

    Check with Kleinma, He does Inno Code and he hangs out in the VB.NET forums.

  5. #5

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: Inno Setup [Custom Form] ?

    Ok i managed to sort out everything.. except 1 problem..

    I get an error with..

    if RadioButton1.checked = True Then WriteIni('{userappdata}\Program Name\test.ini', 'Data' , 'No', 'John')

    There error is raised with the WriteIni function.

    In the help file it says:

    Prototype
    void WriteIni(str 1, str 2, str 3, any 4)

    It says Unknown Identifier WriteIni

    Description
    Writes specified value to an INI file. Argument 1 is the name of the INI file, argument 2 – the name of a section in the INI file, argument 3 – the name of a key in the section. Last argument should be set to the value you wish to be written to the INI file,it can be of any type.
    It says Unknown Identifier WriteIni

    Any clues?
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



  6. #6

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: Inno Setup [Custom Form] ?

    Ok found the problem. Seems like it was the SetIniString function instead.


    SetIniString('Data', 'No', 'John', iniPath)
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



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