On Tue, Jan 20, 2009 at 1:00 AM, <[email protected]> wrote: > On Tue, Jan 20, 2009 at 03:40, Juiceman <[email protected]> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> >> On Mon, Jan 19, 2009 at 4:04 PM, Zero3 <[email protected]> wrote: >>> bbackde has been kind enough to test various stuff for me on Vista. >>> Basically, 2 important things are b0rked (both affecting both installer >>> and updater): >>> >>> - cacls is deprecated on Vista, needs to be replaced with icacls >>> (https://bugs.freenetproject.org/view.php?id=2881). >>> - "net start" and "net stop" does not work and does not elevate either >>> (https://bugs.freenetproject.org/view.php?id=2842 and >>> https://bugs.freenetproject.org/view.php?id=2491). I've created >>> self-UAC-elevating start.exe/stop.exe launchers for my new installer >>> that can be backported if wanted. >> >> What do you mean by backported? We shouldn't need to install them on >> old installs unless the user is using Vista, in which case how do you >> handle the UAC? They might be better off reinstalling? >> >> >> How would you suggest determining if we are on Vista? >> How about ver|find /i "Vista" >> would this work? > > -------------------------------------------------------------------------- > 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. ver|find /i "Version 6" is what I am going to look for and if found use icacls instead of cacls 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? _______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
