Author Topic: Upgrade to 28.0.0 moved configuration directory  (Read 477 times)

rdauben

  • Community Member
  • Posts: 34
  • Hero Points: 0
Upgrade to 28.0.0 moved configuration directory
« on: November 08, 2023, 03:27:08 PM »
I upgraded from v27.0.2 to v28.0.0 (Win64) and my configuration directory was moved from being under "Documents/My SlickEdit Config" to "C:\Users\<myname>\AppData\Local\SlickEdit\28.0.0".  My Help-About is copied below.

How can I move it back?

Thanks.
Ron

-----------------------
SlickEdit Pro 2023 (v28.0.0.6 64-bit Qt5)

Serial number: WB360xxx
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\28\slickedit.lic

Build Date: November 2, 2023
Emulation: CUA

OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 45% Load, 14442MB/31953MB Physical, 19949MB/34001MB Page File, 4580MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080 (-1920 0 1920 1080), 1920 x 1080 (0 0 1920 1080)

Project Type: Gnuc
Language: No file open
Encoding: No file open

Installation Directory: C:\Program Files\SlickEdit Pro 28.0.0\ (non-removable drive,NTFS,341203MB free)
Configuration Directory: C:\Users\<myname>\AppData\Local\SlickEdit\28.0.0\ (non-removable drive,NTFS,341203MB free)
Migrated from: C:\Users\<myname>\OneDrive\Documents\My SlickEdit Config\27.0.2\


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6884
  • Hero Points: 530
Re: Upgrade to 28.0.0 moved configuration directory
« Reply #1 on: November 08, 2023, 07:11:04 PM »
The reason it got moved is that there have been some I/O problems due to Microsoft OneDrive.

You can specify where your configuration is stored by using the "-sc <path>" invocation option.

You can also the environment variable "SLICKEDITCONFIG=-sc <path>"

LBCEi

  • Senior Community Member
  • Posts: 266
  • Hero Points: 21
Re: Upgrade to 28.0.0 moved configuration directory
« Reply #2 on: November 08, 2023, 08:00:52 PM »
This change bit me a little bit as well.

On starting v28 for the first time after installation, I got an error dialog stating:

There were errors loading the following user modules (from def_macfiles).

followed by a list of the macros with this format
    MISSING: ..\macros\<filename>.ex

So, I copied my macros folder to the new config directory and uninstalled and reinstalled SE. 

It would have been nice for the installer to take care of that for me.

Edit: Re-installing still didn't load the macros.  I ended up manually loading them.
« Last Edit: November 09, 2023, 03:09:19 PM by LBCEi »

rdauben

  • Community Member
  • Posts: 34
  • Hero Points: 0
Re: Upgrade to 28.0.0 moved configuration directory
« Reply #3 on: November 09, 2023, 02:38:55 PM »
Thanks for the tip.  I tried the -sc command line option and it works for that invocation, but it does not "remember" the setting.  It still defaults back to my AppData location.  So I set the SLICKEDITCONFIG variable and that works for every invocation, including the auto-launch from double-clicking a .c file.

Your example shows the environment variable "SLICKEDITCONFIG=-sc <path>".  But I believe the "-sc" is not required. Can you confirm?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6884
  • Hero Points: 530
Re: Upgrade to 28.0.0 moved configuration directory
« Reply #4 on: November 09, 2023, 03:28:42 PM »
You’re right. That environment variable is just set to a path.