qwerty1980
Posts: 4
Joined: Fri Aug 05, 2011 2:55 pm

Copying Files at uninstallation

Hello this is my first post here.

I would like to know is it possible to copy a certain file to a folder when uninstalling. For Example: I have 6 files to install. 5 Files will be installed to the root folder of my app. But for the 6th file i want it to copy only when uninstalling the product. Is it possible?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Copying Files at uninstallation

Hello and welcome to Advanced Installer forums,

You can try to add several File Copy/Move operations from the Files and Folders page context menu( New File Operation -> New File Copy/Move ):
http://www.advancedinstaller.com/user-g ... ialog.html

Make them part of the same component in the Organization page and then simply set the condition of its component to:

Code: Select all

REMOVE="ALL"
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
qwerty1980
Posts: 4
Joined: Fri Aug 05, 2011 2:55 pm

Re: Copying Files at uninstallation

Thank you. But i doubt i didnt understand it completely. Can you explain it a little more :)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Copying Files at uninstallation

Hi,

You are welcome, glad to assist. Can you please underline the part you find confusing so I can expand on that particularly?

Also, you may find the Organization page user guide article helpful:
http://www.advancedinstaller.com/user-g ... ation.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”