ide: Fixed instant setup

git-svn-id: svn://ultimatepp.org/upp/trunk@9164 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-11-09 10:08:49 +00:00
parent a4f0acacd0
commit 6413d01ac4

View file

@ -367,9 +367,9 @@ String GetWinRegStringWOW64(const char *value, const char *path, HKEY base_key
void AutoInstantSetup()
{
String sgn = ToLower(GetFileFolder(GetExeFilePath()));
String cf = GetExeDirFile("setup-path") + "\n" +
GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography");
String sgn = ToLower(GetFileFolder(GetExeFilePath())) + "\n" +
GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography");
String cf = GetExeDirFile("setup-path");
String sgn0 = LoadFile(cf);
if(sgn != sgn0) {
InstantSetup();