How to use custom action values or dialog values in install - Advanced Installer Community

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!

venkataramu.c
Posts: 6
Joined: Wed Jun 18, 2008 5:49 am

How to use custom action values or dialog values in install

How to use custom action values or dialog values in install Class?
in my scenorio the custom action values or dialog values is used in installer class.
please help me.
Thanks in Advance.
Regards
Venkat.
Last edited by venkataramu.c on Wed Jun 18, 2008 1:16 pm, edited 2 times in total.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to user custom action values or dialog values in install

Hi,

I'm not sure I understand what you mean by "custom action values" and "dialog values". Do you mean installer properties? Can you please give me more details about this?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
venkataramu.c
Posts: 6
Joined: Wed Jun 18, 2008 5:49 am

Re: How to use custom action values or dialog values in install

i
by use sql dialog it containg the 4 values like sqlservername,username,password.
i want use these values in installer class.
Regards
Venkat.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to use custom action values or dialog values in install

Hi,

Please note that these are called Windows Installer properties. Also, I'm not sure what you mean by "installer class". Can you please be more specific about this and give more details? What exactly do you need to do?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
venkataramu.c
Posts: 6
Joined: Wed Jun 18, 2008 5:49 am

Re: How to use custom action values or dialog values in install

Hi
Installer class is the .net frame work class, this is run when installing the application.
my requiremnet is in my application web.config file is there, in that i want mention a
Connection string="user id=sa; passoword=sa" for that in installing time by using sqlconnection dialog i am asking to user to enter the username and password ,these values i want update in my application web.config file. How can i get those values in installer class.
Regards
Venkat.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to use custom action values or dialog values in install

Hi,

Usually .config files are simple XML files. Therefore, you can import your "web.config" file as an XML file in the Files and Folders page. After this, you can use the XML Editor feature to insert the dialog properties into your .config file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
venkataramu.c
Posts: 6
Joined: Wed Jun 18, 2008 5:49 am

Re: How to use custom action values or dialog values in install

Thank u so much.
in advance installer i can edit xml files . but i cannot edit the .config files.please help me.
Regards
Venkat
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to use custom action values or dialog values in install

Hi,

Please note that only XML files are recognized automatically by Advanced Installer. Your .config files must be imported as XML files in order to be able to edit them. This can be done by using the Import Files button on the toolbar of the Files and Folders page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”