Ok i dont know how to set the function up as a component pre function i have tried using Function .onGUIInit but it says there is already a function named that so what do i do and also i dont want the installer to abort i just dont want that section to appear so i used
ReadINIStr $0 "$INSTDIR\addons\downloaded\installed.ini" "Metamod" "Version"
StrCmp $0 "1.16.2" 0 +2
SectionSetText "SEC1" ""
And i dunno if its right because i dunno how to use it. So if anyone has any advice for my noobish self i would appreciate it. And thanx a lot Kichik u have helped me with almost all of my problems and u rock.
Updater
40 posts
See the following page for more information about page callbacks:
If you aren't using the latest CVS version find the same section on your local documentation. The one online is only for the latest CVS version.
After that, read the MUI readme to find how to set pre function using the MUI (the normal method won't work as you expect with the MUI).
If you aren't using the latest CVS version find the same section on your local documentation. The one online is only for the latest CVS version.
After that, read the MUI readme to find how to set pre function using the MUI (the normal method won't work as you expect with the MUI).
Ok i added the function and now it works but how can i make the subsection dissapear.
also how can i make all check boxes off by default i know i have seen it before but where i tried searching and i couldnt find it. Sorry
also how can i make all check boxes off by default i know i have seen it before but where i tried searching and i couldnt find it. Sorry
And i mean by that is that i want to make the subsections not show in the components section so what do i use
+Section
--subsection
--subsection
i want to make those subsections dissappear
+Section
--subsection
--subsection
i want to make those subsections dissappear
You can hide a section by setting an empty name.
I tried that and it didnt work i used
SectionSetText "SEC1" ""
and when i did that nothing happened also how would i check more than one ini prior to the components section i think i got it i just did this but im not sure if its right...
SectionSetText "SEC1" ""
and when i did that nothing happened also how would i check more than one ini prior to the components section i think i got it i just did this but im not sure if its right...
Function "check"
ReadINIStr $0 "$INSTDIR\addons\downloaded\installed.ini" "Metamod" "Version"
StrCmp $0 "1.16.2" 0 +2
SectionSetText "SEC2" ""
ReadINIStr $0 "$INSTDIR\addons\downloaded\installed.ini" "AMX" "Version"
StrCmp $0 "0.9.6j" 0 +2
SectionSetText "SECA2" ""
FunctionEnd He means;
Section "Section Name" SecID
SectionEnd
Then use;
SectionSetText ${SecID} ""
-Stu
Section "Section Name" SecID
SectionEnd
Then use;
SectionSetText ${SecID} ""
-Stu
Alright thanx it worked perfectly
So are u guys absolutely sure there is no way to find a list of files that are available not even using a mySQL database or somethin like that?
You can't scan the list of files on a server unless the server gives you a method to do it.I didn't say it's impossible, I said the server needs to supply such a method. For example, it's very much possible to let the server create an INI file and send that to you as the response. This can be done with PHP, Perl, JSP, ASP, you name it.