Juiceman skrev: >> -------------------------------------------------------------------------- >> VISTA: >> -------------------------------------------------------------------------- >> >> Microsoft Windows [Version 6.0.6001] >> Copyright (c) 2006 Microsoft Corporation. All rights reserved. >> >> C:\>ver >> >> Microsoft Windows [Version 6.0.6001] >> >> -------------------------------------------------------------------------- >> XP: >> -------------------------------------------------------------------------- >> >> > > Of course, why would MS be consistent. >
It's Microsoft :P > ver|find /i "Version 6" is what I am going to look for and if found > use icacls instead of cacls > I still recommend searching for the actual version number, since the "Version" string might be translated in some languages. (I don't know if it is, but better safe than sorry I guess) > Have you decided what you are doing about the service name? I believe > you said you were going to save the info in a file? > Yea. My installer will create a file in the root of the install dir called installid.dat containing the suffix used to name various stuff, like the service. It will contain a single line being either empty or an underscore followed by a number, starting with 2. Example of 3 installs: installid.dat of first install: "" installid.dat of second install: "_2" installid.dat of third install: "_3" The service will be named "freenet" (service name) and "Freenet Background Service" (displayed name) suffixed the installid, e.g.: Service names of first install: "freenet" / "Freenet Background Service" Service names of second install: "freenet_2" / "Freenet Background Service_2" Service names of third install: "freenet_3" / "Freenet Background Service_3" - Zero3 _______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
