How to do partial match? - 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!

valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

How to do partial match?

I'm developing a conditional action in my installer and using the following bitwise comparison:

ABCDEF<<AB

But the above fails, is not TRUE.
However, the following works (is TRUE):

ABCDEF<<ABCDEF

So it seems it's doing an equal operation? What am I doing wrong?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to do partial match?

Hello,

In order to achieve what you want you should use a condition like this:
  • "ABCDEF"<<"AB"
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Re: How to do partial match?

Actually I'm doing the following:

USERDEFINEDPROP << "81"

Where userdefinedprop is: 8178945A8956372A0AAA

Doesn't work.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to do partial match?

Hello,

I've tested your scenario, using version 9.9 of Advanced Installer, but I cannot reproduce the behavior. Can you attach a sample which reproduces the behavior?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Re: How to do partial match?

I don't know. It works now. Not sure what I was doing before. So never mind.

Return to “Common Problems”