ashley_desilva
31st January 2008 23:41 UTC
How to connect to a server using a custom page
Hi,
How can I connect to a particular server and access a database in that server from a custom page that is created using the 'InstallOptions' plug-in.
Basically what I have is a registration form which asks the user for a registration key. In my setup it is crucial that I contact the server from the custom page, so that I can identify that the registration key entered by the user is a valid one and allow the installation to continue only if is a valid key.
What is the way around this issue? Please let me know the best solution and other alternatives too.
Can you please help me on this.
kichik
1st February 2008 14:15 UTC
You can use NSISdl, InetC or InetLoad to download pages by HTTP. Use them to access your server side script and verify the registration.
ashley_desilva
2nd February 2008 13:07 UTC
Thanks a lot, As a novice I appreciate you taking the time to explain things to me. Thank you.
Afrow UK
3rd February 2008 15:40 UTC
NSISdl is included with NSIS. The other two you will find if you search the Wiki or these forums.
Stu
DEbln001
9th April 2008 11:36 UTC
Deactivating Buttons
Hello,
I am using inetc in sections and in custom pages. when inetc is downloading files in sections, the install button is deactivated. on custompages, the back/next/abort button are aktivated. now, when inetc is downloading files and i push one of these buttons, the installer crashes. is there any possibilty to deaktivate those buttons during the download process?
thx for your help
Afrow UK
9th April 2008 16:10 UTC
GetDlgItem $R0 $HWNDPARENT 1
EnableWindow $R0 0
GetDlgItem $R0 $HWNDPARENT 2
EnableWindow $R0 0
GetDlgItem $R0 $HWNDPARENT 3
EnableWindow $R0 0
1 is the Next button, 2 and 3 are the Cancel and Back buttons.
Stu
DEbln001
10th April 2008 10:42 UTC
Thank you, that works fine!