Jump to content

2 quick questions about my AutoIt script


Recommended Posts

Run("AC3 Filter 1.01a RC5.exe /S")

Sleep(4000)

FileDelete(@ProgramsDir & "\AC3Filter" & "\AC3Filter Help (English).lnk")
FileDelete(@ProgramsDir & "\AC3Filter" & "\AC3Filter Help (Italian).lnk")
FileDelete(@ProgramsDir & "\AC3Filter" & "\AC3Filter Help (Russian).lnk")
FileDelete(@ProgramsDir & "\AC3Filter" & "\uninstall.lnk")

Witout sleep command it won't delete the shortcuts :no:

There should be some other way to do this witout using the sleep command...

Is there a way to delete the AC3Filter folder in the start menu?

Any ideas?

Also:

$Title_1 = "Setup - EVEREST Ultimate Edition"

; Destination Location
WinWaitActive ( $Title_1 , "Select Destination Location" )
ControlSetText ( $Title_1 , "" , "TEdit1" , @ProgramFilesDir & "\Everest" )
ControlClick ( $Title_1 , "" , "TButton3" )

; Start Menu Location
WinWaitActive ( $Title_1 , "Select Start Menu Folder" )
ControlSetText ( $Title_1 , "" , "TEdit2" , "\Everest" )
;ControlClick ( $Title_1 , "" , "TButton4" )

It won't change the default locations. What's wrong?

everest4of.th.gif

Please help :(

Edited by rado354
Link to comment
Share on other sites


Thanks, blinkdt :thumbup

You was very close. The right one is:

DirRemove( @ProgramsDir & "\AC3Filter", 1)

(it actually depends on the specific installer of every application, some require @ProgramsCommonDir)

One problem is resolved :)

Any hints about the others?

Edited by rado354
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...