Jump to content

oneless

Member
  • Posts

    382
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Romania

Posts posted by oneless

  1. i have problems with WPI on an XP64 (never tested till now)

    i havent problems under xp32 .

    i use both <play audio in WPI> and <...during install> .

    probably (!?) the second make the problems .

    i got a generic error <file:main.js line 222>

    probably not related with the problem.

    sometimes , in WPI the player in bottom doesnt appear .

    is there a solution for xp64 ?

  2. what you want is a CUSTOM job .

    so the chance to find somewhere your batch file is ... zero.

    you must write the code for EVERY apps you want moved (as link) ,

    as a last task when you insyall the apps ,

    or if you use uA mode as a last task for all your apps (recommended).

    (i do it in a single cleanup.cmd , as a last operation in my config.js [WPI] .)

  3. i do that . in my way . more easy than reg settings .

    (or maybe i do not understant correct your needs)

    c:\Documents and Settings\All Users\Start Menu\Programs

    is JUST a folder , who can be accessed with a .cmd

    so this is doing my cleanup.cmd

    i create a folder named <APPlications> and i move there all my uA apps links.

    @echo off
    echo .
    @if not exist "%AllUsersProfile%\Start Menu\APPlications" MD "%AllUsersProfile%\Start Menu\APPlications"
    @if not exist "%AllUsersProfile%\Start Menu\APPlications\Microsoft Internet" MD "%AllUsersProfile%\Start Menu\APPlications\Microsoft Internet"
    @if not exist "%UserProfile%\Start Menu\APPlications" MD "%UserProfile%\Start Menu\APPlications"
    @if not exist "%UserProfile%\Start Menu\APPlications\Microsoft Internet" MD "%UserProfile%\Start Menu\APPlications\Microsoft Internet"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" Move "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" "%UserProfile%\Start Menu\Applications\Microsoft Internet"
    @if exist "%UserProfile%\Start Menu\Programs\Remote Assistance.lnk" Move "%UserProfile%\Start Menu\Programs\Remote Assistance.lnk" "%UserProfile%\Start Menu\Applications\Microsoft Internet"

    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Outlook Express.lnk" copy "%UserProfile%\Start Menu\Programs\Outlook Express.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Outlook Express.lnk"
    @if exist "%UserProfile%\Start Menu\Programs\Outlook Express.lnk" Move "%UserProfile%\Start Menu\Programs\Outlook Express.lnk" "%UserProfile%\Start Menu\Applications\Microsoft Internet"
    @if exist "%UserProfile%\Start Menu\Applications\Microsoft Internet\Outlook Express.lnk" copy "%UserProfile%\Start Menu\Applications\Microsoft Internet\Outlook Express.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Outlook Express.lnk"

    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" Move "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" "%UserProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\MSN Explorer.lnk" Move "%AllUsersProfile%\Start Menu\Programs\MSN Explorer.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\MSN.lnk" Move "%AllUsersProfile%\Start Menu\Programs\MSN.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Windows Messenger.lnk" Move "%AllUsersProfile%\Start Menu\Programs\Windows Messenger.lnk" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk" Move "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Windows Update.lnk" Move "%AllUsersProfile%\Start Menu\Windows Update.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Windows Catalog.lnk" Move "%AllUsersProfile%\Start Menu\Windows Catalog.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk" Move "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    echo start %CDROM%\WinApp\_APPlications\Instalate\MUTA_APPlications_AdobeR7.cmd
    echo start %CDROM%\WinApp\_APPlications\Instalate\MUTA_APPlications_bsplayer_PRO.cmd
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Webteh" MOVE "%UserProfile%\Start Menu\Programs\Webteh" "%UserProfile%\Start Menu\APPlications"
    @if exist "%UserProfile%\Start Menu\APPlications\Webteh" Rename "%UserProfile%\Start Menu\APPlications\Webteh" "BSplayer"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing" Move "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 7.0.lnk" Move "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 7.0.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Desktop\Adobe Reader 7.0.lnk" del "%AllUsersProfile%\Desktop\Adobe Reader 7.0.lnk"
    echo .
    @if not exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Windows Media Player.lnk" copy "%UserProfile%\Start Menu\Applications\Windows Media Player.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Windows Media Player.lnk"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk" Move "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk" del "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\K-Lite Codec Pack" MOVE "%AllUsersProfile%\Start Menu\Programs\K-Lite Codec Pack" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\ACE Mega CoDecS Pack" MOVE "%AllUsersProfile%\Start Menu\Programs\ACE Mega CoDecS Pack" "%AllUsersProfile%\Start Menu\APPlications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\CyberLink DVD Solution\PowerDVD\PowerDVD.lnk" copy "%AllUsersProfile%\Start Menu\Programs\CyberLink DVD Solution\PowerDVD\PowerDVD.lnk" "%AllUsersProfile%\Desktop"
    @if exist "%AllUsersProfile%\Start Menu\Programs\CyberLink DVD Solution" Move "%AllUsersProfile%\Start Menu\Programs\CyberLink DVD Solution" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\CyberLink PowerDVD" Move "%AllUsersProfile%\Start Menu\Programs\CyberLink PowerDVD" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Nero 7 Ultra Edition" Move "%AllUsersProfile%\Start Menu\Programs\Nero 7 Ultra Edition" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Applications\Nero 7 Ultra Edition\Data\Nero Burning ROM.lnk" copy "%AllUsersProfile%\Start Menu\Applications\Nero 7 Ultra Edition\Data\Nero Burning ROM.lnk" "%AllUsersProfile%\Desktop"

    @if exist "%AllUsersProfile%\Start Menu\Programs\Nero" Move "%AllUsersProfile%\Start Menu\Programs\Nero" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Applications\Nero\Nero 6 Ultra Edition\Nero Burning ROM.lnk" copy "%AllUsersProfile%\Start Menu\Applications\Nero\Nero 6 Ultra Edition\Nero Burning ROM.lnk" "%AllUsersProfile%\Desktop"
    @if exist "%AllUsersProfile%\Start Menu\Applications\Nero\Nero 6 Enterprise Edition\Nero Burning ROM.lnk" copy "%AllUsersProfile%\Start Menu\Applications\Nero\Nero 6 Enterprise Edition\Nero Burning ROM.lnk" "%AllUsersProfile%\Desktop"
    @if exist "%AllUsersProfile%\Desktop\Nero StartSmart.lnk" del "%AllUsersProfile%\Desktop\Nero StartSmart.lnk"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.lnk"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Nero Home.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Nero Home.lnk"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Winace" MOVE "%UserProfile%\Start Menu\Programs\Winace" "%UserProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Winace" MOVE "%AllUsersProfile%\Start Menu\Programs\Winace" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\WinAce Archiver.lnk" del "%AllUsersProfile%\Start Menu\WinAce Archiver.lnk"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Winamp" MOVE "%UserProfile%\Start Menu\Programs\Winamp" "%UserProfile%\Start Menu\APPlications"
    @if exist "%UserProfile%\Desktop\Winamp.lnk" del "%UserProfile%\Desktop\Winamp.lnk"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\WinRAR" MOVE "%AllUsersProfile%\Start Menu\Programs\WinRAR" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%UserProfile%\Start Menu\Programs\WinRAR" MOVE "%UserProfile%\Start Menu\Programs\WinRAR" "%UserProfile%\Start Menu\APPlications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Pinnacle Hollywood FX" MOVE "%AllUsersProfile%\Start Menu\Programs\Pinnacle Hollywood FX" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Studio 8" MOVE "%AllUsersProfile%\Start Menu\Programs\Studio 8" "%AllUsersProfile%\Start Menu\APPlications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\WinZip.lnk" del "%AllUsersProfile%\Start Menu\WinZip.lnk"
    @if exist "%AllUsersProfile%\Desktop\WinZip.lnk" del "%AllUsersProfile%\Desktop\WinZip.lnk"
    @if exist "%AllUsersProfile%\Start Menu\Programs\WinZip" Move "%AllUsersProfile%\Start Menu\Programs\WinZip" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\programs\Microsoft Office" move "%AllUsersProfile%\Start Menu\programs\Microsoft Office" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\New Office Document.lnk" del "%AllUsersProfile%\Start Menu\New Office Document.lnk"
    @if exist "%AllUsersProfile%\Start Menu\Open Office Document.lnk" del "%AllUsersProfile%\Start Menu\Open Office Document.lnk"

    @if exist "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Excel 2003.lnk" @if not exist "%AllUsersProfile%\Desktop\Excel 2003.lnk" copy "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Excel 2003.lnk" "%AllUsersProfile%\Desktop\Excel 2003.lnk"
    @if exist "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Word 2003.lnk" @if not exist "%AllUsersProfile%\Desktop\Word 2003.lnk" copy "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Word 2003.lnk" "%AllUsersProfile%\Desktop\Word 2003.lnk"
    @if exist "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office PowerPoint 2003.lnk" @if not exist "%AllUsersProfile%\Desktop\PowerPoint 2003.lnk" copy "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office PowerPoint 2003.lnk" "%AllUsersProfile%\Desktop\PowerPoint 2003.lnk"
    @if exist "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Publisher 2003.lnk" @if not exist "%AllUsersProfile%\Desktop\Publisher 2003.lnk" copy "%AllUsersProfile%\Start Menu\APPlications\Microsoft Office\Microsoft Office Publisher 2003.lnk" "%AllUsersProfile%\Desktop\Publisher 2003.lnk"
    echo .
    @if exist "%AllUsersProfile%\Desktop\Norton AntiVirus 2003 Professional Edition.lnk" copy "%AllUsersProfile%\Desktop\Norton AntiVirus 2003 Professional Edition.lnk" "%AllUsersProfile%\Desktop\Norton AntiVirus.lnk"
    @if exist "%AllUsersProfile%\Desktop\Norton AntiVirus 2003 Professional Edition.lnk" del "%AllUsersProfile%\Desktop\Norton AntiVirus 2003 Professional Edition.lnk"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Norton AntiVirus" Move "%AllUsersProfile%\Start Menu\Programs\Norton AntiVirus" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Norton Internet Security Professional" Move "%AllUsersProfile%\Start Menu\Programs\Norton Internet Security Professional" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Norton Internet Security" Move "%AllUsersProfile%\Start Menu\Programs\Norton Internet Security" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" Move "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" "%UserProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Alcohol 120%%" Move "%AllUsersProfile%\Start Menu\Programs\Alcohol 120%%" "%AllUsersProfile%\Start Menu\APPlications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\InterVideo WinDVD 6" Move "%AllUsersProfile%\Start Menu\Programs\InterVideo WinDVD 6" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\InterVideo WinDVD 7" Move "%AllUsersProfile%\Start Menu\Programs\InterVideo WinDVD 7" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\SiS VGA Utilities" Move "%AllUsersProfile%\Start Menu\Programs\SiS VGA Utilities" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\C-Media 3D Audio" Move "%AllUsersProfile%\Start Menu\Programs\C-Media 3D Audio" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Vinyl Deck" Move "%AllUsersProfile%\Start Menu\Programs\Vinyl Deck" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\InterActual" Move "%AllUsersProfile%\Start Menu\Programs\InterActual" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\VIA" Move "%AllUsersProfile%\Start Menu\Programs\VIA" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Realtek Sound Manager" Move "%AllUsersProfile%\Start Menu\Programs\Realtek Sound Manager" "%AllUsersProfile%\Start Menu\Applications"
    echo.
    @if exist "%AllUsersProfile%\Start Menu\Programs\IDEUtil" Move "%AllUsersProfile%\Start Menu\Programs\IDEUtil" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Keymaestro" Move "%AllUsersProfile%\Start Menu\Programs\Keymaestro" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%UserProfile%\Start Menu\Programs\A4Tech Hardware" Move "%UserProfile%\Start Menu\Programs\A4Tech Hardware" "%UserProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\QuickTime" Move "%AllUsersProfile%\Start Menu\Programs\QuickTime" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\Download Accelerator" Move "%AllUsersProfile%\Start Menu\Programs\Download Accelerator" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Lavasoft Ad-Aware SE Personal" Move "%UserProfile%\Start Menu\Programs\Lavasoft Ad-Aware SE Personal" "%UserProfile%\Start Menu\Applications"
    @if exist "%UserProfile%\Start Menu\Programs\Lavasoft Ad-Aware SE Professional" Move "%UserProfile%\Start Menu\Programs\Lavasoft Ad-Aware SE Professional" "%UserProfile%\Start Menu\Applications"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Aware SE Personal.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Aware SE Personal.lnk"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Aware SE Professional.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Aware SE Professional.lnk"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Watch SE Professional.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ad-Watch SE Professional.lnk"
    echo .
    @if exist "%AllUsersProfile%\Start Menu\Programs\7-Zip" Move "%AllUsersProfile%\Start Menu\Programs\7-Zip" "%AllUsersProfile%\Start Menu\Applications"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\Startup Mechanic" move "%UserProfile%\Start Menu\Programs\Startup Mechanic" "%UserProfile%\Start Menu\Applications"
    @if exist "%UserProfile%\Desktop\Startup Mechanic.lnk" del "%UserProfile%\Desktop\Startup Mechanic.lnk"
    echo .
    @if exist "%UserProfile%\Start Menu\Programs\KeyMaestro" Move "%UserProfile%\Start Menu\Programs\KeyMaestro" "%UserProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\GDI Black Gold" Move "%AllUsersProfile%\Start Menu\Programs\GDI Black Gold" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\InterVideo MSIPVS" Move "%AllUsersProfile%\Start Menu\Programs\InterVideo MSIPVS" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Elaborate Bytes" Move "%AllUsersProfile%\Start Menu\Programs\Elaborate Bytes" "%AllUsersProfile%\Start Menu\Applications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\SlySoft" Move "%AllUsersProfile%\Start Menu\Programs\SlySoft" "%AllUsersProfile%\Start Menu\Applications"
    echo .

    REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /f
    REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "QuickTime Task" /f
    REG DELETE HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v MsnMsgr /f
    REG ADD HKLM\SOFTWARE\Policies\Microsoft\Messenger\Client /v PreventAutoRun /t REG_DWORD /d 1 /f

    del /Q "%UserProfile%\Recent\*.*"

    @if exist "%AllUsersProfile%\Start Menu\Programs\Startup\InterVideo WinCinema Manager.lnk" del "%AllUsersProfile%\Start Menu\Programs\Startup\InterVideo WinCinema Manager.lnk"
    @if exist "%AllUsersProfile%\Start Menu\Programs\InterVideo MSIPVS 3" move "%AllUsersProfile%\Start Menu\Programs\InterVideo MSIPVS 3" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Desktop\QuickTime Player.lnk" del "%AllUsersProfile%\Desktop\QuickTime Player.lnk"
    @if exist "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk" del "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Pinnacle Hollywood FX for Studio" move "%AllUsersProfile%\Start Menu\Programs\Pinnacle Hollywood FX for Studio" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Studio 9" move "%AllUsersProfile%\Start Menu\Programs\Studio 9" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\Creative" move "%AllUsersProfile%\Start Menu\Programs\Creative" "%AllUsersProfile%\Start Menu\APPlications"
    @if exist "%AllUsersProfile%\Start Menu\Programs\PCI Audio Applications" move "%AllUsersProfile%\Start Menu\Programs\PCI Audio Applications" "%AllUsersProfile%\Start Menu\APPlications"
    rem ----------------------------------------------------------------------------------
    @if exist "%AllUsersProfile%\Start Menu\Programs\AutoIt v3" MD "%AllUsersProfile%\Start Menu\APPlications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\AutoIt v3" Move "%AllUsersProfile%\Start Menu\Programs\AutoIt v3" "%AllUsersProfile%\Start Menu\Applications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\WinISO" MD "%AllUsersProfile%\Start Menu\APPlications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\WinISO" Move "%AllUsersProfile%\Start Menu\Programs\WinISO" "%AllUsersProfile%\Start Menu\Applications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\nLite" MD "%AllUsersProfile%\Start Menu\APPlications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\nLite" Move "%AllUsersProfile%\Start Menu\Programs\nLite" "%AllUsersProfile%\Start Menu\Applications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\UltraISO" MD "%AllUsersProfile%\Start Menu\APPlications 2"
    @if exist "%AllUsersProfile%\Start Menu\Programs\UltraISO" Move "%AllUsersProfile%\Start Menu\Programs\UltraISO" "%AllUsersProfile%\Start Menu\Applications 2"

    @if exist "c:\Desktop\Winamp.lnk" rd /s /q "c:\Desktop"
    @if exist "d:\Desktop\Winamp.lnk" rd /s /q "d:\Desktop"
    @if exist "c:\Start Menu\Programs\Winamp\Winamp.lnk" rd /s /q "c:\Start Menu"
    @if exist "d:\Start Menu\Programs\Winamp\Winamp.lnk" rd /s /q "d:\Start Menu"
    EXIT

    and as last operation i sort all of them with

    Windows Registry Editor Version 5.00

    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs]

  4. mine

    MP10

    FileExists("%ProgramFiles%\\Windows Media Player\\Skins\\9SeriesDefault.wmz")

    NAV2003

    FileExists("%ProgramFiles%\\Norton AntiVirus\\NAVW32.exe")

    Ad-Aware 6

    FileExists("%ProgramFiles%\\Lavasoft\\Ad-Aware SE Personal\\Ad-Aware.exe")

    bsplayer

    FileExists("%ProgramFiles%\\BSPlayer\\bsplayer.exe")

    7zip

    FileExists("%ProgramFiles%\\7-Zip\\7zFM.exe")

    Adobe Reader 6

    FileExists("%ProgramFiles%\\Adobe\\Acrobat 6.0\\Reader\\AcroRd32.exe")

    DirectX 9

    FileExists("%SystemDrive%\\Windows\\system32\\d3d9.dll")

    K lite mega codeck pak

    FileExists("%ProgramFiles%\\K-Lite Codec Pack\\unins000.exe")

    and so on

    but you cant be sure 100%

    because , for example , i look for Adobe Reader 6 , and maybe is installed 5 or 7 ...

    help me 100% on a clean install .

  5. so the ideea was to create the two log files .

    ; ----------------------------------------------------------------------------
    ;
    ; AutoIt Version: 3.1.1.89 beta
    ; Language: English
    ; Platform: WinXP
    ; Author: oneLess , 25 nov 2005 , ver 1.0
    ;
    ; Script Function:
    ; create log files for KB893803(GDI+) and KB890830(malicious)
    ;
    ; ----------------------------------------------------------------------------
    ; Script Start
    ; ----------------------------------------------------------------------------
    #include <GuiConstants.au3>

    If WinExists ( "My Computer" ) Then WinClose ( "My Computer" )

    $path2 = EnvGet ( "windir" ) & "\Debug\"
    $filelog2 = "KB873374.log"
    $filelog2_ = "_" & $filelog2
    verific_reg ( $path2 , $filelog2 , $filelog2_ , "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GdiDetectionTool" , "GDITool" , 1 )

    $filelog1 = "KB890830v110.log"
    $filelog1_ = "_" & $filelog1
    verific_reg ( $path2 , $filelog1 , $filelog1_ , "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT" , "Version" , "1F5BA617-240A-42FF-BE3B-14B88D004E43" )

    EXIT

    ; ----------------------------------------------------------------------------
    Func verific_reg ( $path , $filelog , $filelog_ , $key , $value , $data)
    Local $file , $var
    $file = FileOpen ( $path & $filelog , 0 )
    if $file = -1 then
    FileClose ( $file )
    $var = RegRead( $key , $value)
    if (@error <> 0) or ( $var <> $data ) then
    IniWrite ( $path & $filelog_ , "Settings" , $filelog , "setat cu metoda .reg" )
    else
    IniWrite ( $path & $filelog , "Settings" , $filelog , "setat cu metoda .reg" )
    FileDelete ( $path & $filelog_ )
    endif
    else
    FileClose ( $file )
    FileDelete ( $path & $filelog_ )
    endif
    EndFunc
    ; ----------------------------------------------------------------------------

    the script is run via wpi.cmd , so is run every time WPI is running

    the function verific_reg , check

    if exist the log file (then the hotfix is already installed , so do not do anything else)

    else

        check in registry if the hotfix is installed

        if yes create the log file

        if no, create another log file with same name but with a "_" in front of name like _kbXXXXXX.log

    in my wpi first entry with INSTALL check after kbXXXXXX.log

    the second entry with UNinstall check after _kbXXXXXX.log , and the second command line is like

    cmd1[pn]=['regedit /s %cdrom%\\Windows\\XP\\XP_UpDates\\SP2_UpDates\\873374.reg']

    cmd2[pn]=['rename %windir%\\Debug\\_KB873374.log KB873374.log']

    in case of malicious hotfix i added the version number "v110" to the log name

    work here . the script must be changed every new version of malicious

    to keep unchanged the .exe file ,

    probably it need to make 2 parameters to the command line (version of malicious+reg_key_malicious)

    i choose the folder %windir\debug to store the two log files , can be anyware

    no matter what is writed inside of theese two log files , the script check if they exist only

    the line in front with WinClose ( "My Computer" )

    is not related with the script function . just i close my computer windows after i start WPI from this window.

  6. i change my boolean from post #1 .

    i have 33 critical hotfixes for 35 total , who create %windir%\kbXXXXXX.log.

    so , i have for each of these 33 hotfixes , 2 entries in WPI .

    both entries do same thig : install the hotfix .

    but , one of them have as condition

    cond[pn]=['getOSver()==XP" && FileExists("%cdrom%\\Windows\\XP\\XP_UpDates\\SP2_UpDates\\KB901214.exe") && !FileExists("%windir%\\KB901214.log")']
    and the other
    cond[pn]=['getOSver()==XP" && FileExists("%cdrom%\\Windows\\XP\\XP_UpDates\\SP2_UpDates\\KB901214.exe") && FileExists("%windir%\\KB901214.log")']

    so i have only one of them showed in WPI when is runned .

    at first i write there with red KBxxxxxx - UNinstalled

    at second KBxxxxxx - installed , lightblue colour .

    so , at first sight , i view very easily on a computer which hotfixes are installed and which not .

    so , for those 2 hotfixes KB 890830+873374 (malicious + GDI+) , microsoft do not provide

    the log files , so my logic was to create them.

    [edit] sorry , i press the wrong button . i will continue next post .

  7. 1.

    i use

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GdiDetectionTool]
    "GDITool"=dword:00000001

    from Incroyable HULK's hotfixes page .

    is any way to check IF this registry setting exist

    into a

    cond[pn]=['existREGsetting("reg_path","reg_Key","value")'] ====>>> true if exist , false in rest

    2. same thing about a file who exist or not exist on a specified path , and contain or not a string .

    like

    if file mrt.log who is places in %windir%\debug folder contain the string "v1.10"

    then the condition is true , else is false

    something like

    cond[pn]=['IsStringInFile("file_path","file_name","string_to_find")'] ====>>> true if exist , false in rest

    false is if file dont exist at the specified path .

    or maybe i want to much ?

    any ideas ?

  8. @sadicq gave already his ok , i only add few lines just for my needs .

    WPI help us , of couse its ok by me .

    who knows , till will appear the new version , like @sadicq said , maybe this script can grow !

    anyway is a great ideea and a very helpfull script for bigs config.js .

    @sadicq , what is the reason for this lines :

    ;If $CmdLine[0]<>0 Then
    ; For $k=1 To $CmdLine[0] Step 1
    ; If $CmdLine[$k]=="/o" And $k<$CmdLine[0] Then
    ; If StringInStr($CmdLine[$k+1],"\",1,-1) Then
    ; $output=StringTrimLeft($CmdLine[$k+1],StringInStr($CmdLine[$k+1],"\",1,-1))
    ; $folderout=StringTrimRight($CmdLine[$k+1],StringLen($CmdLine[$k+1])-StringInStr($CmdLine[$k+1],"\",1,-1)+1)
    ; Else
    ; $output=$CmdLine[$k+1]
    ; EndIf
    ; ElseIf $CmdLine[$k]=="/i" And $k<$CmdLine[0] Then
    ; If StringInStr($CmdLine[$k+1],"\",1,-1) Then
    ; $input=StringTrimLeft($CmdLine[$k+1],StringInStr($CmdLine[$k+1],"\",1,-1))
    ; $folderin=StringTrimRight($CmdLine[$k+1],StringLen($CmdLine[$k+1])-StringInStr($CmdLine[$k+1],"\",1,-1)+1)
    ; Else
    ; $input=$CmdLine[$k+1]
    ; EndIf
    ; ElseIf $CmdLine[$k]=="/f" Then
    ; $overwrite=1
    ; EndIf
    ; Next
    ;EndIf

    used in construction and redundant code now ? here work your script without them .

  9. te salut @sadicq

    very usefull for me too this script . thank you very much . . .

    but i have so many programs without install order and also with same install order .

    so , i modified your script for my needs .

    1. now show all entries , including here those who havent (yet) install order number

    (this was possible because the original script show the doubled entries)

    i modified only the Read() function, with red are the changes

    Func Read()

    Local $nametemp_bak = ""

    $file = FileOpen($folderin & "\" & $input, 0)

    ; Check if file opened for reading OK

    While $file = -1

    MsgBox(0, "Error", "Unable to open " & $input & ".")

    If MsgBox(4,"Cannot open " & $input & ".","Do you want to open it from another location?")==6 Then

    $aux=FileOpenDialog("Please select the import file:","","All (*.*)",1+2,"config.js")

    If StringInStr($aux,"\",1,-1) Then

    $input=StringTrimLeft($aux,StringInStr($aux,"\",1,-1))

    $folderin=StringTrimRight($aux,StringLen($aux)-StringInStr($aux,"\",1,-1)+1)

    Else

    $input=$aux

    EndIf

    $file = FileOpen($folderin & "\" & $input, 0)

    Else

    Exit

    EndIf

    WEnd

    ; Read in lines of text until the EOF is reached

    While 1

    $a=FileReadLine($file)

    If @error = -1 Then

    Insert("-" ,$nametemp_bak)

    ExitLoop

    EndIf

    ;Line read, need to analize it now

    If StringInStr($a,"ordr[pn]=[",1,1) And StringInStr($a,"//",1,1)<>1 Then

    $temp=StringStripCR($a)

    $temp=StringTrimLeft($temp,10)

    $temp=StringTrimRight($temp,1)

    If Not StringIsAlNum($temp) Then

    MsgBox(0, "Error", "Possibly corrupted " & $input & ". Cannot continue.")

    Exit

    Else

    Insert( Int($temp) ,$nametemp)

    $nametemp_bak = ""

    EndIf

    ElseIf StringInStr($a,"prog[pn]=[",1,1) And StringInStr($a,"//",1,1)<>1 Then

    $nametemp=StringStripCR($a)

    $nametemp=StringTrimLeft($nametemp,11)

    $nametemp=StringTrimRight($nametemp,2)

    $nametemp = MyTrim ( $nametemp ) ; <<--- you can delete this line if you dont want to trim the colours codes

    if $nametemp_bak <> "" then Insert("-" ,$nametemp_bak)

    $nametemp_bak = $nametemp

    EndIf

    Wend

    FileClose($file)

    EndFunc

    2. and i added a new function MyTrim() ,

    because i use a lots of colours , i trim this part from the name of program writed in config.txt

    ; ----------------------------------------------------------------------------
    Func MyTrim($sir)
    Local $kk , $sirulet , $tampon = "" , $logic = 0
    For $kk = 1 To StringLen($sir) Step 1
    $sirulet = StringMid ( $sir , $kk , 1 )
    if $sirulet = "<" then $logic = 1
    if $logic = 0 then $tampon = $tampon & $sirulet
    if $sirulet = ">" then $logic = 0
    Next
    Return $tampon
    EndFunc
    ; ----------------------------------------------------------------------------

  10. BartPE is the best .

    but some guys starting from BartPE had created a more powerful and veryyyyy completed tool .

    i never seen till now some piece of art . and i am 38 .

    this is the UBCD

    (Ultimate Boot CD)

    this is ... magnific .

  11. welcome to the MSFN forum .

    this is part of my main_batch

    label c: Local Disk 1

    label d: Local Disk 2

    runned by my winnt.sif
    [GUIRunOnce]

    %systemdrive%\install\hotfixes\hotfixes.cmd

    %systemdrive%\install\main_batch.cmd

    %systemdrive%\install\creeaza_APPlications_before.cmd

    %systemdrive%\install\applications.cmd

    this if you mean label instead of name of harddisk .

    i dont think you want to change seagate with maxtor... in device manager ...

    anyway , you can be more explicite when you ask for something ..

  12. i made a small program in pascal

    maybe 10..12 years ago

    simply write all locations in cmos

    (where is stored the password)

    with 0 value .

    1 single condition : you must can boot any OS , because its an exe file .

    never tried on a laptop.

    normally after run of this program

    on a desktop, because of bad checksum

    the bios invite you : "Press F1 or F2...bla bla "

    i can post it .

    maybe i can recover in my archieves the source.

    but is pascal .

×
×
  • Create New...