
amiros1.552494079183141E12 asked a question.
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
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.
Some option that is built into Installshield.
Thanks
Amir