Hello Guys,
I want to check the target installation folder for windows illegal characters ?, :, *, etc
How can I check this with "OR"?
IF $TARGETDIR$ contains ? OR : OR *
messagebox "Not allowed..:"
goto label destination
END
I dont know how to do that
Thanks
Heiko
IF with OR
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
IF with OR
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: IF with OR
Dear Heiko,
You can only use nested IF for that.
Hope this helps you.
Regards
You can only use nested IF for that.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: IF with OR
Nested is only AND ???
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Re: IF with OR
Heiko,
What about having a Dotnet exe (file bag) and passing in the string you want to validate? The exe could validate your string using a regex which is a standard namespace in Dotnet?
What about having a Dotnet exe (file bag) and passing in the string you want to validate? The exe could validate your string using a regex which is a standard namespace in Dotnet?
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: IF with OR
Dear Heiko,
via command script no other possibilities are available ... but the Bokkie's suggestion, can be of course another opputunity to validate a path via external code.
REgards
via command script no other possibilities are available ... but the Bokkie's suggestion, can be of course another opputunity to validate a path via external code.
REgards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

