View Full Version : Datafiles on Vista
NewsArchive
11-03-2008, 02:10 AM
Hi Friedrich,
Hope you don't mind me posting this here!
I figured that I needed a refresher about where to place datafiles on vista
as it's been a while since I had to deal with it. So instead of digging
through the same stuff and forget it yet again, I decided to write up a blog
entry about it. You can find it at
http://www.icetips.com/blog/index.php/2008/10/31/title
I would appreciate comments and information if I got something wrong or if
additional information is needed. I spent considerable time yesterday
digging through MSDN articles and MS documents to try to make sure that
everything is accurate, but I may easily have overlooked something.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-03-2008, 02:16 AM
> Hi Friedrich,
>
> Hope you don't mind me posting this here!
>
Arnór,
Thanks for taking the time for this excellent resource! Hopefully, some of
our experts will add additional comments to this Vista data files location
resource, and make it even more valuable -
you've managed to secure in a single location what I'm sure would be useful
to a much LARGER market - developers in general - so I'd suggest minimally
re-editing it, and at least with a signature pointing to your more general
developer tool -
Build Automator - as I am sure, once word gets out about this useful blog -
you should see a few more purchases because it was mentioned in the same
blog entry!
Product Description - Build Automator, MFG - Icetips Creative
Internet Link - http://www.buildautomator.com/
David
--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/
NewsArchive
11-03-2008, 02:17 AM
Hi David,
> to a much LARGER market - developers in general - so I'd suggest minimally
> re-editing it, and at least with a signature pointing to your more general
> developer tool -
I thought I had... Will check it out!
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-03-2008, 02:18 AM
> Hi David,
>
> > to a much LARGER market - developers in general - so I'd suggest minimally
> > re-editing it, and at least with a signature pointing to your more general
> > developer tool -
>
> I thought I had... Will check it out!
Arnor,
Well, by name - yes - but no clickable product URL - make it EASY to
find your product! Let some just click on the URL out of curiosity!
David
--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/
NewsArchive
11-03-2008, 02:19 AM
Hi Arnor
Great, thanks for that... great information.
Re:
CSIDL_COMMON_DOCUMENTS
CSIDL_PERSONAL
I have been unable to resolve an issue where I installed an app using SB6 and
installed a settings file ( ZZZsets.tps )to the CSIDL_COMMON_DOCUMENTS
When the user runs my program, it seems it does not see the ZZZsetts.TPS file in that
location.
This is in a SBS (Small Business Server) corporate networked environment and I have
been advised by their tech support guy that:-
"SBS is redirecting your (and everyone else's) DOCUMENTS directory so im not sure how
this ZZZ app will cope with the differences? Ive got a feeling that the paths are hard
coded into the app and if the paths are different, then the app may not work?"
So it looks like SB6 running elevated finds the correct CSIDL_COMMON_DOCUMENTS folder,
but when the program runs under a user account, CSIDL_COMMON_DOCUMENTS and
CSIDL_PERSONAL seem somehow both mapped to only the CSIDL_PERSONAL folder.
Does anyone know if it's possible in SBS to re-map CSIDL_COMMON_DOCUMENTS to
CSIDL_PERSONAL for non-admin users? If so, then perhaps I need to try
CSIDL_COMMON_APPDATA and hope that it is not re-mapped like this.
John Griffiths
NewsArchive
11-03-2008, 02:19 AM
As I've written elsewhere, John, I'm not thrilled with locating common
(shared) data Microsoft's way for various reasons on single workstations or
in a workgroup.
In a client/server situation, things get more complicated.
Active Directory settings in a domain environment can remap users documents
(or My Documents) folders transparently to some server location.
Is your TPS settings file common or individual? Do ordinary users need to
write to it?
In some server-based apps I use TPS files which contain SQL connection
information. I put these files in the same folder with the app, and have
the app open them read-only (unless being run in setup mode by an
administrator). Haven't tried this live with Server 2008, but in a Server
2003 Active Directory domain comprising two WAN-connected sites it works
fine because if users have permissions to run the app they have permissions
to open the settings file read-only.
Jane
NewsArchive
11-03-2008, 02:20 AM
Jane
>As I've written elsewhere, John, I'm not thrilled with locating common
>(shared) data Microsoft's way for various reasons on single workstations or
>in a workgroup.
Thanks for all you have writtien here and on ClarionMag.
>In a client/server situation, things get more complicated.
>Active Directory settings in a domain environment can remap users documents
>(or My Documents) folders transparently to some server location.
Dang! I did not want to know that! <G>
>Is your TPS settings file common or individual? Do ordinary users need to
>write to it?
>In some server-based apps I use TPS files which contain SQL connection
>information.
Yes, that is exactly what I am storing there.- the SQL connection settings and a
license key. They should be avail to all users for reading, and I would like for them
also to be able to change the settings. I may need to review the need for all users to
be able to change a connection setting. I could add a small SB6 based app to get over
that hurdle.
>I put these files in the same folder with the app, and have
>the app open them read-only (unless being run in setup mode by an
>administrator). Haven't tried this live with Server 2008, but in a Server
>2003 Active Directory domain comprising two WAN-connected sites it works
>fine because if users have permissions to run the app they have permissions
>to open the settings file read-only.
That makes sense too! Might try that next time.
Thanks
John Griffiths
NewsArchive
11-03-2008, 02:21 AM
Hi Jane,
> administrator). Haven't tried this live with Server 2008, but in a Server
> 2003 Active Directory domain comprising two WAN-connected sites it works
> fine because if users have permissions to run the app they have permissions
> to open the settings file read-only.
I read on a website
(http://www.mail-archive.com/use-revolution@lists.runrev.com/msg89921.html -
about 1/4 down the page "The problem is XP Server 2003 does not have a
CSIDL_COMMON_DOCUMENTS folder") tonight that WS2003 does not have
CSIDL_COMMON_DOCUMENTS. I'm right now installing WS2003 to see if that
holds water or not. Any comments on this statement?
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-03-2008, 02:22 AM
Hi Jane,
> CSIDL_COMMON_DOCUMENTS. I'm right now installing WS2003 to see if that
> holds water or not. Any comments on this statement?
I have tested this and CSIDL_COMMON_DOCUMENT shows up fine on Windows Server
2003 R2 with SP2. That is with all currently available updates (including
IE 7)
Best regards,
--
Arnor Baldvinsson
Icetips Creative, Inc
NewsArchive
11-04-2008, 02:29 AM
What about installing in C:\myprogramm when installing on vista? Both app and
data? Should this no work?
Thanks much Kai
NewsArchive
11-04-2008, 02:30 AM
Works PERFECTLY of course but not recommended by Microsoft
IF your application is "put_your_term_here" enough then you of course can do
that
--
Thank you
Cordialement - Best regards
Jean-Pierre GUTSATZ
CGF
DMC - Data Management Center - A tool to let you Migrate Import Export
Transfer all your Data very easily
www.dmc-fr.com
Certified by Microsoft : "Works with Vista" & "Works with Windows Server
2008"
NewsArchive
11-04-2008, 02:31 AM
Hi Kai,
> What about installing in C:\myprogramm when installing on vista? Both app and
> data? Should this no work?
It works. But I _hate_ to have to install stuff into the root. You end up
with a lot of clutter very soon.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-04-2008, 02:32 AM
> What about installing in C:\myprogramm when installing on vista? Both
> app and
> data? Should this no work?
Hello Kai,
some folks use that location and it seems to work for them.
But its not appreciated by MicroSoft - and now guess who sits at the
longer arm....
.....so better obey the Overlords of the Universe
--
Grüße / Regards
Wolfgang Orth
http://www.odata.de
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
NewsArchive
11-04-2008, 02:32 AM
Hi Wolfgang,
> some folks use that location and it seems to work for them.
It works fine, but you can end up with a lot of clutter. What _I_ do with
my own programs (have been doing this since W98) is that I have a root
folder called Programs. I stuff all my in-house programs there etc. No
problems with either XP or Vista, but I would not recommend this for general
use/installs.
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-06-2008, 02:36 AM
Hi Arnór,
>
> Hope you don't mind me posting this here!
>
Thank you so much for posting it here :) It's really an excellent resource!
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
11-07-2008, 03:19 AM
Hi Friedrich,
> Thank you so much for posting it here :) It's really an excellent resource!
Thanks:) If you, or anyone else, have any comments or additional
information, please don't hesitate to post a comment!
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-07-2008, 03:20 AM
Arnór,
My suggestion would be this - while this is an excellent newsgroup to post
this announcement - not all follow this newsgroup - I'd suggest posts in
the following newsgroups as well.
comp.lang.clarion
softvelocity.clarion.third_party
softvelocity.public.clarion6
and there may be other appropriate newsgroups as well.
David
--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/
NewsArchive
11-07-2008, 03:21 AM
Hi David,
> comp.lang.clarion
> softvelocity.clarion.third_party
> softvelocity.public.clarion6
>
> and there may be other appropriate newsgroups as well.
Thanks for the suggestion:) I intend to do that, just wanted the experts to
have a go at it first;)
Best regards,
--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
11-07-2008, 03:22 AM
Arnór,
Sounds like a good plan!
AND Encourager Software will try to do it's part in promoting your article
too.
http://profileexchanges.com/blog/?p=95
And we'll be including it in the next web updated - data versions for 3 of
our Profile Exchanges - Clarion Third Party, Search Engine, and Shareware!
David
--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.