is there any possible to find directory inside file
example wamp(directory) floder inside wampmanager.ini(file)
what type of rule test i use ' <filetest>' or ??
Such things are not done by rules, but actions. <iniFileGet>
action can be used to reat an .ini file - for example:
<iniFileGet> <file>${install_location}/properties.ini</file> <key>installdir</key> <section>General</section> <variable>property_installdir</variable> </iniFileGet>
You can then use ${property_installdir}
as default value for installdir parameter.
It is documented in more details in Get INI File Property section of InstallBuilder user guide.
Also, to find a specific file, you can use the <findfile> action - but this may take very long time to complete as it has to traverse the entire base directory. For example:
<findFile> <baseDirectory>C:/bitnami</baseDirectory> <pattern>properties.ini</pattern> <variable>install_properties_file</variable> <ruleList> <platformTest type= or ' osx or ' /> </ruleList> </findFile>
It is documented in more details in Find File section of InstallBuilder user guide.
thanks for your help 🙂
how to set if condition ??? 1. if condition properties.ini file is there then install the wamp application
2 otherwise it is not wamp floder