does the edit property support the regular expression? - Advanced Installer Community
owe911
Posts: 12
Joined: Fri Mar 27, 2015 11:13 am

does the edit property support the regular expression?

hi ,

does the edit property support the regular expression?

for example ,i get an edit to input the ip address , however i want to example the format when this edit is typed.
there will be an warnnig when the IP is a wrong format .
ipconfig.jpg
ipconfig.jpg (37.43 KiB) Viewed 2404 times
i search your user guid , there is no suggestion or example in this situation~~
please give me some advice~ths a lot
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: does the edit property support the regular expression?

Hello,

Actually Windows Installer UI is not that smart to publish such complex events. However, there's a sample Spawn Dialog validation in the Validation of edit box for to accept IP Address thread you can take a look at. By changing the value of the MYPROP property according to the validation logic, you can determine whether the Spawn Dialog is shown or not.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”