[Main]
Title=PENetCfg
Author=martinr, NightMan
Level=3
Version=12
Description=Configuring the Network. Needs Windows Vista DVD as source
Locked=false
Contact=
Date=22.06.2008
Selected=False
Download_Level=0

[Variables]
%ProgramFolder%=penetcfg
%ProgramEXE%=PENetCfg.exe
%ProgramTitle%=PENetCfg

[Process]
Echo,Processing %ProgramTitle%...
IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
If,"%SourceType%",NotEqual,"VistaCD",Exit,"Request Windows Vista DVD..."
RunFromRam,True
Unpack,Files,PENetCfg.7z
Add_Shortcut,StartMenu,Network
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,QuickLaunch
#
FileCopy,"%InstallSRC%\Windows\System32\drivers\tcpipreg.sys","%TargetDir%\Windows\System32\drivers"
RegHiveLoad,Tmp_setupreg_hiv,%RegSystem%
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","DisplayName","TCP/IP Registry Compatibility"
RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","ImagePath","System32\drivers\tcpipreg.sys"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","Description","Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","ErrorControl","0x00000001"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","Start","0x00000002"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","Type","0x00000001"
RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg","DependOnService","tcpip"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg\Enum","0","Root\LEGACY_TCPIPREG\0000"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg\Enum","Count","0x00000001"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\tcpipreg\Enum","NextInstance","0x00000001"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG","NextInstance","0x00000001"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","Service","tcpipreg"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","Legacy","0x00000001"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","ConfigFlags","0x00000020"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","Class","LegacyDriver"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","DeviceDesc","TCP/IP Registry Compatibility"
RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000","Capabilities","0x00000000"
RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000\Control","ActiveService","tcpipreg"
RegHiveUnLoad,Tmp_setupreg_hiv

[EncodedFolders]
files

[files]
PENetCfg.7z=368Kb,491Kb

[EncodedFile-files-PENetCfg.7z]
lines=123
[encoded data, 503880 characters]

[Interface]
pCheckBox1="Add shortcut to desktop",1,3,10,40,200,18,False
pCheckBox2="Add QuickLaunch icon",1,3,10,65,200,18,True

[AuthorEncoded]
Network1.gif=4Kb,5Kb
Logo=Network1.gif

[EncodedFile-AuthorEncoded-Network1.gif]
lines=1
[encoded data, 6055 characters]

