What path is springsettings.cfg stored in?
Yes I know on my PC it's C:\Documents and Settings\login\Local Settings\Application Data\springsettings.cfg, but I need to know how it is spelt with Environment Variables.
What's springsettings.cfg path?
Moderator: Moderators
Re: What's springsettings.cfg path?
SHGetFolderPath(CSIDL_LOCAL_APPDATA)
Oh, and since it occured to me to look what spring did after looking that up:
Oh, and since it occured to me to look what spring did after looking that up:
Code: Select all
// appdata
TCHAR strPath[MAX_PATH];
SHGetFolderPath( NULL, CSIDL_LOCAL_APPDATA, NULL, SHGFP_TYPE_CURRENT, strPath);
cfg = strPath;
cfg += "\\springsettings.cfg"; // e.g. F:\Dokumente und Einstellungen\MyUser\Anwendungsdaten
Re: What's springsettings.cfg path?
Thanks.
My installer will now be using:
I'm a little worried by NSIS User Manual mentionning:
This constant is available on Windows 2000 and above.
Is there anybody using Windows95/98/NT/Millenum or whatever else lower than 2000?
My installer will now be using:
Code: Select all
${IfNot} ${FileExists} "$LOCALAPPDATA\springsettings.cfg"
DetailPrint ""
DetailPrint "Writing Spring Settings..."
File "/oname=$LOCALAPPDATA\springsettings.cfg" "springsettingsKPdefault.cfg"
${EndIf}
This constant is available on Windows 2000 and above.
Is there anybody using Windows95/98/NT/Millenum or whatever else lower than 2000?
Re: What's springsettings.cfg path?
I'm not using Spring on win98 (not sure it will work at all), but from work experience (we still have 10+ machines with 98/Millenium at work) it surely has a Local Settings folder (and Application Data, etc), and that folder is located inside windows dir (it can be in 2 different places there, depending on if the windows has more that 1 user or not). Win Millenium is the same, not sure about win95 (does anyone even still have that? It does not run on modern hardware!).
Re: What's springsettings.cfg path?
People running windows ME are poor souls we should console and should upgrade to windows 2000/XP.
Users of windows 98 should upgrade to XP and turn off all the themes if theyre low on cpu, but they shouldn't be connected to the internet if theyre running windows 98 anyway. There are a handful of longstanding bugs with spring and windows 98 regarding shift keys etc, the official stance is that the spring engine doesn't support windows 98 but if it works then hooray for you.
Windows 95 people are guaranteed to have spyware viruses and malware within minutes of getting an internet connection no matter what antivirus or firewalls they put up, any machine running win95 is unlikely to be able to run spring, and fi the specs allow it then the guy installing win95 is insane.
Users of windows 98 should upgrade to XP and turn off all the themes if theyre low on cpu, but they shouldn't be connected to the internet if theyre running windows 98 anyway. There are a handful of longstanding bugs with spring and windows 98 regarding shift keys etc, the official stance is that the spring engine doesn't support windows 98 but if it works then hooray for you.
Windows 95 people are guaranteed to have spyware viruses and malware within minutes of getting an internet connection no matter what antivirus or firewalls they put up, any machine running win95 is unlikely to be able to run spring, and fi the specs allow it then the guy installing win95 is insane.
Re: What's springsettings.cfg path?
I read that Win ME is the only windows version that cannot be compromised after a clean install.
I guess this is because many (insecure) networking components and services were stripped.
But it was some time ago I read this so I'm not sure it still holds...
I guess this is because many (insecure) networking components and services were stripped.
But it was some time ago I read this so I'm not sure it still holds...
Re: What's springsettings.cfg path?
It was probably not long after the release. You'll find similar articles about windows Vista and win2k, though XP had 30-60MB of windows updates and security patches on the release day