Kyme Posted June 29, 2008 Share Posted June 29, 2008 i want to make uninstaler for my script and i didn't know how to delete the @ScriptDir i have use: DirRemove(@ScriptDir & "\*.*" ,1) DirRemove(@ScriptDir,1) but...how to delete the @ScriptDir cuz my script didn't delete it:| tnx Link to comment Share on other sites More sharing options...
Developers Jos Posted June 29, 2008 Developers Share Posted June 29, 2008 i want to make uninstaler for my script and i didn't know how to delete the @ScriptDir i have use: DirRemove(@ScriptDir & "\*.*" ,1) DirRemove(@ScriptDir,1) but...how to delete the @ScriptDir cuz my script didn't delete it:| tnxDoubt this will work since your script is in-use at the time you try to delete its directory. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kyme Posted June 29, 2008 Author Share Posted June 29, 2008 i made it^^ but the skript have 2 parts^^ First part...named "Uninstall.exe" IniWrite(@tempdir & "\data.dll","Data","Directory",@Scriptdir) FileCopy(@Scriptdir & "\data.dat", @tempdir & "\Uninstall.exe") run(@tempdir & "\Uninstall.exe") Secound part named "data.dll" sleep(2500) $dir=Iniread(@tempdir & "\data.dll","Data","Directory","") DirRemove($dir,1) ;~ MsgBox(0,"",$dir) MsgBox(0,"Succes","Uninstall Complete...") I think this will give some ideeas in future^^ cya all 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