|
-
Jul 28th, 2005, 01:45 PM
#1
Thread Starter
Addicted Member
[RESOLVED] InnoSetup - Delete Files During Installation
I have an app that was deployed as a standalone .EXE, it is located on the user's desktop and named in one of two conventions. Is it possible to delete this file during the installation of the update, or would I be better off creating a batch file and using that?
Let me know if I didn't clarify this very well.
-
Jul 28th, 2005, 03:30 PM
#2
Re: InnoSetup - Delete Files During Installation
bat711,
Look in the help section of Inno Setup for InstallDelete. You will need to include the files/paths of the files you want to delete in that section.
-
Jul 29th, 2005, 02:40 PM
#3
Thread Starter
Addicted Member
Re: InnoSetup - Delete Files During Installation
Thanks, I keep forgetting that I'm using ISTool as well and when I was looking around in the help documetation I wasn't finding anything.
For the path can you use the script variables like (userdesktop)\filename.exe?
Thanks...
-
Jul 29th, 2005, 02:43 PM
#4
Re: InnoSetup - Delete Files During Installation
-
Jul 29th, 2005, 02:47 PM
#5
Thread Starter
Addicted Member
Re: InnoSetup - Delete Files During Installation
Thanks,
When you are deleting a file it goes in the [InstallDelete] section, or does it not matter?
-
Jul 29th, 2005, 02:52 PM
#6
Re: InnoSetup - Delete Files During Installation
bat711,
Yes, it matters and it goes in the InstallDelete section to delete a file/folder before installation begins.
-
Aug 2nd, 2005, 02:49 PM
#7
Thread Starter
Addicted Member
Re: InnoSetup - Delete Files During Installation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|