Now I remember, you need to use
Silent "No GUI" SFX alternative v1.4:
http://adf.ly/1713566/dotnet4sfxngto create the dotNetFx40_Full_x86_x64_SlimSetup.exe for SvcPack AddOn, ask Ricks for more info
in all these line need to remove the ":" (semicolon)
;****="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;****="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
;****="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
;****="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
in
****="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
****="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
****="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
****="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
because otherwise the svcpack addon does not work
Ricks in readme.txt wrote:If you are going to repack this installer for SVCPACK install enable ALL the following lines by removing semicolon in config.txt, so the config file must be so
;!@Install@!UTF-8!
;Default Full w/o install prompt
GUIMode="2"
RunProgram="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
RunProgram="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
RunProgram="netfx_core_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;RunProgram="netfx_corelp_%%P.msi /qn"
RunProgram="netfx_extended_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;RunProgram="netfx_extendedlp_%%P.msi /qn"
RunProgram="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
RunProgram="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;[/ai | SHIFT] Client ONLY w/o progress bar
AutoInstall="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
AutoInstall="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
AutoInstall="netfx_core_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstall="netfx_corelp_%%P.msi /qn"
AutoInstall="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
AutoInstall="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;[/aic] Client ONLY w/o progress bar
AutoInstallc="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
AutoInstallc="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
AutoInstallc="netfx_core_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstallc="netfx_corelp_%%P.msi /qn"
AutoInstallc="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
AutoInstallc="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;[/aif] Client + Extended w/o progress bar
AutoInstallf="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
AutoInstallf="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
AutoInstallf="netfx_core_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstallf="netfx_corelp_%%P.msi /qn"
AutoInstallf="netfx_extended_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstallf="netfx_extendedlp_%%P.msi /qn"
AutoInstallf="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
AutoInstallf="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;[/ain] Client + Extended + ngen w/o progress bar
AutoInstalln="hidcon:reg copy HKLM\\SYSTEM\\Setup HKLM\\SYSTEM\\Setup\\SSIPRS /f"
AutoInstalln="hidcon:reg add HKLM\\SYSTEM\\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f"
AutoInstalln="netfx_core_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstalln="netfx_corelp_%%P.msi /qn"
AutoInstalln="netfx_extended_%%P.msi /update \"%%T\\KB2468871-v2-%%P.msp\" /qn"
;AutoInstalln="netfx_extendedlp_%%P.msi /qn"
AutoInstalln="hidcon:%windir%\\Microsoft.NET\\Framework\\v4.0.30319\\ngen executequeueditems /nologo /silent"
AutoInstalln="x64:hidcon:%windir%\\Microsoft.NET\\Framework64\\v4.0.30319\\ngen executequeueditems /nologo /silent"
AutoInstalln="hidcon:reg copy HKLM\\SYSTEM\\Setup\\SSIPRS HKLM\\SYSTEM\\Setup /f"
AutoInstalln="hidcon:reg delete HKLM\\SYSTEM\\Setup\\SSIPRS /f"
;!@InstallEnd@!
just read the README.txt inside the dotNET4sfxNoGUI1.4.7zto create the SFX archive and very simple, just write to a file cmd this line
copy /b 7zS.sfx + config.txt + dotNetFx40_Full_x86_x64_SlimSetup.7z dotNetFx40_Full_x86_x64_SlimSetup.exe
after you take the dotNetFx40_Full_x86_x64_SlimSetup.exe and create SvcPack AddOn, like you did beforeCiao.
Edited by OnePiece, 10 October 2012 - 03:00 AM.