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!

hakanbatmaz
Posts: 5
Joined: Tue Oct 16, 2012 1:45 pm

could not reflect password edit value to property

i m trying to build a setup with an additional sql connection dialog that i created. i have a password edit on the dialog. when i enter a password it does not set to the related property. how can i make it reflect the value to the property when i press next button?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: could not reflect password edit value to property

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why you are encountering this behavior. Can you attach a sample reproducing the behavior so we can investigate it?

Also, here's attache a sample, created using version 9.6 of Advanced Installer, which implements a similar scenario.
sample.zip
(3.03 KiB) Downloaded 478 times
Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hakanbatmaz
Posts: 5
Joined: Tue Oct 16, 2012 1:45 pm

Re: could not reflect password edit value to property

Hello Daniel,

i did solve it using "Set install level value" event. however, i was thinking my problem is setting the dialog values to properties. i have some sql scripts to be run on several databases, so i copied the sql connection dialog to create my own replicas. when setup comes to the point where sql scripts to be run, it gives me the timeout exceeded error. then i control the property value with a custom action when next button pressed and it was empty. now, my problem is still on, setup is running scripts for two of the db connections and gives me the error for the last db connection. do you have any idea what might be the problem?
hakanbatmaz
Posts: 5
Joined: Tue Oct 16, 2012 1:45 pm

Re: could not reflect password edit value to property

hi,

i want to tell you that my problem is with properties but i do not know what it is related with. let me summarize it. i have 3 sql connection dialog each of which is responsible of gathering host, dbname, username and password information for related connection. i use these infos to create three registry keys and in the registry i put password as encrypted. there is a custom action that is responsible for encrypting these passwords and works fine. however, property that should be containing password for the second one is empty, property that should be containing host for the third one is empty and nothing wrong with the first one. i m sure of it because in the registry host value for the third key is empty and password value for the second key is incorrect and i check it debugging my custom action dll, the property is empty. also, i should say that the property value is not empty nor incorrect when the related dialog is passed with next button. i have a control for the password field in the dialogs. this becomes a major problem for my setup project. i need to get over it quickly, thanks in advance for your help.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: could not reflect password edit value to property

Hi,

I am not sure what is the problem, setting a property should be talking place without any problems. Can you please send us by e-mail the .aip file you are using and a verbose log of the installation. We don't need your install files or the custom action DLL.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hakanbatmaz
Posts: 5
Joined: Tue Oct 16, 2012 1:45 pm

Re: could not reflect password edit value to property

Hi Bogdan,

here is the .aip file. i hope you can told me how can i fix this.
Attachments
setup.aip
(741.03 KiB) Downloaded 525 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: could not reflect password edit value to property

Hi,

Two of the dialogs seem to be correctly configured, the third one, i.e. the one with the properties ending with "_Natekdb" are not good. You need
to use only public properties, i.e. only upper case letters in their name, like "_NATEKDB".

Can you please rename these properties and try the package again?

If the problem persists please attach the new aip file and a verbose log of the installation.

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

Return to “Building Installers”