; no - enabled
DisableVmwInst = yes
+; enable this setting to disable Gecko install
+; yes - disabled
+; no - enabled
+DisableGeckoInst = no
+
; set this option to automatically
; specify language in 2nd mode setup
; see hivesys.inf for available languages
/* Get pointer to the global setup data */
PSETUPDATA SetupData = (PSETUPDATA)((LPPROPSHEETPAGE)lParam)->lParam;
- /* Run the Wine Gecko prompt */
- Control_RunDLLW(hwndDlg, 0, L"appwiz.cpl install_gecko", SW_SHOW);
+ if (!SetupData->UnattendSetup || !SetupData->DisableGeckoInst)
+ {
+ /* Run the Wine Gecko prompt */
+ Control_RunDLLW(hwndDlg, 0, L"appwiz.cpl install_gecko", SW_SHOW);
+ }
/* Set title font */
SendDlgItemMessage(hwndDlg,
else
SetupData.DisableVmwInst = 0;
}
+ else if (!wcscmp(szName, L"DisableGeckoInst"))
+ {
+ if(!wcscmp(szValue, L"yes"))
+ SetupData.DisableGeckoInst = 1;
+ else
+ SetupData.DisableGeckoInst = 0;
+ }
}
while (SetupFindNextLine(&InfContext, &InfContext));
-
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,
L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce",
0,