Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21-05-2025, 03:43
Dunnowho69 Dunnowho69 is offline
Registered User
 
Join Date: Mar 2025
Location: Hawaii
Posts: 71
Thanks: 182
Thanked 5 Times in 4 Posts
Dunnowho69 is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2  
Old 21-05-2025, 13:32
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
You cannot delete files when that are currently being used by a running program.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
Dunnowho69 (21-05-2025)
  #3  
Old 21-05-2025, 19:09
Dunnowho69 Dunnowho69 is offline
Registered User
 
Join Date: Mar 2025
Location: Hawaii
Posts: 71
Thanks: 182
Thanked 5 Times in 4 Posts
Dunnowho69 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
You cannot delete files when that are currently being used by a running program.
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.
Reply With Quote
  #4  
Old 21-05-2025, 23:42
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 523
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
https://learn.microsoft.com/en-us/wi...gger/kill-tool
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
Dunnowho69 (22-05-2025)
  #5  
Old 22-05-2025, 03:52
Dunnowho69 Dunnowho69 is offline
Registered User
 
Join Date: Mar 2025
Location: Hawaii
Posts: 71
Thanks: 182
Thanked 5 Times in 4 Posts
Dunnowho69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Does the deletion not work for you?

[UninstallDelete]
Name: {app}; Type: FilesAndOrDirs
Quote:
Originally Posted by shazzla View Post
Thank you both for the suggestions but none of them worked for me unfortunately. It seems the only option is to schedule a proper removal during next startup.
Reply With Quote
  #6  
Old 22-05-2025, 06:45
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 523
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
[UninstallDelete]
Name: {app}\*.*; Type: FilesAndOrDirs

Is the syntax correct? Dont know...
{app}\*.* !!!!
Give it a shot...
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
Dunnowho69 (23-05-2025)
  #7  
Old 22-05-2025, 13:08
crachlow's Avatar
crachlow crachlow is offline
Registered User
 
Join Date: Nov 2017
Location: Eka-burg
Posts: 22
Thanks: 44
Thanked 11 Times in 7 Posts
crachlow is on a distinguished road
Quote:
Originally Posted by Dunnowho69 View Post
Thank you both for the suggestions but none of them worked for me unfortunately. It seems the only option is to schedule a proper removal during next startup.
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;
Reply With Quote
The Following User Says Thank You to crachlow For This Useful Post:
Dunnowho69 (23-05-2025)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 15:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com