Hi Guido,
You cannot achieve the desired behavior due to the Windows Installer limitations. Although we have our
Enhanced User Interface mechanism which allows you to design a custom interface for your installation it doesn't fulfill the placeholder HTML attribute.
However, you can try to edit the
Spring theme which is HTML based, and see if you can add the placeholder attribute and fulfill your desired behavior.
- I don't mean to give a default value.
- But if you leave it empty, it will use the default value.
Please note that you can use the
Default Value property of the related textbox control just to display a text(e.g.
Type your name:).
Then you can select the
[Next > ] button where the textbox is and add a new
Published event. In the
Edit Control Event window you can select the
Set Installer property value and edit its properties like:
- Property: field: EDIT_BOX_PROP this is the public property which is assigned to the editbox control
Argument: field: My Name please note that My Name is the default value used
Condition: field: MY_PROP = NULL OR MY_PROP = "Type your name:"
So, if the user let the textbox empty
OR no input have been given then it will be executed this custom action and the
public property that is associated with the related control is reinitialized.
As soon as you type something in, the text disappears.
I have added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion.
If you have other questions, please let us know.
Best regards,
Dan