|
#11
|
|||
|
|||
|
- No, any code dont work for delete folder with all extracted files from Program Files when i cancel during instalation.
![]() I tried this and any worked. Code:
Exec(ExpandConstant('{uninstallexe}'),'/verysilent','',SW_HIDE, ewWaitUntilTerminated, ResultCode);
or/and
DelTree(ExpandConstant('{app}'), True, True, True);
Code:
function deleteDir(): Boolean;
var
ResultCode: Integer;
begin
//allow to delete completely installation folder
Exec('cmd', ExpandConstant('/c RMDIR /S /Q "{app}"'), '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
Result := True;
end;
Last edited by Sebazz; 27-04-2017 at 18:11. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with script inno - cancel select language | nizcoz | Conversion Tutorials | 5 | 19-10-2016 00:10 |
| problem Unistall with CIU v2 | alucard1973 | Conversion Tutorials | 2 | 15-12-2015 02:43 |
| Bat script installer problem -help? - | DarkSoul19 | Conversion Tutorials | 0 | 11-10-2015 20:43 |
| dvd playing problem... | themis_t | CD/DVD Software & Utilities | 6 | 20-10-2004 13:44 |