PDA

Click to See Complete Forum and Search --> : [RESOLVED] Inno Setup [Custom Form] ?


some1uk03
Mar 23rd, 2007, 01:16 PM
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?

randem
Mar 23rd, 2007, 01:51 PM
You call it using code from the code section...

some1uk03
Mar 23rd, 2007, 03:34 PM
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?

randem
Mar 23rd, 2007, 03:36 PM
Check with Kleinma, He does Inno Code and he hangs out in the VB.NET forums.

some1uk03
Mar 27th, 2007, 01:29 PM
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?

some1uk03
Mar 27th, 2007, 02:28 PM
Ok found the problem. Seems like it was the SetIniString function instead.


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