This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to remove file after installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2009
09:48 AM
How to remove file after installation
Does anybody know how to remove files after installation (msi project)?
I need first copy files into temp directory and finally remove them.
For coping I use InstallFiles action, it works.
For removing I want to use RemoveFiles action, I set it after InstallFiles in ExecuteSequence.
But I doesn't work, I can't understand why.
Files leave on disk after installation exit.
I need first copy files into temp directory and finally remove them.
For coping I use InstallFiles action, it works.
For removing I want to use RemoveFiles action, I set it after InstallFiles in ExecuteSequence.
But I doesn't work, I can't understand why.
Files leave on disk after installation exit.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2009
01:02 PM
Depending on what you're doing, can you add files to the Support Files view and use the SUPPORTDIR property? Support files should be automatically cleaned up when the installer finishes.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 23, 2009
06:31 AM
I wouldn't want to use support files by some reasons.
I include not files, but folder (I dont know in anvance how many files will be in the folder)
So i can use only adding files to the disk folder. All users have access to these files. So users can change or delete them. If users do so, my installer will work in the wrong way :(.
And also I want my installer be one-file installer without 50 support files with it.
I include not files, but folder (I dont know in anvance how many files will be in the folder)
So i can use only adding files to the disk folder. All users have access to these files. So users can change or delete them. If users do so, my installer will work in the wrong way :(.
And also I want my installer be one-file installer without 50 support files with it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2009
06:00 PM
The Automation interface (specifically the AddSetupFile method of the ISWiProject object) supports dynamically adding support files before a build, so that might make up for the lack of dynamic support file linking in the interface...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2009
03:36 AM
Really valuable information, thanks, I will have it in view.
But in this way I cant build currect installer from the IS GUI - only from the script.
It's no good.
I really cant understand why there is no support of adding folder in the list of support files :confused:
Why I can add folder only into advanced files???
I try to move folder from advanced files to support files - and get an error during building process (fatal error -6207: An error occurred building Setup File %s.) :eek:
But in this way I cant build currect installer from the IS GUI - only from the script.
It's no good.
I really cant understand why there is no support of adding folder in the list of support files :confused:
Why I can add folder only into advanced files???
I try to move folder from advanced files to support files - and get an error during building process (fatal error -6207: An error occurred building Setup File %s.) :eek:
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)