Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Deployment launch donditons
 

Deployment launch donditons

Hi
My guess is this question should be in another forum, but I am not sure whereto ask questionabout asetup and deployment project is VS.

I need to add a launch conditon to require XP 32 but not XP 64 bit. Or any version of Vista or greater, either 32 or 64 bit. I have been searching the online help but have not found how to handle logica conditions like this.
Thanks
  • Moved byYiChun ChenMSFTMonday, July 13, 2009 8:17 AMDeployment issue (From:Visual Studio Setup and Installation)
  •  
BarberColman  Thursday, July 09, 2009 7:45 PM
You should be able todo this kind of thing with the standard VersionNT and VersionNT64 properties. The kind of thing you want in your launchcondition is:

VersionNT=501 or VersionNT>=600 or VersionNT64 >=600

which is

XP or >=Vista 32 bit or >=Vista 64 bit
these include Windows 7 and Server 2008

http://msdn.microsoft.com/en-us/library/aa372495(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa372497(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx

Phil Wilson
  • Marked As Answer byBarberColman Tuesday, July 14, 2009 12:16 PM
  •  
PhilWilson  Monday, July 13, 2009 7:40 PM
Hi BarberColman,

I am moving this thread from Base "Visual Studio Setup and Installation" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum.

Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Monday, July 13, 2009 8:16 AM
Hi BarberColman,

It seems that you want to set Windows OS as prerequisite. That is not possible. Let's imagine if it is possible, then your user will be force to upgrade/downgrade their OS to the required version to install your app. For example, if they are told to upgrade to Vista in order to install the app. The whold Vista os will be downloaded from the net and they will have to pay the product key for the new os. Then it will take 20-30 minutes to install OS, after that come the installation of hardware drivers. So I think it is not possible.

Do you have any special requirement to do this?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, July 13, 2009 9:35 AM
We use a USB driver that is not certified for XP 64 and will not run of XP64. It is certified for XP 32, Vista 32 / 64 and is being certified for Win 7 32 and 64. My experience with creating setup project is limited so any suggestions on the correct way to handle this issue? Also thanks for moving this for me.
BarberColman  Monday, July 13, 2009 1:40 PM
You should be able todo this kind of thing with the standard VersionNT and VersionNT64 properties. The kind of thing you want in your launchcondition is:

VersionNT=501 or VersionNT>=600 or VersionNT64 >=600

which is

XP or >=Vista 32 bit or >=Vista 64 bit
these include Windows 7 and Server 2008

http://msdn.microsoft.com/en-us/library/aa372495(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa372497(VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx

Phil Wilson
  • Marked As Answer byBarberColman Tuesday, July 14, 2009 12:16 PM
  •  
PhilWilson  Monday, July 13, 2009 7:40 PM
Thanks
This is what I hoped I can do. This is my first setup and deployment project so there is a long learning curve ahead. I do have two questions.
1. I am looking at Win7 logo requirements. Will this version check cause a problem?
2. Another post by Kira Qian raised questions about OS as a prerequisite. Do you thing there is a problem?
BarberColman  Tuesday, July 14, 2009 12:23 PM

You can use google to search for other answers

Custom Search

More Threads

• Sql Server 2008 Express - deployment
• User Rollback and the Update Catch 22â€?is there a better way?
• Version Number of ClickOnce application
• How to force .Net 3.5 SP1 as a prereq in my ClickOnce dependencies?
• View ClickOnce deploied application from other computer
• building setup project gives warning about app.config
• Clickonce fails to install from a web site
• How do I redistribut project without overwrite some files
• Shipping higher ASCII characters in MSI installer receive error 1324 at runtime on OS in Asian languages.
• clickonce over ssl with client certificates