PDA

View Full Version : File Script Condition: Throws error, what is up?


Woofster
02-16-2006, 05:31 PM
First off, Visual Patch is great!!!!

Anyway, here is the question:

I have two files that I only want to patch/install if the PRO version of my software is on the system.

I have some script already that detects this, in the On Startup script. This area works fine.

On the two files in question, I have a Script Condition like this:

bIsBasic = False

But this throws an error:

Error Script: File condition evaluation for file "Pro-supplement.exe", Line 0: unexpected symbol near `=' (-1)


Soooooo, what am I doing wrong?

Thanks!

Intrigued
02-16-2006, 05:36 PM
Try changing False to false (all lower-case)

Woofster
02-16-2006, 05:41 PM
OK, I get it.... my head is too vba centric.

This syntax works:

not bIsBasic

So that much is covered.....

Intrigued
02-16-2006, 06:18 PM
Good to hear it's solved.

:yes