On 20.02.2010 22:32, Adrian Buehlmann wrote:
> On 20.02.2010 22:19, Adrian Buehlmann wrote:
>> It looks like we could use uuidgen.exe to create a product id at the
>> beginning of the build process:
>>
>> $ where uuidgen
>> C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\Uuidgen.Exe
>>
>> $ uuidgen
>> 9cc018f9-e680-45e9-8d2c-612a38a4ce77
> 
> It's even simpler than that. It look like we can even use Python:
> 
> http://stackoverflow.com/questions/534839/how-to-create-a-guid-in-python

$ python
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import uuid
>>> str(uuid.uuid4()).upper()
'34BFF9E6-FE33-4A74-87BE-3934378DB097'
>>>

Example for an msi filename then:

tortoisehg-stable-0.9.31158-x86-34BFF9E6-FE33-4A74-87BE-3934378DB097.msi

(the x64 and the x86 msi files would then have different uuid's --
provided we append the product id to the filename).


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to