Jump to content

ricktendo

Members
  • Joined

  • Last visited

Posts posted by ricktendo

  1. tincho83 esto esta resuelto pero solo pasa cuando el upl detecta .net 4eu, voy a ver si lo coloco mas temprano durante t-13 sin depender del .net

    [Copy.Adm.RunCmds]
    "cmd /d /q /c for %%i in (aer_%DECIMAL% conf inetres rspndr system) do if exist "%17%\%%i.adm" xcopy /v /c /q /h /r /k /y "%17%\%%i.adm" "%11%\GroupPolicy\Adm\" 2>nul 1>nul"

    Ah y la causa es search.adm, este archivo se copia a y crea el directorio GroupPolicy\Adm y cuando lanza el gpedit.msc piensa que ya ha copiado los arhivos adm y omite los que tengo en la lista arriba

    Borre el directorio GroupPolicy\Adm o copie manualmente los archivos en la lista

    NECRONEMESIS demasiado preguntas/dudas...tengo que irme talvez mas tarde conteste una o dos

  2. [Adds]
    Name=%Soft_Name%,0x00000008,2
    SubDir=%Provider%
    Infotip="This is a tooltip weeha!QQQQQQ"
    CmdLine=-1,%App_ProgramFolder%,Acmedist.exe
    WorkingDir=-1,%App_ProgramFolder%

    [Deletes]
    Name=%Soft_Name%,0x0000000A,2
    SubDir=%Provider%

    BTW you dont need to use any exotic inf profileitem flags for this shortcut, you can use 0x00000001 then 0x00000002 or 0x00000003 to delete it (OH an it does not install to all users its going into current user)

    [Adds]
    Name=%Soft_Name%,0x00000001
    SubDir=%Provider%
    Infotip="This is a tooltip weeha!QQQQQQ"
    CmdLine=-1,%App_ProgramFolder%,Acmedist.exe
    WorkingDir=-1,%App_ProgramFolder%

    [Deletes1]
    Name=%Soft_Name%,0x00000002
    SubDir=%Provider%

    [Deletes2]
    Name=%Soft_Name%,0x00000003
    SubDir=%Provider%

  3. I started on the manual dism removal for windows 7 but quickly stopped because it broke allot of things, this is all I remove (I also manually remove the sample vids from the public folder)

    for %i in (LocalPack-AU LocalPack-CA LocalPack-GB LocalPack-US LocalPack-ZA) do  dism /image:c:\mount\ /Remove-Package /PackageName:Microsoft-Windows-%i-Package~31bf3856ad364e35~x86~~6.1.7600.16385

    But if you want to unhide the stuff you can remove you can use a tool called install_wim_tweak.exe, this way you can remove a whole lot of stuff...here is what I used to remove from 7 ultimate (but I strongly discourage it from being used)

    install_wim_tweak /p c:\mount\ /m

    for %i in (Anytime-Upgrade-Results
    Backup
    BLB-Client
    Client-Wired-Network-Drivers
    ClipsInTheLibrary
    Common-Modem-Drivers
    IIS-WebServer-AddOn-2
    IIS-WebServer-AddOn
    IIS-WebServer
    Indexing-Service
    LocalPack-AU
    LocalPack-CA
    LocalPack-GB
    LocalPack-US
    LocalPack-ZA
    NFS-ClientSKU
    OfflineFiles
    OpticalMediaDisc
    ParentalControls
    PeerToPeer-Full
    Printer-Drivers
    RasCMAK
    RasRip
    RemoteAssistance
    SampleContent-Music
    SampleContent-Ringtones
    Shell-HomeGroup
    Shell-MultiplayerInboxGames
    Shell-PremiumInboxGames
    Shell-InboxGames
    Shell-SoundThemes
    SnippingTool
    SNMP
    StickyNotes
    SUA
    SystemRestore
    TabletPC-OC
    Telnet-Client
    Telnet-Server
    TFTP-Client
    Tuner-Drivers
    WinOcr) do dism /image:c:\mount\ /Remove-Package /PackageName:Microsoft-Windows-%i-Package~31bf3856ad364e35~x86~~6.1.7600.16385

    The vLite section have allot of guides like this one that may help

  4. Try adding the /T to the end like in the example

    Examples:
    TASKKILL /IM notepad.exe
    TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
    TASKKILL /F /IM cmd.exe /T
    TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
    TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
    TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *
    TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

    BTW this only works if you call the INF section using advanced INF install or advpack.dll, I have a trick that uses UnRegisterDLLs (because it executes before CopyFiles) to do this for Optional Components uninstall (see plusoc.inf of my MCE addon)

    [Uninstall.msmsgs]
    UnregisterDLLs = ExitWindowsLiveMessenger

    [ExitWindowsLiveMessenger]
    11,,taskkill.exe,,,."/F /IM MSNMSGR.EXE /T"
    ;or
    11,,tskill.exe,,,."MSNMSGR"

  5. As for the number for the folder location you can find that in TXTSETUP.SIF

    [WinntDirectories]
    1 = "\"
    2 = system32
    3 = system32\config
    4 = system32\drivers
    5 = system
    7 = system32\ras
    9 = system32\spool
    10 = system32\spool\drivers
    11 = system32\spool\drivers\w32x86\3
    12 = system32\spool\prtprocs
    13 = system32\spool\prtprocs\w32x86
    14 = system32\wins
    15 = system32\dhcp
    16 = repair
    17 = system32\drivers\etc
    18 = system32\spool\drivers\w32x86
    19 = system32\drivers\disdn
    20 = inf
    21 = Help
    22 = Fonts
    23 = Config
    24 = msagent\intl
    25 = Cursors
    26 = Media
    27 = java
    28 = java\classes
    29 = java\trustlib
    30 = system32\ShellExt
    31 = Web
    32 = system32\Setup
    33 = Web\printers
    34 = system32\spool\drivers\color
    35 = system32\wbem
    36 = system32\wbem\Repository
    37 = addins
    38 = "Connection Wizard"
    39 = "Driver Cache\i386"
    40 = security
    41 = security\templates
    42 = system32\npp
    43 = system32\ias
    44 = system32\dllcache
    45 = Temp
    46 = Web\printers\images
    47 = system32\export
    48 = system32\wbem\mof\good
    49 = system32\wbem\mof\bad
    50 = twain_32
    51 = msapps\msinfo
    52 = msagent
    53 = msagent\chars
    54 = security\logs
    55 = system32\icsxml
    57 = system32\mui
    58 = %MUI_PRIMARY_LANG_ID_DIR%
    59 = system32\mui\dispspec
    60 = AppPatch
    61 = Debug
    62 = Debug\UserMode
    63 = system32\oobe
    67 = Help\Tours
    68 = Resources\Themes\Luna
    69 = Resources\Themes\Luna\Shell\NormalColor
    70 = system32\oobe\html\ispsgnup
    71 = system32\oobe\html\mouse
    72 = system32\oobe\html\oemcust
    73 = system32\oobe\html\oemhw
    74 = system32\oobe\html\oemreg
    75 = system32\oobe\images
    76 = system32\oobe\setup
    77 = system32\oobe\sample
    78 = Resources\Themes\Luna\Shell\Metallic
    79 = Resources\Themes\Luna\Shell\Homestead
    91 = Help\Tours\mmTour
    92 = Help\Tours\htmlTour
    93 = Provisioning\Schemas
    100 = system32\1025
    101 = system32\1028
    102 = system32\1031
    103 = system32\1033
    104 = system32\1037
    105 = system32\1041
    106 = system32\1042
    107 = system32\1054
    108 = system32\2052
    109 = system32\3076
    110 = system32\wbem\xml
    111 = system32\usmt
    112 = system32\inetsrv
    123 = mui
    124 = WinSxS
    125 = WinSxS\Manifests
    126 = WinSxS\InstallTemp
    127 = ime
    129 = Resources\Themes
    130 = ime
    132 = ime\imejp
    133 = System32\IME\PINTLGNT
    134 = System32\IME\CINTLGNT
    135 = System32\IME\TINTLGNT
    136 = IME\CHTIME\Applets
    137 = ime\imejp98
    138 = ime\imejp\applets

    139 = pchealth\helpctr\binaries

    180 = system32\3com_dmi
    181 = PeerNet


    239 = system32\wbem\Logs

    240 = ehome

    241 = "Network Diagnostic"

    242 = L2Schemas

  6. I have no idea what InstallType does but IconIndex this is what it does

    If its like this:

    IconIndex = 99

    Look in setupapi.dll on the looooooong bitmap 1201 and count to 99

    1201k.png

    If its like this:

    IconIndex = *, ..\nameofdll.dll, 99

    Then you look in %WinDir%\system32\nameofdll.dll bitmap (not the icon but the bitmap) order number 99 (the default dir is %WinDir%\system32\setup, the ..\ takes it back one level to system32)