Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > VersionNT vs VersionNT64
 

VersionNT vs VersionNT64

I am having problems with conditional installation of files. I think if is the releationship of VersionNT and VersionNT64.
For example on Vista 32 bit VersionNT=600. Is VersionNT64 guaranted to be 0?
OnVista64 bit VersionNT64=600. Is VersionNT =0?

There is a chart defining VersionNT but it does not define which version of the OS and does not define VersonNT64


BarberColman  Tuesday, August 18, 2009 5:19 PM
Conditions don't work on directories. I know the IDE implies they do, but they don't. Conditions work on files (and underneath that's actually a condition on the installer component containing the file or registry entry).
Phil Wilson
  • Marked As Answer byBarberColman Thursday, August 20, 2009 1:44 PM
  •  
PhilWilson  Wednesday, August 19, 2009 6:25 PM
VersionNT doesn't have a value of 0 on 64-bit systems.It's value is undefined, like the VersionNT64 property is undefined on 32-bit systems. I believe you can check that it's undefined with VersionNT64=""
Phil Wilson
PhilWilson  Tuesday, August 18, 2009 5:43 PM
Just to help define what is happening I added two new directories to my setup projects files system and added VersionNT64="" as a conditionto one and VersionNT=''" to another. Compiled and installed. Neither directory was created. What?
BarberColman  Tuesday, August 18, 2009 6:47 PM
Conditions don't work on directories. I know the IDE implies they do, but they don't. Conditions work on files (and underneath that's actually a condition on the installer component containing the file or registry entry).
Phil Wilson
  • Marked As Answer byBarberColman Thursday, August 20, 2009 1:44 PM
  •  
PhilWilson  Wednesday, August 19, 2009 6:25 PM
Thanks
What do they do then? If nothing should the be removed?
BarberColman  Thursday, August 20, 2009 1:45 PM

You can use google to search for other answers

Custom Search

More Threads

• C:\Documents and Settings\Local Settings\Apps\2.0\* getting cleared each log off
• Generate Application Manifest
• Appupdater Woes......
• Launching installed application after installation is completed.
• Setup proj to remove earlier installations automatically
• start clickonce (serverbased) application without focus on internet explorer
• Installing 2 versions of the same application on the same machine with ClickOnce.
• VB application to be run in Win95
• Publish failed with following error: Could not find a part of the path 'c:\development\TestProject\TestProject\bin\Release\TestP
• how to launch installed .exe after installation?