rendez2k Posted August 16, 2007 Share Posted August 16, 2007 I've just created my first script to install some software and I just wanted to check that my routine to move some icons around is the best way of doing it (and I'm not going to delete my whole start menu!); Delete & Tidy Shortcuts; Delete extra linksFileDelete( @StartMenuDir & "\Programs\CCleaner\Uninstall CCleaner.lnk" )FileDelete( @StartMenuDir & "\Programs\CCleaner\CCleaner Homepage.*" ); Check for a Utils folder and then create one if not foundIf Not FileExists( @StartMenuDir & "\Programs\Utils" ) Then DirCreate ( @StartMenuDir & "\Programs\Utils" ); Move the main program link and then delete the original folderFileMove(@StartMenuDir & "\Programs\CCleaner\CCleaner.lnk" , @StartMenuDir & "\Programs\Utils" )DirRemove(@StartMenuDir & "\Programs\CCleaner\" )Also, is it possible to combine the AutoIt compiled exe with any 3rd party exe (such as an installer) into one file? I saw the FileInstall option but what would the destination be for an installer file? Link to comment Share on other sites More sharing options...
Zedna Posted August 16, 2007 Share Posted August 16, 2007 Also, is it possible to combine the AutoIt compiled exe with any 3rd party exe (such as an installer) into one file? I saw the FileInstall option but what would the destination be for an installer file? Maybe something like this: FileInstall("C:\setup.exe", @TempDir & "\setup.exe") RunWait(@TempDir & "\setup.exe") FileDelete(@TempDir & "\setup.exe") Read Autoit helpfile and it's examples carefully. Resources UDF ResourcesEx UDF AutoIt Forum Search 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