rado354 Posted May 2, 2006 Share Posted May 2, 2006 (edited) 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 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 LocationWinWaitActive ( $Title_1 , "Select Destination Location" )ControlSetText ( $Title_1 , "" , "TEdit1" , @ProgramFilesDir & "\Everest" )ControlClick ( $Title_1 , "" , "TButton3" ); Start Menu LocationWinWaitActive ( $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?Please help Edited May 2, 2006 by rado354 Link to comment Share on other sites More sharing options...
blinkdt Posted May 3, 2006 Share Posted May 3, 2006 Try this to remove the directory:DirRemove( @ProgramsCommonDir & "\AC3Filter", 1) Link to comment Share on other sites More sharing options...
rado354 Posted May 3, 2006 Author Share Posted May 3, 2006 (edited) Thanks, blinkdt 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 May 3, 2006 by rado354 Link to comment Share on other sites More sharing options...
Nologic Posted May 4, 2006 Share Posted May 4, 2006 (edited) Deleted Edited May 5, 2006 by Nologic Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now