Wrong Passwordproperty - 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!

hallolu
Posts: 22
Joined: Mon Dec 06, 2010 8:03 am

Wrong Passwordproperty

Hello,

i created a Property 'Sys_Password' in the Properties.
Now i will fill it with the Password that the user inserts.
The Password from the user is in the [Password_Prop].
Okay, and i want to connect with my sql-scripts as sysdba and so the value from the [Sys_Password] is "[Password_Prop]' as sysdba"
When i put this property in the "Use a property to set password:"-field and starts the installer it always says that there is a wrong password.
Why?
(Note: When i put a password in the "Use predefined password:"-field like "123' as sysdba", the password is correct.)

Can anyone help me?

Or.. is there an other way to connect to an Oracle sys-user?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Wrong Passwordproperty

Hi,
so the value from the [Sys_Password] is "[Password_Prop]'
Please note that this is not correct. When you create a new property you can set its value field to pseudo-formatted values, not formatted. This means
that the value of the property will resolve at build-time, not run-time.

Also, you have used private properties, you need to use public properties, i.e. only uppercase letters in the name of the property, for example: SYS_PASSWORD.

In your case you don't need an intermediate public property to pass the value of the property "PASSWORD_PROP", simply use this property directly.

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

Return to “Common Problems”