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!

viswammamilla
Posts: 5
Joined: Fri Nov 21, 2014 5:52 pm

Install PostgreSQL based on Condition

Hello,

This is viswam. Iam trying to do a msi setup from advanced installer.

Everything is good and working fine.
But i have a small problem in installation.

I want to install postgresql setup from advanced installer. If the postgresql already installed in the system, then installer should skip the installation of PostgreSQL and continue with other prerequisites.

Please help me how to do this.I checked for all registry values, but its failed and installing everytime i run the installer.

Thanks in Advance,
Viswam Mamilla
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install PostgreSQL based on Condition

Hello Viswam and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This may happen if the searches configured from your prerequisite "Install Conditions" tab are failing at install time. As a side note, please keep in mind that when you want to search on 64-bit locations (on 64-bit machines) you should enable the "Use 64-bit locations when evaluating conditions on a 64-bit machine" option.

Let us know if this helped, otherwise please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
viswammamilla
Posts: 5
Joined: Fri Nov 21, 2014 5:52 pm

Re: Install PostgreSQL based on Condition

Hello Daniel,

Its Working,by enable the "Use 64-bit locations when evaluating conditions on a 64-bit machine" option.

Thank You Very Much

Thanks & Regards,
Viswam Mamilla
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install PostgreSQL based on Condition

You're always welcome Viswam. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
viswammamilla
Posts: 5
Joined: Fri Nov 21, 2014 5:52 pm

Permissions for Main Installation(Files and Folders)

Hello Daniel,

All Prerequisites installing well. After prerequisites, am facing a problem in main installation for some users only. am getting an error like below.

"An error occurred while applying security settings. Users is not a valid user or groups. This could be a problem with the package or a problem connecting to a domain controller on the network. Check your connections and try again".

In "Files and Folders", i given permissions for "Application Folder" like below

Domain = Empty
Username = Users
Permissions = Full Control
Checked Apply permissions to all sub folders.

I want to install the setup file in any user and want to give full permissions to the folder am creating in the program files.

Please help me how to do this.

Thanks in Advance,
Viswam Mamilla
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install PostgreSQL based on Condition

Hello Viswam,

You can see my reply on "How to apply permissions to Main Installation" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”