diff --git a/README.md b/README.md index 814d88485..88e48bbb8 100755 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ Download the provided installation packages for your preferred operating system. ### Windows - Download and the .exe installer from our latest release [here](https://github.com/Seagate/cloudfuse/releases). Uncheck the "Launch Cloudfuse" upon finishing the installation. Run the GUI separately as admin after the install completes. +Download and the .exe installer from our latest release [here](https://github.com/Seagate/cloudfuse/releases). Uncheck the "Launch Cloudfuse" upon finishing the installation. Run the GUI separately as admin after the install completes. +Cloudfuse will store the config file in ` C:\Users\{username}\AppData\Roaming`. ### From Tar or Zip files In the release tab on GitHub, you can download a tar folder for Linux on x86 and a zip folder for Windows on x86 which bundles diff --git a/build/windows_installer_build.iss b/build/windows_installer_build.iss index d8f678b29..6759c394a 100644 --- a/build/windows_installer_build.iss +++ b/build/windows_installer_build.iss @@ -54,6 +54,10 @@ Source: "..\sampleStreamingConfigS3.yaml"; DestDir: "{app}"; Flags: ignoreversio Source: ".\winfsp-2.0.23075.msi"; DestDir: "{app}"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files +[Dirs] +; Create directory in AppData/Roaming +Name: "{userappdata}\{#MyAppName}"; Flags: uninsalwaysuninstall + [Icons] Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon diff --git a/gui/common_qt_functions.py b/gui/common_qt_functions.py index b78a6ebd6..fa331217f 100644 --- a/gui/common_qt_functions.py +++ b/gui/common_qt_functions.py @@ -210,7 +210,7 @@ def updateSettingsFromUIChoices(self): def getCurrentDir(self): defaultFuseDir = 'Cloudfuse' if platform == "win32": - userDir = os.getenv('LOCALAPPDATA') + userDir = os.getenv('APPDATA') currentDir = os.path.join(userDir, defaultFuseDir) else: currentDir = os.getcwd()