|
#1
|
|||
|
|||
|
App installer
Hello guys,
I was trying to make a simple appinstaller but no matter what i try the uninstaller always leaves behind some files telling me to remove them manually. But i want all the files to be deleted automatically even if the app was running. Would be really grateful if someone could provide me with such a script or guide me on how to do it
|
| Sponsored Links |
|
#2
|
|||
|
|||
|
You cannot delete files when that are currently being used by a running program.
|
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
Dunnowho69 (21-05-2025) | ||
|
#3
|
|||
|
|||
|
Then how about killing the processes or something like that to delete the files? I have seen some where even if the app was running it still deletes all the files somehow.
|
|
#4
|
|||
|
|||
| The Following User Says Thank You to shazzla For This Useful Post: | ||
Dunnowho69 (22-05-2025) | ||
|
#5
|
|||
|
|||
|
Quote:
Quote:
|
|
#6
|
|||
|
|||
|
[UninstallDelete]
Name: {app}\*.*; Type: FilesAndOrDirs Is the syntax correct? Dont know... {app}\*.* !!!! Give it a shot... |
| The Following User Says Thank You to shazzla For This Useful Post: | ||
Dunnowho69 (23-05-2025) | ||
|
#7
|
||||
|
||||
|
Quote:
Code:
[Setup]
AppVersion=1.5
AppName=My Prog
DefaultDirName=My Prog
ChangesAssociations=false
SolidCompression=no
OutputDir=.
[_Code]
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usPostUninstall then
DelTree(ExpandConstant('{app}'), True, True, True);
end;
|
| The Following User Says Thank You to crachlow For This Useful Post: | ||
Dunnowho69 (23-05-2025) | ||
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Light Installer Script (LIS) - DiskSpan_GUI | Cesar82 | Conversion Tutorials | 227 | 30-05-2026 05:01 |
| FMXInno Chronicles: Installer Source Code Index / Repository | BLACKFIRE69 | Conversion Tutorials | 171 | 17-04-2026 01:49 |
| Conversion Designer/Installer Creator | Razor12911 | Conversion Tutorials | 1613 | 03-10-2024 01:24 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |