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!

rcschaff
Posts: 1
Joined: Fri Jun 09, 2006 8:51 pm

Set Install Paramater Variable Via Script

Hi,

I currnetly have a project in which I want to prompt the user for the "Servername" where MYSQL is installed.

I have a scirpt working, where I can get the input and msgbox it right back up to the user correctly, but when is set Session.Property("myservername") = Input(...., and try to call myservername later in the install, it diverts back to the default value set in the Install Parameters setting.

I need to know how to set the variable and not have it divert back.

Thank You,

Ryan Schaffner
PublicWorks Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You must use a public property instead of private one because properties that are set by the user interface and then passed to the execution phase must be public. A public property must by in upper case. So rename it to "MYSERVERNAME".

To learn more about this please follow this link:
http://msdn.microsoft.com/library/defau ... _names.asp

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Feature Requests”