We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

nirs
Posts: 42
Joined: Wed Aug 13, 2014 2:46 pm

Removing a folder before install

Hi,

As part of my installation i need to uninstall other program.
Thanks to your help in this forum i am able to uninstall the other program.
My issue right now is that after uninstalling the other program there are still several files that were not deleted.
I need that before installing my program the following folder will be deleted:

C:\Program Files (x86)\Other Software Foundation\softwareName

I need to delete the folder 'sotftwareName'.
The location of folder 'softwareName' is always under: Program Files (x86)\Other Software Foundation\ (for 32bit is under C:\Program Files\\Other Software Foundation\)

I didn't find how to remove that folder.
Thanks in advance.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Removing a folder before install

Hello,

Try creating that path in the Files and Folders page and add a removal operation scheduled on a component install.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nirs
Posts: 42
Joined: Wed Aug 13, 2014 2:46 pm

Re: Removing a folder before install

Thanks Mihai for the reply.

The folder I want to delete is not part of my program nor my installation.
If I will add it to Files and Folder wouldn't it copy that folder?

Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Removing a folder before install

Creating that removal operation should be enough. If not, there's How do I remove a file or a folder during installation? article with more information you can follow.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nirs
Posts: 42
Joined: Wed Aug 13, 2014 2:46 pm

Re: Removing a folder before install

Thanks Mihai.
That worked for me

Return to “Common Problems”