ReHIPS forum

English Subforum => Developers' Blog => Topic started by: fixer on March 26, 2018, 12:33:01 PM

Title: [BUG] Chrome installed in user folder and update
Post by: fixer on March 26, 2018, 12:33:01 PM
As you probably know Chrome can be installed user-wise (in user profile folder) or system-wise (in global Program Files folder). Let's assume we have Chrome installed user-wise. When ReHIPS rule for this Chrome is installed, it's copied from real user profile folder into isolated user profile folder. Why? You can read about it here https://forum.rehips.com/index.php?topic=9530.0 under Special Folders paragraph. And then we try to update isolated Chrome. Updater checks installation path comparing path to current executable file (it'll get path to real user profile folder as it was originally executed from there and later internally redirected to isolated user profile folder) and current user profile path (it'll get isolated user profile folder). This comparison will mismatch causing updater to return error code 1.