Jump to content

MHz

Member
  • Posts

    1,691
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Posts posted by MHz

  1. I found a small bug in the uninstall...

    The Tidy AU3 Recorder SendTo Shortcut still remains after uninstall

    Thanks for the bug report, ricktendo64.

    I have updated the installation to handle the SendTo Shortcut. Please re-download if needed and install.

    Download link in 1st post.

  2. Looking at the summary here would have given you an idea of how I install DTools.

    A mistake I notice you are making is having a space within a Environmental Variable as they contain no spaces. i.e. %PROGRAMFILES%

    the 1st time you run the installer silently, it will not detect the Scsi driver installed and not running so it will only install the driver and exit. Later run the installer again to install DTools.

    Executed the first time will install the Scsi driver.

    CmdLines.txt

    "..\SOFTWARE\DTools4\dtools4.exe /S"

    Executed the 2nd time will install DaemonTools.

    RunOnceEx.cmd

    REG ADD %KEY%07 /VE /D "Daemon Tools 4.08" /f
    REG ADD %KEY%07 /V 1 /D "\"%CDROM%\SOFTWARE\DTools4\dtools4.exe /S /D=%PROGRAMFILES%\DAEMON Tools\"" /f

    Try the above and see how it works for you. You may want to consider deleting the spyware installer also from RunOnceEx after install of DTools.

    :)

  3. The problem is i cant' find what process it is, since wpi is launched by wpi.hta file.

    MSHTA.exe is the application for launching HTA files.

    ProcessWait('MSHTA.exe', 60)
    While ProcessExists('MSHTA.exe')
    Sleep(2000)
    If WinExists('Windows Installer', 'This installation package could not be opened') Then
    ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1')
    EndIf
    WEnd

  4. Is there anyhow to get ride from this error message? like to run in background an AutoIt script staying alive during all the WPI prog installation (>100), and close this messge everytme opened?

    Here is a couple of examples depending on the condition of when you want the script to jump out of the loop.

    ; Wait for a process to exist before ending the loop
    Do
    Sleep(2000)
    If WinExists('Windows Installer', 'This installation package could not be opened') Then
    ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1')
    EndIf
    Until ProcessExists('SomeProcess.exe')

    ; Wait for a process to close before ending the loop
    While ProcessExists('SomeProcess.exe')
    Sleep(2000)
    If WinExists('Windows Installer', 'This installation package could not be opened') Then
    ControlClick('Windows Installer', 'This installation package could not be opened', 'Button1')
    EndIf
    WEnd

    :)

  5. Summary

    AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on 95, 98, ME, NT4, 2000, XP, 2003 out of the box with no annoying "runtimes" required! You can even make compiled executable scripts that can run without AutoIt being installed!

    ! NEW with AutoIt v3.2.2.0 - Built in Regular Expression support (Regexp) and Windows Vista UAC support !

    AutoIt3 Download page

    :)

  6. Here's the script I'm using now:

    May I suggest a small change in your execution command to help with a path issue that is possible to the installer.

    ; Run the installer
    If Not FileExists($executable) Then FileChangeDir(@ScriptDir)
    RunWait('"' & $executable & '" /S /D=' & @ProgramFilesDir & '\' & $directory, @ScriptDir)

    The above will check the current directory and then change it to @ScriptDir if the file is not found. That allows you to pass a @WorkingDir <> @scriptDir and if no good, then it tries @ScriptDir. Your intial code does not correct if @WorkingDir <> @ScriptDir so you only get one chance.

    :)

  7. I have also attempted by using the button names...

    Use the text that AutoIt Info Tool displays as visible and not the text you see as visible. With all the information that AutoIt Info Tool has, then your first script should operate very well.

    My full reply to this same issue is here.

    :)

  8. [quote name='dirtwarrior' post='591197' date='Nov 27 2006, 11:41 PM']There was a utility I found a lost called cab pac It had a nice gui front to it and worked great. Anyone got a link to it?[/quote]
    Maybe this is the one [url="http://www.larshederer.homepage.t-online.de/english.htm"]here[/url]. I've treasured it for some time.

    [quote name='RyanVM' post='591201' date='Nov 28 2006, 12:01 AM']...did that guy seriously just copy and paste the entire makecab documentation from the MS CAB SDK and try to pass it off as his own work?[/quote]
    Well, he tried to fit into 1 post, but yes to confirm AFAIK to remember of last reading it. A link to the SDK would have been nicer to get the rest (all) of the information.
  9. .... I suffer everyday and I have not proofs on my woman.

    Trust is a major part of a relationship. Once your women finds out the you betrayed that trust then...the relationship is as good as dead. Whether she is good or bad, once you use the keylogger then consider the relationship as over.

    Be direct with her and face the consequences of the decision, but do not say silly accusations that may harm.

    Good luck :)

  10. Perhaps the window is not activating? The script below will activate the needed windows below. I have added TrayIconDebug so you can check which line it pauses on. :)

    #cs ----------------------------------------------------------------------------

    AutoIt Version: 3.1.1.0
    Program: PowerArchiver 2006 9.63
    Author: Dropcheck
    Date: Nov 23, 2006
    Script Function: Install PowerArchiver 2006 9.63 and enter registration info
    Template AutoIt script.

    #ce ----------------------------------------------------------------------------

    ; Script Start - Add your code below here

    #region User Info.
    $RegName = 'Your Name'
    $RegKey = 'xxxx-xxxx-xxxx'
    #endregion

    Opt("WinWaitDelay", 100)
    Opt("WinTitleMatchMode", 4)
    Opt("WinDetectHiddenText", 1)
    Opt("MouseCoordMode", 0)
    Opt('TrayIconDebug', 1)

    Run('powarc963.exe')

    ;Welcome message
    WinWait("Setup - PowerArchiver", "Welcome to the PowerArchiver Setup Wizard")
    ; Next
    ControlClick("Setup - PowerArchiver", "", "TButton1")

    ;Destination in ProgramFiles
    WinWait("Setup - PowerArchiver", "Select Destination Location")
    ; Next
    ControlClick("Setup - PowerArchiver", "", "TButton3")

    ;Start menu folder - leave for default right now
    WinWait("Setup - PowerArchiver", "Select Start Menu Folder")
    ; Next
    ControlClick("Setup - PowerArchiver", "", "TButton4")

    ;Additional install options
    WinWait("Setup - PowerArchiver", "Additional Install Options")
    ControlClick("Setup - PowerArchiver", "", "TButton4")

    ;Ready to install
    WinWait("Setup - PowerArchiver", "Ready to Install")
    ControlClick("Setup - PowerArchiver", "", "TButton4")

    ;Completing setup wizard
    _WinWaitActivate("Setup - PowerArchiver", "Completing the PowerArchiver Setup Wizard")
    Send("{TAB 4}{SPACE}")
    ControlClick("Setup - PowerArchiver", "", "TButton4")

    ;Now we have finished installing and the original setup window closes
    ;and the program configuration begins
    ;ie now it wants us to buy/register the program
    ;First we can see the unregistered program window opens up then the register window
    ;opens on top of it. But the register window is not the active window.
    ;This is where it stalls/pauses

    _WinWaitActivate("PowerArchiver 2006", "Enter &Registration ")
    MouseClick("PowerArchiver 2006", "Enter &Registration ", "TButton3")

    ;Here's where we can put in the registration info
    _WinWaitActivate("Register PowerArchiver", "&Ordering Informatio")
    Send($RegName & "{TAB}" & $RegKey)
    ControlClick("Register PowerArchiver", "&Ordering Information", "TButton4")

    ;Stupid window pops telling me I have to restart program
    _WinWaitActivate("PowerArchiver", "OK")
    Send("{ENTER}")

    ;I don't need no stinking tip of the day
    _WinWaitActivate("PowerArchiver Tip of the Day", "&Next Tip")
    ;Okay finally we are ready to finish the install
    ProcessClose("POWERARC.EXE")

    Exit

    Func _WinWaitActivate($title, $text = "")
    WinWait($title, $text)
    WinActivate($title, $text)
    WinWaitActive($title, $text)
    EndFunc

  11. This is an AutoIt script for VMWare additions based from RogueSpear's VBScript solution to detect whether inside VMWare and install the additions if it is. It uses WMI so should be executed as late as the RunOnce key just before logon. I keep an archive with the additions which the script can execute.

    Global $objWMIService, $colBIOS, $objBIOS, $strComputer = ".", $exitcode
    $objWMIService = ObjGet('winmgmts:{impersonationLevel=impersonate}!\\' & $strComputer & '\root\cimv2')
    $colBIOS = $objWMIService.ExecQuery('Select * from Win32_BIOS')
    If IsObj($colBIOS) Then
    For $objBIOS In $colBIOS
    If $objBIOS.SerialNumber Then
    If StringLeft($objBIOS.SerialNumber, 6) = 'VMware' Then
    If FileExists(@ScriptDir & '\VMWareTools.exe') Then
    RunWait('"' & @ScriptDir & '\VMWareTools.exe"')
    EndIf
    EndIf
    EndIf
    Next
    EndIf
    RunWait('sc start VMTools', '', @SW_HIDE)

    Kudo's to RogueSpear for the original VBSript.

    I may expect VirtualPC maybe similar to script from reading the bios.

    :)

  12. but don´t 2.0 has all the components 1.1 has?

    2.0 does not contain some components that 1.1 has. Some components of 1.1 have been made obsolete (removed) when 2.0 was released. If you want to run software that requires 1.1, then you will need to install 1.1. If you install 3.0, then you get separate uninstall entries for 2.0 and 3.0 from the single 3.0 installer.

    I have uninstalled all versions from the OS and only installed 3.0, but I do have the uninstall entries for 2.0 and 3.0 in Add or Remove Programs.

  13. /? gives you a Msgbox showing this

    ---------------------------

    Microsoft .NET Framework 3.0 - Usage

    ---------------------------

    /? - Display command line parameters.

    /q - UI is entirely suppressed.

    /remove - Uninstalls product.

    /f - Repairs a product. This will repair all components that are installed.

    /norestart - Never restart option. The installer never restarts the computer after the installation. Setup will still return 3010 if a reboot is required.

    ---------------------------

    OK

    ---------------------------

    So use /q /norestart

    :)

  14. i d/l'd that earlier today and there was no directory list functionality, force delete, and others were missing. i d/l'd it again and the contents of the archive were the same. uninstalled/reinstalled and all the functionality is restored. this is on a fresh xp install.

    I am glad that restoration was successful. Very strange how it failed to add the entries the 1st time but it might be a one off event of some disturbance that caused failure. Not much I can do about unexpected events such as this.

    the MD5/CRC signatures never match those posted however.

    this is mine: BB13F647E786CF6743A7F36DB4C060C5

    Thanks for the hash as I like to be informed of any tempering that may have happened on the CMenu site.

    I just downloaded CMenu v2.6 and the hash is correct as listed. Do note that I hash CMenu.exe and not the zip archive that stores it. The hash you present is the zip archive.

    Current version of CMenu.exe Hashes:
  15. The "Directory List" function is in v2.6 as just verified with a clean install. You could perhaps try to uninstall and install again which may refresh the entry if it is missing. You can download CMenu from here.

×
×
  • Create New...