How to check the SIZE of a file during installation?
Can somebody help?
--
Subversion Kills Productivity. Get off Subversion Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually
I don't think there is going to be a built in way of doing that, as it isn't a
typical constraint for an installer. One should be using version information
or hash validation (Windows Installer does this for you) to determine if the
file needs to be updated.
That being said, FileSearch does
Did you not like the answers we all gave you last week?? What purpose
are you looking to achieve by determining the file size??
Carter
Quoting eric foka nanafo...@yahoo.fr:
How to check the SIZE of a file during installation?
Can somebody help?
I didn't rich my purpose with the answers you gave me last week.
I want to check the size of a file to continue or not the installation like It
done the check of the version to continue the installation.
Thx.
Le Lundi 3 mars 2014 13h07, Carter Young ecyo...@grandecom.net a écrit :
Did you
Here is what you need right here:
http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/check_the_version_number.html
Carter
Quoting eric foka nanafo...@yahoo.fr:
I didn't rich my purpose with the answers you gave me last week.
I want to check the size of a file to continue
I got it before but It didn't help me because the file doesn't have a version
and I want to use the file size to
check this.
Thx.
Le , eric foka nanafo...@yahoo.fr a écrit :
I got it before but It didn't help me because the doesn't have a version and I
want to use the file size to
check
I got it before but It didn't help me because the doesn't have a version and I
want to use the file size to
check this.
Thx.
Le Lundi 3 mars 2014 13h52, Carter Young ecyo...@grandecom.net a écrit :
Here is what you need right here:
As previously suggested, use a FileSearch with MinSize:
http://wixtoolset.org/documentation/manual/v3/xsd/wix/filesearch.html
---
Phil Wilson
On Mon, Mar 3, 2014 at 10:47 AM, Carter Young ecyo...@grandecom.net wrote:
Here is what you need right here:
All Files should have version numbers regardless of who built them.
There is NO FUNCTION IN WIX TO CHECK FILESIZE, as we've stated
before... If the Executable was created in .NET, go back to the old
source, and set the Assembly Version Numbers
Carter
Quoting eric foka nanafo...@yahoo.fr:
FileSearch can check size.
___
FireGiant | Dedicated support for the WiX toolset |
http://www.firegiant.com/
-Original Message-
From: Carter Young [mailto:ecyo...@grandecom.net]
Sent: Monday, March 3, 2014 11:08 AM
To:
Of course, FileSearch is Windows Installer functionality so I suppose it's
still correct to say that the WiX toolset doesn't provide a function that
checks file size. smile/
-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com]
Sent: Monday, March 3, 2014 11:25 AM
To:
My mistake then, but where? According to the manual:
http://wixtoolset.org/documentation/manual/v3/xsd/util/filesearch.html
it only returns an exists bit and the version number...
Quoting Rob Mensching r...@firegiant.com:
FileSearch can check size.
Phill Hogland has right, the path was not not good.
It's work fine with a good path.
Thanks guys!
Le Lundi 3 mars 2014 15h40, Phill Hogland phogl...@rimage.com a écrit :
There is a FileSearch in the Wix schema:
http://wixtoolset.org/documentation/manual/v3/xsd/wix/filesearch.html
In this
I tried something like this to to check the file size but it'not working.
Property Id=FILESIZE
DirectorySearch Id=FILESIZE Path=ProgramFiles\App\bin
FileSearch Name=erlsrv.exe MinSize=156000/
/DirectorySearch
/Property
Condition Message=This application requires .NET
Is ProgramFiles\App\bin is a valid path in this situation? I have not
tried this but I am wondering if you intended to provide a path relative to
a directory ID. [directoryID]\App\bin
--
View this message in context:
15 matches
Mail list logo