Can a Section effect a custom page?
Goodday everyone!! ^_^
Wouldnt be a new week unless i had to ask a question to bug you all with. So for my weekly installment:
So i have a section:
Section /o "Import Settings from a File." SEC03
Is there a way to the checking of this section during the install to skip a custom page that requests this data from a user. Process wise it happens after the user picks what is being installed. Now I'll admit that i am not even sure what is calling the custom page "Page custom ConfigOptions".
I believe it is from the oninit:
Function .onInit
;Extract InstallOptions INI files
System::Call "kernel32::GetCurrentProcess() i .s"
System::Call "kernel32::IsWow64Process(i s, *i .r0)"
strcpy $OS64B $0
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ihm.ini"
!insertmacro PARAMETERNAME SERVER NONE
ifsilent 0 OninitOK
strcmp $SERVER 'NONE' 0 OninitOK
Abort
OninitOK:
!insertmacro PARAMETERNAME RMTCMD 0
StrCmp $RMTCMD 1 onInitEtap1 0
strcpy $RMTCMD 0
onInitEtap1:
ReadEnvStr $TMPHOST COMPUTERNAME
${StrCase} $HOST $TMPHOST "L"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 2" "State" $SERVER
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 6" "State" $HOST
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 7" "State" $RMTCMD
But that is totally a guess. can anyone enlighten me?