Jump to content

Kal

Members
  • Posts

    94
  • Joined

  • Last visited

Posts posted by Kal

  1. Hi there,

    I'm trying to make my own theme patcher based on this one, for french version. I just saw some strang things in sysdm.cpl.res: all resource that are not modified in this file should not be included. Same thing applies to every other resources files, but I can't check them all.

    Here is the modified version

    Kal

    EDIT : in resource Dialog 101, I don't like the : "Customized By:/XP-tsp Version:". We know you want to be famous, but comon, it doesn't really look professional :pirate:

  2. Hi OnePiece & kontini,

    Thanks for the answer. First, I just discovered that my iepid.exe is completely useless. See my post. ;)

    Anyway, I know that some CLSID are overrided by IE7 update.inf, like these ones :

    ;   ActiveSetup Microsoft Internet Explorer v4.0 Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}",,,"%ASETUP_BASE_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}","ComponentID",,"BASEIE40_W2K"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}","Locale",,"%ASETUP_LOCALE%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}","StubPath",0x00020000,"%SystemRoot%\system32\ie4uinit.exe"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}","Version",,"6,0,2900,5512"

    So no problem for these. But, for those that I posted above, they are not overrided! So if we don't include them in our ie.inf, they're gone. Example, in ie.inf, CLSID_USP10 = {3bf42070-b3b1-11d1-b5c5-0000f8051515}. Search for this CLSID in IE7 update.inf and you won't find anything.

    About "cosmetic", they're not Windows version. Windows XP SP3 version is : 5.1.2600. You can launch a cmd session to get it. IE6 version is 6,0,2900,5512, and IE7 is 7,0,5730,0 or 7,0,5730,13 (need to check further). And IE4Shell_ID should be IE4Shell_NT, or if you have a reason for using IE4Shell_ID I would appreciate to know it.

    Cheers and regards,

    Kal

  3. Hi there,

    I finished to create my IE7 addon for French source, based on OnePiece one. While I was making it, I pointed some registry entries that OnPiece added/removed without any particular reason. Here is the list :

    Why removing these entries : they're not overrided by IE7 update.inf

    ;   Outlook Express / WAB Registration -- only write version keys, their INFs write the rest
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}","Version",,"6,0,2900,5512"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11d2-AF11-00C04FA35D02}","Version",,"6,0,2900,5512"

    ; Advanced Authoring Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_ADVAUTH%",,,"%ASETUP_ADVAUTH_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_ADVAUTH%","ComponentID",,"AdvAuth"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_ADVAUTH%","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_ADVAUTH%","Locale",,"*"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_ADVAUTH%","Version",,"6,0,2900,5512"

    ; DirectAnimation for Java Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_DAJAVA%",,,"%ASETUP_DAJAVA_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_DAJAVA%","ComponentID",,"DAJava"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_DAJAVA%","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_DAJAVA%","Locale",,"*"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_DAJAVA%","Version",,"6,00,01,0223"

    ; TriDataJava Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_TRIJAVA%",,,"%ASETUP_TRIJAVA_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_TRIJAVA%","ComponentID",,"TridataJava"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_TRIJAVA%","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_TRIJAVA%","Locale",,"*"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_TRIJAVA%","Version",,"4,7,0,0320"

    ; USP10 Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_USP10%",,,"%ASETUP_USP10_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_USP10%","ComponentID",,"USP10"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_USP10%","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_USP10%","Locale",,"*"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_USP10%","Version",,"1,397,2406,1"

    ; VBScript Registration
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_VBSCRIPT%",,,"%ASETUP_VBSCRIPT_DESC%"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_VBSCRIPT%","ComponentID",,"MSVBScript"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_VBSCRIPT%","IsInstalled",0x00010001,1,0,0,0
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_VBSCRIPT%","Locale",,"*"
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_VBSCRIPT%","Version",,"5,6,0,5901"


    ; DeskTop Icon Mappings
    HKCR,"CLSID\%CLSID_DesktopIcon%\DefaultIcon",,0x00020000,"""%programfiles%\%LMSIE4%\iexplore.exe"",-32528"
    HKCR,"CLSID\%CLSID_DesktopIcon%\InProcServer32",,0x00020000,"%SystemRoot%\system32\url.dll"
    HKCR,"CLSID\%CLSID_DesktopIcon%\InProcServer32","ThreadingModel",,"Apartment"
    HKCR,"CLSID\%CLSID_DesktopIcon%\ShellEx\PropertySheetHandlers\%CLSID_DesktopIcon%",,,""
    HKCR,"CLSID\%CLSID_DesktopIcon%\ShellFolder",,,""
    HKCR,"CLSID\%CLSID_DesktopIcon%\ShellFolder","Attributes",1,72,00,00,00

    ; These following 4 entries should be nuked and clients like ieuinit.inx, ICW should stop looking here
    ; and look at the App Paths above -- have opened a bug on it.
    HKLM,"Software\Microsoft\IE4\Setup","Path",0x00020000,"%programfiles%\%LMSIE4%"
    HKLM,"Software\Microsoft\IE Setup\Setup","Path",0x00020000,"%programfiles%\%LMSIE4%"
    HKLM,"Software\Microsoft\IE4\Setup","Apps.hlpDate",0,"1998.02.01"
    HKLM,"Software\Microsoft\IE Setup\Setup","Apps.hlpDate",0,"1998.02.01"

    HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","IE - 02",,"%11%\mshta.exe /register" // Could not be registered that way anymore
    HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","IE - 03",,"fixmapi.exe"
    ; For NT, the regsvr calls are dealt with in syssetup.inx under the OleControlDlls section hdr.

    ; URL.DLL Registry Entries

    HKCR,"CLSID\%CLSID_URL_DLL%",,2,"MIME and Internet Property Sheet Hook"
    HKCR,"CLSID\%CLSID_URL_DLL%\InProcServer32",,0x00020000,"%SystemRoot%\system32\url.dll"
    HKCR,"CLSID\%CLSID_URL_DLL%\InProcServer32","ThreadingModel",2,"Apartment"

    ; Marquee.ocx Registry Entries
    HKLM,"Software\Classes\CLSID\{1a4da620-6217-11cf-be62-0080c72edd2d}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}",,2,
    HKLM,"Software\Classes\CLSID\{1a4da620-6217-11cf-be62-0080c72edd2d}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}",,2,


    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache","Persistent",3,01,00,00,00
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1","CacheLimit",3,00,20,00,00
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1","CachePath",0x00020000,"%SystemRoot%\%CACHE_DIR%\cache1"
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2","CacheLimit",3,00,20,00,00
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2","CachePath",0x00020000,"%SystemRoot%\%CACHE_DIR%\cache2"
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3","CacheLimit",3,00,20,00,00
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3","CachePath",0x00020000,"%SystemRoot%\%CACHE_DIR%\cache3"
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4","CacheLimit",3,00,20,00,00
    HKLM,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4","CachePath",0x00020000,"%SystemRoot%\%CACHE_DIR%\cache4"

    HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","gopher",2,"gopher://"

    ; TIFF Files (*.tif, *.tiff)
    HKCR,".tiff","Content Type",2,"image/tiff"
    HKCR,".tif","Content Type",2,"image/tiff"

    ; MIME and FILE Mappings
    HKCR,"exefile","EditFlags",3,D8,07,00,00

    HKCR,".zip","Content Type",,"application/x-zip-compressed"
    HKCR,"MIME\Database\Content Type\application/x-zip-compressed","Extension",,".zip"

    ; AVI File
    HKLM,"Software\Classes\CLSID\{00022602-0000-0000-C000-000000000046}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}","",2,""
    HKLM,"Software\Classes\CLSID\{00022602-0000-0000-C000-000000000046}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}","",2,""

    ; MIDI File
    HKLM,"Software\Classes\CLSID\{00022603-0000-0000-C000-000000000046}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}","",2,""
    HKLM,"Software\Classes\CLSID\{00022603-0000-0000-C000-000000000046}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}","",2,""

    ; WAV File
    HKLM,"Software\Classes\CLSID\{00020C01-0000-0000-C000-000000000046}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}","",2,""
    HKLM,"Software\Classes\CLSID\{00020C01-0000-0000-C000-000000000046}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}","",2,""

    HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{00022601-0000-0000-C000-000000000046}", "Compatibility Flags",0x00010001,0x400
    HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{00022602-0000-0000-C000-000000000046}", "Compatibility Flags",0x00010001,0x400
    HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{00022603-0000-0000-C000-000000000046}", "Compatibility Flags",0x00010001,0x400
    HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{0003000E-0000-0000-C000-000000000046}", "Compatibility Flags",0x00010001,0x400

    [Sweeper.AddReg]
    ; International CodePages
    HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon","shell",,"Explorer.exe"

    HKLM,"Software\Microsoft\%LMSIE4%\PrintAppletsOnFEWin95",""

    Why adding these entries : they're not present in IE7 update.inf

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{6414512B-B978-451D-A0D8-FCFDF33E833C}\iexplore","Count",0x10001,02,00,00,00
    HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{6E32070A-766D-4EE6-879C-DC1FA91D2FC3}\iexplore","Flags",0x10001,04,00,00,00
    HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{6E32070A-766D-4EE6-879C-DC1FA91D2FC3}\iexplore","Count",0x10001,02,00,00,00
    HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{D27CDB6E-AE6D-11CF-96B8-444553540000}\iexplore","Count",0x10001,07,00,00,00
    HKCU,"Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{ED8C108E-4349-11D2-91A4-00C04F7969E8}\iexplore","Count",0x10001,04,00,00,00

    And just for cosmetic :

    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_IESHELL%","ComponentID",,"IE4Shell_ID" 
    ;should be
    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_IESHELL%","ComponentID",,"IE4Shell_NT"

    HKLM,"Software\Microsoft\Active Setup\Installed Components\%CLSID_IESHELL%","Version",,"6,0,2900,5512"
    ;should be
    HKLM,"Software\Microsoft\Active Setup\Installed Components\>%CLSID_IESHELL%","Version",,"7,0,5730,0"

    OnePiece made an amazing work, but I'm just interested to know why he made these modifications :)

    Cheers,

    Kal

  4. I just realised some things keeping me from succesfully installing this inf with advpack.dll.

    If I run CopyFiles in the section executed by advpack.dll, like this :

    [Version]

    Signature=$Windows NT$

    [Optional Components]

    Unix

    [DefaultInstall]

    CopyFiles = InfFile.Files

    RegisterDLLs = AdvancedInstall

    [unix]

    OptionDesc = %UnixDisplayName%

    Tip = "Gnu Unix Utilities AddOn By Kal"

    Modes = 0,1,2,3

    RegisterDLLs = AdvancedInstallOC

    [AdvancedInstall]

    11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %1%\%MAIN_INF%,Install"

    [AdvancedInstallOC]

    11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %MAIN_INF%,Install"

    [install]

    RunPostSetupCommands = Run.Add.Path:1

    CopyFiles = Unix.Files,Wgetrc.Files

    AddReg = Unix.AddReg

    [sourceDisksNames.x86]

    1="Unix Files",%MAIN_CAB%,,"i386"

    That won't work during Windows installation. Indeed, it will look for cab file in %SystemRoot\Inf\i386 (from where INF is launched).

    So that's how it needs to be writted :

    [Version]

    Signature=$Windows NT$

    [Optional Components]

    Unix

    [DefaultInstall]

    CopyFiles = InfFile.Files

    CopyFiles = Unix.Files,Wgetrc.Files

    AddReg = Unix.AddReg

    RegisterDLLs = AdvancedInstall

    [unix]

    OptionDesc = %UnixDisplayName%

    Tip = "Gnu Unix Utilities AddOn By Kal"

    Modes = 0,1,2,3

    CopyFiles = Unix.Files,Wgetrc.Files

    AddReg = Unix.AddReg

    RegisterDLLs = AdvancedInstallOC

    [AdvancedInstall]

    11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %1%\%MAIN_INF%,Install"

    [AdvancedInstallOC]

    11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %MAIN_INF%,Install"

    [install]

    RunPostSetupCommands = Run.Add.Path:1

    [sourceDisksNames.x86]

    1="Unix Files",%MAIN_CAB%,,"i386"

    Moreover, I just discovered that OptionDesc, Tip and Modes directives are only used by Option Components. So no need to put them in DefaultInstall.

  5. Thanks Rick, your help is still appreciated :D

    I need to launch a program that I've just coded, to change path keeping %SystemDrive% value in it. It can also remove a directory from path.

    ; after installation
    [Unix.Add.Path]
    %11%\%UNIXPATH%\chgpath.exe add %%SystemRoot%%\System32\%UNIXPATH%

    ; before uninstallation
    [Unix.Remove.Path]
    %11%\%UNIXPATH%\chgpath.exe remove %%SystemRoot%%\System32\%UNIXPATH%

    Thanks LUZR4LIFE for pointing my double CopyFiles ;)

    Kal

  6. Hi,

    I've tried to launch advpack.dll through Optional Components, like this:

    [Version]
    Signature=$Windows NT$

    [Optional Components]
    Unix

    [DefaultInstall]
    CopyFiles = InfFile.Files
    RegisterDLLs = LaunchAdvancedInstall

    [Unix]
    RegisterDLLs = LaunchAdvancedInstall

    [LaunchAdvancedInstall]
    11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %1%\%MAIN_INF%,Install"

    [Install]
    OptionDesc = %UnixDisplayName%
    Tip = "Gnu Unix Utilities AddOn By Kal"
    Modes = 0,1,2,3
    RunPostSetupCommands = Unix.Add.Path:1
    CopyFiles = InfFile.Files
    CopyFiles = Unix.Files,Wgetrc.Files
    AddReg = Unix.AddReg

    But it doesn't seem to work when it's installed with SYSOC. On a running windows, it works. Have I made a mistake ?

    Cheers,

    Kal

  7. Gnu Unix AddOn Utilities v0.1.1

    unixub7.th.png

    I'm a linux experienced user. When I'm on Windows, I really miss all those utilities that are grep, sed, sort, tail, head, find ... So I decided to make an AddOn with all common Gnu Unix utilities.

    Info:

    • Add %SystemRoot%\System32\GnuWin32 to PATH variable
    • All these programs has been renamed to avoid confusion with their Windows equivalent :
      • expand.exe -> gexpand.exe
      • find.exe -> gfind.exe
      • lpr.exe -> glpr.exe
      • sort.exe -> gsort.exe
      • date.exe -> gdate.exe
      • rmdir.exe -> grmdir.exe
      • mkdir.exe -> gmkdir.exe
      • echo.exe -> gecho.exe

      [*]Uninstallable

      [*]chgpath.exe included to modify PATH variable

    Supported Languages: English, French. (Just for translation in Add/Remove program manager)

    Content:

    bzip2-1.0.5

    coreutils-5.3.0

    cygutils-1.2.9

    diffutils-2.8.7

    file-4.25

    findutils-4.2.20

    gawk-3.1.6

    grep-2.5.3

    gzip-1.3.12

    hextools-1.0

    less-394

    mktemp-1.5-2

    patch-2.5.9

    sed-4.1.5

    tar-1.13

    wget-1.10.1

    which-2.19

    ChangeLog:

    0.1.1:

    - Coded a little utility (chgpath.exe) to modify PATH during installation and uninstallation. No ExtraFileEdits required anymore.

    0.1.0:

    - Initial release

    download.png

    MD5: AC3E10A46FFE6CCB86C9D4ED983E0F57

    Size: 3.19MB

    Website: http://gnuwin32.sourceforge.net/

  8. JkDefrag GUI AddOn v0.1.1

    jkdefrag1jt7.th.png jkdefrag2zl0.th.png jkdefrag3qw6.th.png

    Info:

    • Add shortcut for JkDefrag GUI to Control Panel.
    • Add a menu entry to right click on Hard Disk to Defragment.
    • It replaces default defragmenter, but DOES NOT ovrewrite it, it just uses a reg tweak for this. Default defragmenter is still accessible through start menu.
    • Default screensaver is set to JkDefrag screensaver. This one, after it ends defragmentation, will launch default Windows sccreensaver : logo.scr.
    • Uninstallable

    Supported Languages: English, French. (Feel free to ask a language support if JkDefrag GUI support this language).

    ChangeLog:

    0.1.1:

    - Fixed a little issue when uninstalliog : entre in sysoc.inf wasn't removed

    0.1.0:

    - Initial release

    download.png

    MD5: 437DEC13C6F77E5D94D6BC1DBC1317CD

    Size: 5.08MB

    Website: http://www.emro.nl/freeware/

  9. Kal's Sweet Utils AddOn v0.1.0

    cpltn9.th.png addremovewu5.th.png cmdfu9.th.png

    Info: Kal's Sweet Utils is a collection of system utilities, inspired of Kel's CPL AIO AddOn. I added some common tools, such as CmdOpen and GoRC. The reason I made this one is because Kel's CPL AddOn is not internationalised (no French language support) and it comes with a lot of tools I don't need. So I made mine ;)

    Supported Languages: English, French.

    Content:

    ClearType Tuning

    CPU-Z v1.4.6

    DirectX 9.0c CPL

    GPU-Z v0.2.6

    HD Tune v2.55

    HWmonitor v1.1.0

    MemTest v3.7

    Windows Installer CleanUp v2.5.0.1

    Nero Info Tool v5.2.3.0

    Services and Devices v2.7

    TweakUI PowerToy v2.10.0.0

    GoRC 0.90.3e

    Open cmd Here v1.0.4 + Customised configuration for cmd.exe (see screenshot above)

    User Accounts Advanced CPL (Windows 2000 Style)

    MSConfig CPL

    ChangeLog:

    0.1.0:

    - Inistial release

    download.png

    MD5: 091AEEEAB58EAEF36A59AC586106A789

    Size: 2.73MB

×
×
  • Create New...