PC Review


Reply
Thread Tools Rate Thread

How to check the version of an application?

 
 
=?Utf-8?B?R2F1cmF2?=
Guest
Posts: n/a
 
      5th Feb 2007
Hello,

I have an Install project in VB.NET. There are two versions of the same DLL
(say
xyz.dll) that exist on the dev machine and are packaged into the installer.

I need to determine the version of Application installed on the target
machine and decide which version of the DLL should be installed.
Eg. if the user is running ver 7.1, i need to install xyz.dll [1.0.0], else
if he running ver 7.2 of the app, xyz.dll[1.0.1] should be installed.

How can i include this logic into my installer package?


 
Reply With Quote
 
 
 
 
Newbie Coder
Guest
Posts: n/a
 
      5th Feb 2007
MessageBox.Show(Application.ProductVersion.ToString)

MessageBox.Show(Environment.Version.ToString)
--
Newbie Coder
(It's just a name)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running framework version 2.0 application on version 3.0/3.5 Ashutosh Microsoft Dot NET Framework 11 12th Sep 2008 08:13 AM
How to check the version of an application? =?Utf-8?B?R2F1cmF2?= Microsoft C# .NET 0 5th Feb 2007 08:52 PM
Programmatically check if the installed version is the latest version of IE or not rahul.s9@gmail.com Windows XP Internet Explorer 8 12th May 2006 02:05 AM
Check In/Check Out (what version of Frontpage to use??) Jane Microsoft Frontpage 0 12th Jul 2004 07:01 PM
Application Fails to Open Because Another Application is modifying WIN32 version Functions. John Diener Windows XP Help 2 24th Jun 2004 08:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:47 AM.