AppData Local/Roaming Folders were not created.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
windunce
Junior Member
Junior Member
Posts: 12
Joined: 2012-01-26, 16:42 UTC

AppData Local/Roaming Folders were not created.

Post by *windunce »

Lost again :(

AppData Local/Roaming Folders were not created for second user.

I've two users on a single computer.
User one = LIVE
User Two = OUTLOOK

During installation I checked [App Directory] to enable storage of
separate wincmd.ini files and buttonbar files in each users AppData directory.

I assumed these folders and files would be created.
c:\Users\LIVE\AppData\Roaming\GHISLER\wincmd.ini
c:\Users\OUTLOOK\AppData\Roaming\GHISLER\wincmd.ini
c:\Users\LIVE\AppData\Local\GHISLER\LIVE.BAR
c:\Users\LIVE\AppData\Local\GHISLER\LIVE.br2
c:\Users\OUTLOOK\AppData\Local\GHISLER\OUTLOOK.BAR
c:\Users\OUTLOOK\AppData\Local\GHISLER\OUTLOOK.br2

It worked fine for LIVE, but upon logging into OUTLOOK the directory
c:\Users\OUTLOOK\AppData\Roaming\GHISLER\
was not created and it defaulted to wincmd.ini in the Program Directory.
Ditto for c:\Users\OUTLOOK\AppData\Local\GHISLER\OUTLOOK.BAR---OUTLOOK.br2 files

So my workaround was to edit the file
c:\Program Files\TotalCommander\wincmd.ini
and included this line after I had setup/edited the LIVE.BAR's 'pointers'
to go to the OUTLOOK directories. So after creating the directories that
Total Commander did not create, I added the following to the 'default' .ini file.

[Buttonbar]
Buttonbar=c:\Users\OUTLOOK\AppData\Local\GHISLER\OUTLOOK.BAR

The button bars are identical except for the buttons that cd\ to the logged on
users directories.....ie

c:\Users\OUTLOOK\Desktop\desktop.ini
c:\Users\LIVE\Desktop\desktop.ini

Although if a third user wishes to have his own AppData dirs for storage
of [ini-bar] files this workaround won't work.

What did I do wrong during installation???

Thanks for any help
Windunce
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Did you had checked

"[X] Set this location for all users on this system"

also?



- - - See:

Application data, Documents and Settings: Gives each user individual settings
"[X] Set this location for all users on this system"

Results in

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]

AND

[HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander]

EDIT: [face=comicsansms]pointing to the root of %UserProfile% (which is "C:\Users\username")[/face] << that was only true on my first test due to "Application data, Documents and Settings" was checked accidental

pointing to %APPDTA%\\Ghisler ("C:\Users\username\AppData\Roaming")

It's a multi-user mode.


- - -


Whereas

Application data, Documents and Settings: Gives each user individual settings
"[_] Set this location for all users on this system" not set

Results in just

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]

pointing to %APPDTA%\\Ghisler ("C:\Users\username\AppData\Roaming") "only"

It's a single-user mode.

- - -

Tested with tcm851ax32_64_FINAL_(Apr 30, 2014).exe
There is a recent thread about an newer installer, which I not have downloaded yet.
windunce
Junior Member
Junior Member
Posts: 12
Joined: 2012-01-26, 16:42 UTC

Close, but no cigar :)

Post by *windunce »

Stefan
Danke Schön !!!

I'm a little confused, but it is now working. Each user now is gifted with
his very own wincmd.ini file and buttonbar.bar file.

I could not check both AppData AND Documents and Settings during the
installation process.

So what I did was check AppData as the location of the wincmd.ini file.
I also checked "[X] Set this location for all users on this system"

Wonderful, now each user had their own wincmd.ini file to configure to
their liking.

Unfortunately, the button bar configuration would not 'stick' .
Great for a session, but when logging back on would it would revert
to the default.bar located in the Program Directory....sigh :(

So I had to configure the bar while logged on and 'save setting';
then copy that default.bar to a temp dir.

I then renamed it as OUTLOOK.bar in that dir and then moved it to
c:\Users\OUTLOOK\AppData\Roaming\GHISLER\OUTLOOK.bar.

I then added the line in the now "USER SPECIFIC" wincmd.ini.

[Buttonbar]
Buttonbar=c:\Users\OUTLOOK\AppData\Roaming\GHISLER\OUTLOOK.bar

When logged in as LIVE, I followed the same procedures and now
everything is working as I intended.

There is probably an easier method, but as far as I am concerned,
all's well that ends well :)

Thanks again for the information!

Windunce
windunce
Junior Member
Junior Member
Posts: 12
Joined: 2012-01-26, 16:42 UTC

Post Script?

Post by *windunce »

Stefan:

I wonder why this line wasn't/isn't included in the created keys?
Or maybe it can be, but I don't know how to do it.

"BarFileName"="%APPDATA%\\GHISLER\\default.bar"

Anyway, these are the keys that were created during the installation.

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
"IniFileName"="%APPDATA%\\GHISLER\\wincmd.ini"
"FtpIniName"="%APPDATA%\\GHISLER\\wcx_ftp.ini"
"InstallDir"="C:\\Program Files\\TotalCommander"


[HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander]
"IniFileName"="%APPDATA%\\GHISLER\\wincmd.ini"
"FtpIniName"="%APPDATA%\\GHISLER\\wcx_ftp.ini"
"InstallDir"="C:\\Program Files\\TotalCommander"
Post Reply