Indigo Rose Software

Go Back   Indigo Rose Software Forums > Setup Factory 8.0 > Setup Factory 8.0 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Why the last digit in File Version is changed?

Dear friends,
When I use a digit with more than 6 character in 4th part of Publish -> Settings -> Resources -> File Version field, my digit is changed to a unknown digit. For example, when I used 1.2.0.#CURRENTYEAR##CURRENTMONTH2##CURRENTDAY# for it, the setup file version was 1.2.0.722 instead of 1.2.0.2008099 or when I used 1.2.0.123456, I received 1.2.0.57920

I didn't found any description for it in Help file.

Regards
Reply With Quote
  #2  
Old 09-10-2008
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
The largest number you can store in each of these fields is 65535.

Ulrich
Reply With Quote
  #3  
Old 09-10-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by upeters View Post
The largest number you can store in each of these fields is 65535.

Ulrich
Thanks for your reply. But where is the number come from? When I enter 1.2.0.123456, I think I must receive 1.2.0.12345. That's right?
Reply With Quote
  #4  
Old 09-10-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Quote:
Originally Posted by searcher123 View Post
Thanks for your reply. But where is the number come from? When I enter 1.2.0.123456, I think I must receive 1.2.0.12345. That's right?
It probably "rolls over" since 123456 is larger than allowed.

It's not random -- it's just binary.
__________________
Reply With Quote
  #5  
Old 09-10-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by jassing View Post
It's not random -- it's just binary.
Hmmm, I'm sorry, but I can not understand it yet The binary of what? 123456 in binary will be extreme!

I know 57920 is not random, because every time I enter 123456, SF9 convert it to 57920, but I can not duplicate it on paper. What is the logic laied behind the converting? What formulation SF8 is used?

Regards

Last edited by searcher123; 09-10-2008 at 05:03 PM.
Reply With Quote
  #6  
Old 09-10-2008
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
Open the Calculator shipped with Windows, and switch to scientific view. In decimal mode, enter the number 123456. Then switch to hexadecimal mode, and you'll see that the same number is represented as 1E240.

The largest number you can store can have only four hexadecimal digits (FFFF), and the most significant part (everything to the left) is cut off (this is called "overflow"). In your case, what remains is E240. Delete the "1" or type "E240", and switch back to decimal mode, you'll see that the result is 57920.

Ulrich

Last edited by Ulrich; 09-10-2008 at 05:14 PM.
Reply With Quote
  #7  
Old 09-10-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by upeters View Post
Open the Calculator shipped with Windows, and switch to scientific view. In decimal mode, enter the number 123456. Then switch to hexadecimal mode, and you'll see that the same number is represented as 1E240.

The largest number you can store can have only four hexadecimal digits (FFFF), and the most significant part (everything to the left) is cut off (this is called "overflow"). In your case, what remains is E240. Delete the "1" or type "E240", and switch back to decimal mode, you'll see that the result is 57920.

Ulrich
WOW, I understand it now
My mistake was because I was deleted additional numbers from right, where x386 processors calculate in reverse.

Thanks for answer
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to overwrite the version of existing exe file stored in program files folder chakradhar Setup Factory 7.0 Discussion 3 05-20-2008 12:10 PM
New product version, old project file: what about the component GUIDs? ruuska MSI Factory 2.0 Discussion 6 04-11-2008 01:12 PM
Unable to find software? NigelLacey Visual Patch 2.0 4 10-11-2005 11:35 AM
New Setup Factory 7.0 (v 7.0.2.0) Available Darryl Setup Factory 7.0 Discussion 9 03-06-2005 02:57 PM


All times are GMT -6. The time now is 07:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software