/build/static/layout/Breadcrumb_cap_w.png

Put a Condition on a folder

Just a thought... Is it possible to set a condition on a folder to install only if it's not there already?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: AngelD 12 years ago
Red Belt
2
You don't need to as the folder will only be created if it doesn't exist, right?
During uninstall only the installed files will be removed and if there are files not included in the package then they will be left as-is.
Posted by: cygan 12 years ago
Fifth Degree Brown Belt
0
yes you can

use a system search based on a condition
put your folder in a component

use a system search to search for the folder
based on the search if yes then do not install folder
if no then install folder

do a search on google/ appdeploy. lots of info
Posted by: WSPPackager 12 years ago
Senior Purple Belt
0
Use system search.
Posted by: chichora123 12 years ago
Fourth Degree Green Belt
0
AngelID : So are you saying that i can include that folder in my MSI & it will not overwrite what's already out there? I am going to test this.
Posted by: chichora123 12 years ago
Fourth Degree Green Belt
0
You were right. I didn't have to system search or put any condition. This folder that i am trying to copy has few files & if it's there already my MSI won't override & if it's not there it will simply install. Thanks AngelID i rated your post
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ