cbooth
Posts: 14
Joined: Tue Jan 04, 2011 9:37 pm

Prereqs and properties

Hello,

I'm trying to localize the command line of my MSSQL 2005 Express prerequisite. I need to localize the SQLAccount parameter so I set up a property and set the localization library for it. However, it doesn't appear that properties are supported in the prerequisite command line. Is this true? If so, how can I localize this parameter?

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

Re: Prereqs and properties

Hello and welcome to Advanced Installer Forums,

The command line field from the Edit Prerequisite dialog does accept public properties only if the prerequisite is feature based.
Here is the how to from our user guide that can help you localize a property.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cbooth
Posts: 14
Joined: Tue Jan 04, 2011 9:37 pm

Re: Prereqs and properties

Thanks for the response.

Won't I have an issue if I try to run the MSSQL prereq as feature based because it's an MSI install and won't be allowed to run while the main install is running? Or am I misunderstanding when feature-based prereqs run? I can't chain the install after the main install because I have to run SQLs during the install and must make sure that MSSQL is installed first.

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Prereqs and properties

Hi,
Won't I have an issue if I try to run the MSSQL prereq as feature based because it's an MSI install and won't be allowed to run while the main install is running?
No, we have developed an improvement to the setup process which will pause the main installation process and allow the prerequisites to be installed.

Please note that feature-based prerequisites can be installed only if the package is running with UI. A silent installation will not install the feature-based prerequisite.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”