all groups > visual studio .net setup > june 2006 >
You're in the

visual studio .net setup

group:

File Conditions


File Conditions CRF450R
6/27/2006 1:00:02 PM
visual studio .net setup:
Has anyone successfully set a file condition?

I include an MDB in our installation. Upgrade installations may overwrite
previous versions. I'm using the following in the Condition property of the
MDB file: ProductVersion < 1.0.9. That alone, and a change of the version in
the Project Properties, has no affect on the installation. The file gets
overwritten every time, unless I set the MDB's Permanent property to True and
then it NEVER gets overwritten. ProductVersion < 1.0.0 has no affect on the
installation.

Any thoughts?
RE: File Conditions v-garych NO[at]SPAM online.microsoft.com (
6/28/2006 12:00:00 AM
Hi,

Thank you posting!

Based on my understanding, the problem is the ProductVersion's evaluation
does not work in your VS setup project's launch condition.

If so, since the ProductVersion's value is not a number, I suggest you add
the double quote mark around the specific value, for example:

ProductVersion<"1.0.9"


Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: File Conditions yhhuang NO[at]SPAM online.microsoft.com
6/30/2006 12:00:00 AM
Hello,

I am reviewing issue thread and noticed that you have posted three related
issues in setup queue. They are:
"File Conditions"
"MSI Not Found"
"MDAC 2.7 Prerequisite"

Our engineer Gary is working with you on all of them. If the problem is not
resolved or there is any unclear, could you please post a reply to let us
know? We look forward to your response and are glad to work together with
you.

Thanks very much.

Sincerely,
Yanhong Huang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button