|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2005
Location: Kolkata (Calcutta),India
Posts: 106
|
Exe Version Compare between the latest Exe bundled in Installer and Client's Exe
My issue is that I want to check my bundled Exes (more than one exe) versions of my latest Installer with the exes already running at client site. If client's exes are older than I will update the exes otherwise I will quit the Installation program. In case of first time installation, it will simply install the software (which is currently done by my installer).
Please note that I've tried with "VersionCompare" command and its giving correct ouput, but here I'm storing the latest exe's version no. manually to a variable in my script and then using 'VersionCompare'. I want some automated way by which the installer can automatically detect the version nos. of exes bundled in it, before extracting them physically. |
|
|
|
|
|
#2 |
|
Senior Member
|
Try GetDLLVersion (NSIS manual 4.9.3.5) which will give you the version numbers in the form a.b.c.d (in case you want to store a value in the registry) and VersionCompare as you suggested to see which EXE is newer.
CF |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
See my MoreInfo plugin in the Wiki
"Just do it" |
|
|
|
|
|
#4 | |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Quote:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|