Jump to content

Powerhouse

Member
  • Posts

    184
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Powerhouse

  1. Ok, how about helping out with a quick script. I'm trying to arange Start\Programs and am using the following script...

    ; ----------------------------------------------------------------------------

    ; Script Defaults

    ; ----------------------------------------------------------------------------

    Opt ("CaretCoordMode", 1) ;1=absolute, 0=relative

    Opt ("ExpandEnvStrings", 0) ;0=don"t expand, 1=do expand

    Opt ("MouseClickDelay", 10) ;10 milliseconds

    Opt ("MouseClickDownDelay", 10) ;10 milliseconds

    Opt ("MouseClickDragDelay", 250) ;250 milliseconds

    Opt ("MouseCoordMode", 0) ;1=absolute, 0=relative

    Opt ("MustDeclareVars", 0) ;0=no, 1=require pre-declare

    Opt ("PixelCoordMode", 1) ;1=absolute, 0=relative

    Opt ("RunErrorsFatal", 1) ;1=fatal, 0=silent set @error

    Opt ("SendAttachMode", 0) ;0=don"t attach, 1=do attach

    Opt ("SendCapslockMode", 1) ;1=store and restore, 0=don"t

    Opt ("SendKeyDelay", 1) ;5 milliseconds

    Opt ("SendKeyDownDelay", 2) ;1 millisecond

    Opt ("TrayIconDebug", 1) ;0=no info, 1=debug line info

    Opt ("TrayIconHide", 0) ;0=show, 1=hide tray icon

    Opt ("WinDetectHiddenText", 0) ;0=don"t detect, 1=do detect

    Opt ("WinSearchChildren", 1) ;0=no, 1=search children also

    Opt ("WinTitleMatchMode", 3) ;1=start, 2=subStr, 3=exact, 4=...

    Opt ("WinWaitDelay", 250) ;250 milliseconds

    ; ----------------------------------------------------------------------------

    ; Script Start

    ; ----------------------------------------------------------------------------

    ; Create Directorys if Non-Existant

    If FileExists ( @ProgramsCommonDir & "\Tools - Utilities" ) = 0 Then DirCreate ( @ProgramsCommonDir & "\Tools - Utilities" )

    If FileExists ( @ProgramsCommonDir & "\Tools - Audio and Video" ) = 0 Then DirCreate ( @ProgramsCommonDir & "\Tools - Audio and Video" )

    ; Move Directories

    DirMove ( @ProgramsCommonDir & "\WinZip", @ProgramsCommonDir & "\Tools - Utilities\WinZip", 1 )

    DirMove ( @ProgramsCommonDir & "\WinRAR", @ProgramsCommonDir & "\Tools - Utilities\WinRAR", 1 )

    DirMove ( @ProgramsCommonDir & "\Registry First Aid", @ProgramsCommonDir & "\Tools - Utilities\Registry First Aid", 1 )

    DirMove ( @ProgramsCommonDir & "\Smart Projects\IsoBuster", @ProgramsCommonDir & "\Tools - Utilities\IsoBuster", 1 )

    DirMove ( @ProgramsCommonDir & "\Lavasoft Ad-aware 6", @ProgramsCommonDir & "\Tools - Utilities\Lavasoft Ad-aware 6", 1 )

    DirMove ( @ProgramsCommonDir & "\SpywareBlaster", @ProgramsCommonDir & "\Tools - Utilities\SpywareBlaster", 1 )

    DirMove ( @ProgramsCommonDir & "\Real Alternative", @ProgramsCommonDir & "\Tools - Audio and Video\Real Alternative", 1 )

    DirMove ( @ProgramsCommonDir & "\QuickTime", @ProgramsCommonDir & "\Tools - Audio and Video\QuickTime", 1 )

    DirMove ( @ProgramsCommonDir & "\CyberLink PowerDVD", @ProgramsCommonDir & "\Tools - Audio and Video\CyberLink PowerDVD", 1 )

    DirMove ( @ProgramsCommonDir & "\Winamp", @ProgramsCommonDir & "\Tools - Audio and Video\Winamp", 1 )

    ; Move Files

    FileMove ( @ProgramsCommonDir & "Executive Software Diskeeper.lnk", @ProgramsCommonDir & "\Tools - Utilities\Executive Software Diskeeper.lnk", 1 )

    FileMove ( @ProgramsCommonDir & "UltraMon.lnk", @ProgramsCommonDir & "\Tools - Utilities\UltraMon.lnk", 1 )

    ; Delete Old Directory

    DirRemove ( @ProgramsCommonDir & "\WinRAR", 1 )

    DirRemove ( @ProgramsCommonDir & "\Registry First Aid", 1 )

    DirRemove ( @ProgramsCommonDir & "\Smart Projects", 1 )

    DirRemove ( @ProgramsCommonDir & "\Lavasoft Ad-aware 6", 1 )

    DirRemove ( @ProgramsCommonDir & "\SpywareBlaster", 1 )

    DirRemove ( @ProgramsCommonDir & "\Real Alternative", 1 )

    DirRemove ( @ProgramsCommonDir & "\QuickTime", 1 )

    DirRemove ( @ProgramsCommonDir & "\CyberLink PowerDVD", 1 )

    DirRemove ( @ProgramsCommonDir & "\Winamp", 1 )

    ; Delete Shortcuts

    ;FileDelete ( @ProgramsCommonDir & "MSN.lnk", 1 )

    Exit

    ; EOF

    Couple of problems....

    1. The Winamp and Lavasoft Ad-aware 6 folders wont move.

    2. I can't get the UltraMon or Executive Software Diskeeper links to move.

    3. I also can't delete the MSN.lnk.

    I'm probably doing something wrong, so could use some help.

  2. Sorry for the delay, was working on some other projects the last few days. So without further delay, here are the updates on the new scripts...

    1. They all seem to work fine from within Windows. Yet when doing an unattended install, none of them (meaning CursorXP, IconPackager, BootSkin, or WindowBlinds) is able to load the skin I have listed.

    So what I was able to get out of the brief install screens during RunOnceEx...

    CursorXP complained about not being able to find Themes\"themename".

    IconPackager didn't list any problem, yet the skin I wanted loaded wasn't.

    BootSkin didn't load the correct skin (and the skin I wanted again wasn't installed).

    WindowBlinds seemed to load correctly, and tried to install the Skin, yet the skin wasn't found.

    When I mean the skin's weren't loaded, I mean they aren't even listed under the tools - shell folder under Program Files.

    I'm thinking there is a problem with the following part of the .au3 file..

    $search = FileFindFirstFile ( @WorkingDir & "\Skin\*.bootskin" )

    If $search <> -1 Then

    Do

    Sleep ( 500 )

    $File = FileExists( $DL_1 & "\BootSkin.exe" )

    Until $File = 1

    Also, I believe there needs to be a delay at the end of each script, to enable it to finish processing, before the next script begins. I'll add a 7 second delay at the end of each script and see if that helps.

  3. Ok, found an Issue I'm hoping someone can help me with.

    I have read in the nForce Forums, that there is an issue with getting Winamp to play on a 5.1 speaker setup (no sound from the rear speakers). The fix is to go into Options\Preferences and under Plug-Ins choose Output. Click on Directsound, and the click configure and enable hardware acceleration. This allows Winamp to output to 5.1 speakers.

    However, after using the MSI install with the following winamp.ini file, I no longer see directsound listed in Output (only waveOut output v2.0.2a).

    [sETUP]

    XAGENT=0

    XLIBRARY=1

    XINTEX=1

    XHOTKEY=1

    XJUMP=1

    XTRAY=1

    XMODERNSKIN=1

    XAUDIO=1

    XWMA=1

    XMID=1

    XMOD=1

    XOGG=1

    XAAC=1

    XMP3ENC=1

    XMP4=1

    XCDPLAY=1

    XSONIC=1

    XCDDB=0

    XWAV=1

    XVIDEO=0

    XNSV=1

    XAVI=1

    XVISUAL=0

    XTINYFULL=0

    XAVS=0

    XMILKDROP=0

    XEXTRA=1

    XSIGNAL=1

    XWRITEWAV=1

    XDCOUT=1

    XREGOPT=1

    XDIRCONT=1

    XTYPECONT=1

    XNETSCAPE=0

    XAUDIOCD=1

    XDESKTOP=0

    XQUICKLAUNCH=1

    XSTARTMENU=1

    XALLSHORT=0

    XINET=0

    XSKIN=AR7

    XName = "xxxxxxxxxx"

    XKey = "xxxx-xxxxx-xxxxx-xxxx"

    INSTALLDIR = C:\Program files\Winamp

    It looks like XDCOUT=1 should enable this in Winamp, but it apparently doesn't. Another issue is the Skin install. I have the skin AR7 already in the Winamp folder (C:\Program Files\Winamp\Skins\AR7), yet when I load the MSI with the above INI file, only the Modern Skin is installed. Am I missing something?

    Any help with this would be much appreciated.

    Update #1: Bah, found that I was missing the XSKINSETTING= section and this fixed the skin loading problem. So just need how to put the directsound plug-in back in the Output section.

    Update #2: Ok, found the two missing files...out_ds.dll and out_disk.dll. These are found in your Winamp.rar files (specifically dcout.cab and writewav.cab). Just copying these files to the Plugin folder fixes the problem. I'm guessing these files aren't included in the MSI file?

  4. I've tried some switches as well, and can't get this to install silently. I see there is a link that says he has a custom.msi script, but have yet to hear back from him (been a few weeks now). Anyone else have the switches to install WinMX silently???

  5. ****, lots of testing... :)

    Ok, here is what I found. Changing WinWaitDelay to 1000 (instead of 250) makes a big impact on how the scripts run. Currently, sometimes the scripts run to fast, and if you dont have a fast PC, it wont be able to keep up.

    1. IconPackager: I believe you have a different version than I do. I am using 250h, so when you try to install the skin, it's looking for something different. So unless I can get your version, or I send you mine, wont be able to work on this. I believe the 250h is the newest version out.

    2. BootSkin: Looks good, am going to test it Unattended and will let you know.

    Update:

    Just did another unattended and BootSkin again stalls at the first "Next" screen. Once you click Next the script continues. Then, the part about installing the Skin, never comes (Skin isn't copied over, and the default Skin is used).

    3. WindowBlinds: Here is the old version that works...

    WindowBlinds_440.au3

  6. Time for an update...

    So I ran my Unattended CD with the changes to CursorXP, WindowBlinds, and BootSkin, and found these problems...

    1. CursorXP: The Mouse properties comes up, when I click OK to close the window, the script seems to finish, but the correct skin is not installed (it's not even listed).

    2. WindowBlinds: Wrong Skin is installed (its acutally the default skin that is listed that is installed). Again, the skin I want loaded isn't listed in the application. I'm guessing that the Skin.exe portion of the script isn't running correctly.

    3. BootSkin: Waits for the first Input (up until after the Browse section), then it will pickup and run the rest of the script. However, the correct skin isn't installed (and again it's not even listed in the application).

    I believe there might need to be some delays put in between the launching of the various parts of each script (as this seems the most likely cause, as each script seems to run fine, once I'm in Windows). I'm going to play around a bit with each script, and I'll post back what I find.

  7. So I have Winzip9sr1 installed (through the method listed in this thread. I'm using this line in my RunOnceEx.cmd file...

    REG ADD %KEY%\067 /VE /D "WinZip v9sr1" /f

    REG ADD %KEY%\067 /V 1 /D "%systemdrive%\progra~1\WinZip\winzip32.exe /noqp /autoinstall" /f

    However, .zip files aren't registered in the system upon first boot (brings up the printer error). Which is strange as I have booth WinRAR and Winzip installed and you would think one or the other would register .zip files.

    Anyway, if I open Winzip for the first time, I get the message...

    For full access to WinZip's shell interface, WinZip must be properly associated with Zip files. However, WinZip is not currently associated with Zip files.

    Associate WinZip with Zip files now?

    So am I missing a switch in my RunOnceEX, or do I need to adjust a registry setting to fix this? Or maybe just install WinZip before WinRAR (or after)? Anyone have a clue, cause I sure don't... :no:

  8. Yep, works good. Funny thing about these scripts...I might have problems having to click buttons on occasion, but when you do it from RunOnceEx, they always work without a problem. Kinda strange, but that's why I'm not a programmer...hehehe

    After seeing the work you've done to BootSkin to get it to load a Skin, I can't wait to see you fix IconPackager. I've been trying it, and its a b***h. Lots of screens you need to click just to install and load the Package.

    Oh, and one more thing about the...

    If WinExists ( "Object Desktop" ) Then WinClose ( "Object Desktop" )

    The problem apears to be the time set to wait in the script. For IconPackager, I set the Sleep time to 5000, and now the Window will close. I think there wasn't enough time between when the Finish section was done, and when the above command was run.

  9. Hmmm, no replies, thought people would actually be interested in this. Anyway, here is what I've got so far, from RunOnceEx...

    REG ADD %KEY%\001 /VE /D "Some music while everything installs..." /f

    REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Windows\system32\oobe\images\title.wma" /f

    However, doing it like this causes WM9 to startup, and you have to fill in all the info before the music starts to play. So my new question is....how does MS do it from oobe, with WMP9 running? Is there some kind of switches I need to run it hidden?

  10. Ok, strange stuff. If #cs is listed before run, I get the following error...

    Line 0 (File "D:\the location of the file on my hard drive\BootSkin\BootSkin_1[1].05.au3.exe):

    Run ($DL_1 & "\BootSkin.exe")

    Errir: Unable to execute the external program.

    The system cannot find the file specified.

    The actual file name is BootSkin_1.05.exe, so not sure where it's getting BootSkin.exe from (I also removed the #ce just in case it might have caused problems too).

    So if I remove that line, the script runs again. Now, here is the second weird thing. The program comes up, but nothing happens. I have to click Next at the Welcome screen. Then I have to click Browse, enter the location of the program (C:\Program Files\Tools - Shell\BootSkin), click OK, then Next, and then the script starts running again. If I check the Tray, it just says "Line: WinWaitActive".

    I'm wondering if your running this on a virtual system, and its super fast, so you wont see some of these problems?

  11. Script seems to hault at the WinCustomize Window. Doesn't search for the Skin at all...

    Also, the part where...

    ; WinCustomize Window

    Sleep ( 500 )

    If WinExists ( "WinCustomize" ) Then WinClose ( "WinCustomize" )

    Doesn't seem to work (doesn't work in IconPackager either). The folder WinCustomize comes up, but WinClose doesn't seem to do anything. Not sure if maybe the Window isn't active, or maybe WinClose isn't recognized (after all the script haults at this point). I'm thinking maybe you need to do a Control+W to close the window (or ALT, F, C).

  12. Ok, after doing lots of research on the matter, I found a file that needs to be copied as well as the reg tweaks to make BootSkin work from RunOnceEx.

    Basically, you need to run BootSkin, install the skin you want to use. Then copy the file vidstub.sys (from c:\windows\system32\drivers).

    For Example, I'm using a skin called ab_bs. So after installing the skin, I copies vidstub.sys. I put this file in my $$\System32\drivers folder.

    Then I copied these registry entries into my softwaretweaks.reg file (that installs after RunOnceEX)...

    ;----- BootSkin Silent Theme install

    ;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BootScreen\Parameters]

    ;"INIPath"="C:\\PROGRA~1\\GUI\\BootSkin\\Skins\\ab_bs\\BootSkin.ini"

    ;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\BootScreen\Parameters]

    ;"INIPath"="C:\\PROGRA~1\\GUI\\BootSkin\\Skins\\ab_bs\\BootSkin.ini"

    ;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BootScreen\Parameters]

    ;"INIPath"="C:\\PROGRA~1\\GUI\\BootSkin\\Skins\\ab_bs\\BootSkin.ini"

    That's it. When Windows starts up, the correct Bootskin is running.

  13. Hey NoLogic,

    I figured out how to load Themes for CursorXP, thanks to your hard work. Here is the script...

    Using this method, you can load any CursorXP theme you put in the \Themes folder, as long as you specifiy the name of the theme in $SK_1.

    Couldn't have done it without all your input (as in fact, I only added on the last little bit... :D

  14. Go figure, I go to tell you the good news, and my cable service goes out. Well, that last fix did the trick. I had to make one change, that was to increase the Sleep time to 2 seconds before clicking button18...

    EndIf

    ;ProcessWaitClose( "Skins.exe" )

    ControlClick ( "Installation Complete", "&Finish >", "Button3" )

    ; Configuration

    ProcessWait ( "wbconfig.exe" )

    ;WinWait ( "WindowBlinds Advanced Configuration" )

    Sleep ( 2000 )

    If $SK_1 <> "" Then

    ControlFocus ( "WindowBlinds Advanced Configuration", "", "Button18" )

    ControlClick ( "WindowBlinds Advanced Configuration", "", "Button18" )

    This gave it time to pick the correct skin, and then apply it (with a setting of 500, it would just select the default skin selected because it was so quick).

    Thanks for all the help with that problem, now for the BootSkin issue.... :D

×
×
  • Create New...