Pankaj.Gupta
Posts: 7
Joined: Sat Jul 07, 2012 6:54 am

Stop Removing some folders on uninstall

HI

I have created some folders in files & folder page and i don't want that those folders should not be removed on uninstallation of the software.

How can we do this.

Thanks in advance
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Stop Removing some folders on uninstall

Hello,

In order to achieve what you want you can proceed like this:
- Go to "Organization" page.
- Mark the related folders components as "Permanent" from "Component Properties" right pane.

If you have any question let me know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Stop Removing some folders on uninstall

Hello,

Also, starting with our next version, we'll have a dedicated option in the folder's properties to handle its persistence.
FYI: The next release should be out by the end of this month.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Pankaj.Gupta
Posts: 7
Joined: Sat Jul 07, 2012 6:54 am

Re: Stop Removing some folders on uninstall

HI,

Please find attached .aip file. In this i have made changes as suggested. You can see print and its subfolders. I want to keep them permanent on uninstallation.

Please help to modify this.

Thanks in advance
Attachments
Allday ATM System Setup_Client.aip
.aip file
(93.85 KiB) Downloaded 536 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Stop Removing some folders on uninstall

Hello Pankaj,

The "Go To Component" option from the related folder context menu is disabled because the related folder contain some resource files. So, the component which will need to be marked as permanent are created for those resource files.

In order to obtain what you want you should mark as permanent all the files components which are contained by the related folders. So, from "Organization" page mark as permanent all the files components which are installed in the related folders.

If you already released a version without using this options and want to prevent the related files from being uninstalled when upgrading you can take a look on our "How do I prevent a file from being replaced by a newer version" article.

Also, as my colleague mentioned in previous post starting with our next version (9.4) release , which will be soon, we'll have a dedicated option in the folder's properties to handle its persistence.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Pankaj.Gupta
Posts: 7
Joined: Sat Jul 07, 2012 6:54 am

Re: Stop Removing some folders on uninstall

Thanks Daniel,

Its Worked for me.

Return to “Building Installers”