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
- :
- Thank you, but..
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
‎Feb 04, 2013
02:44 AM
Removing files during installation
Hello there,
I am working with Installshield 2012 Pro.
I created a new basic msi file.
I would like to know how to delete a file during installation?
This file is not part of the msi.
I tried using the RemoveFile Table with no success.
Can you give me an example how to delete c:\Test\test.xls while installing?
Whant is the simple way to do this king of action?
Thank you very much.
Amir
I am working with Installshield 2012 Pro.
I created a new basic msi file.
I would like to know how to delete a file during installation?
This file is not part of the msi.
I tried using the RemoveFile Table with no success.
Can you give me an example how to delete c:\Test\test.xls while installing?
Whant is the simple way to do this king of action?
Thank you very much.
Amir
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2013
03:03 AM
hi ,
you can use an coustom action to do that .if it not an part of an msi.
you can use the vbs script the code is as fallows.
Set obj = CreateObject("Scripting.FileSystemObject")
obj.DeleteFile("C:\MyFolder\MyFile.txt")
and sequence it as required.
you can use an coustom action to do that .if it not an part of an msi.
you can use the vbs script the code is as fallows.
Set obj = CreateObject("Scripting.FileSystemObject")
obj.DeleteFile("C:\MyFolder\MyFile.txt")
and sequence it as required.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2013
04:01 AM
Is there any way to do it without writing code?
Some option that is built into Installshield.
Thanks
Amir
Some option that is built into Installshield.
Thanks
Amir
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2013
07:07 AM
Using RemoveFile table, InstallMode column set to 1.