View Full Version : Application Data in Windows 7
NewsArchive
12-29-2009, 11:40 AM
C6.3.9058
SetupBuilder7
WinXP & Win7
Oh, the joy of it all.... I have SB7 making a nice build of my app
that work fine everywhere until I get to Win7. The installer is fine.
It's the data I am having issues with.
I install some files by default, but the app creates most of its
others, when needed. Of course, these get created (I guess) in
AppData and the program is running fine with that. I just cannot
backup and restore the data. Plus the predefined data from the install
doesn't get into AppData, but where I expect it, the application's
directory which is under Program Files.
OK... now, how do I get the data where I can see it, massage it. If
Win7 won't let me or my customers to have data in Program Files, how
do I reference the data in other apps?
When I do my backup, I get the local data that came with the install,
but not the application created data... argh! MKore delays in getting
this update out.
Thanks for any assistance.
Bob Taylor
NewsArchive
12-30-2009, 02:38 AM
Start up your app and look for presense of vista or higher. If so then
change current path to a programdata folder like all other apps. Then
all your data and backups and such will be fine.
If you set current directory after load and a good redirection of your
HTML help file, you should be good to go.
Robert Paresi
NewsArchive
12-30-2009, 02:39 AM
Robert Paresi wrote:
> Start up your app and look for presense of vista or higher. If so
> then change current path to a programdata folder like all other apps.
> Then all your data and backups and such will be fine.
>
> If you set current directory after load and a good redirection of your
> HTML help file, you should be good to go.
>
>
> Bob Taylor wrote:
> > C6.3.9058
> > SetupBuilder7
> > WinXP & Win7
> >
> > Oh, the joy of it all.... I have SB7 making a nice build of my app
> > that work fine everywhere until I get to Win7. The installer is
> > fine. It's the data I am having issues with.
> >
> > I install some files by default, but the app creates most of its
> > others, when needed. Of course, these get created (I guess) in
> > AppData and the program is running fine with that. I just cannot
> > backup and restore the data. Plus the predefined data from the
> > install doesn't get into AppData, but where I expect it, the
> > application's directory which is under Program Files.
Thanks Robert... looks like redirection.
I appreciate the repsonse.
Bob Taylor
NewsArchive
12-30-2009, 02:40 AM
> OK... now, how do I get the data where I can see it, massage it. If
> Win7 won't let me or my customers to have data in Program Files, how
> do I reference the data in other apps?
>
> When I do my backup, I get the local data that came with the install,
> but not the application created data... argh! MKore delays in getting
> this update out.
>
> Thanks for any assistance.
Bob,
The easiest way to get control of your data in a Vista/Server 2008/Windows
7 environment is to use our ProPath templates.
http://www.clarionproseries.com/html/propath.html
ProPath makes it simple to manage the locations of both data files and INI
files so that they meet the requirements of modern operating systems.
It also makes it easy to reference the program data and system data folders
(for easy backup) and it even includes templates that you can add to your
app that will open Windows Explorer to the locations.
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-30-2009, 02:40 AM
Charles.
Thanks for the response. It appears many of you have this solved
already and I am just lagging behind. I'll look at the options I have
here and may see if ProPath is my solution.
Thank you.
Bob Taylor
NewsArchive
12-30-2009, 02:41 AM
> Thanks for the response. It appears many of you have this solved
> already and I am just lagging behind. I'll look at the options I have
> here and may see if ProPath is my solution.
Just let me know if you have any questions Bob.
With the release of Windows 7, making applications work correctly in UAC
environments is no longer an option for Clarion developers and putting data
and INI files in the right locations is an integral part of that.
While it is possible to sit down and figure it all out, it takes time and
effort to get it done. So we did all the research, then wrote ProPath to
do all the heaving lifting for file path management for you.
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-30-2009, 02:42 AM
> C6.3.9058
> SetupBuilder7
> WinXP & Win7
>
> Oh, the joy of it all.... I have SB7 making a nice build of my app
> that work fine everywhere until I get to Win7. The installer is fine.
> It's the data I am having issues with.
>
> I install some files by default, but the app creates most of its
> others, when needed. Of course, these get created (I guess) in
> AppData and the program is running fine with that. I just cannot
> backup and restore the data. Plus the predefined data from the install
> doesn't get into AppData, but where I expect it, the application's
> directory which is under Program Files.
Bob,
Of course, you have some good advice already - here is a good resource for
your reference as well. My company assembled a lot of basic information on
making App Data UAC (Vista and Windows 7) Safe - just load this blog
reference and download the CHM version of it.
As Charles has already pointed out (IF you're using C6 - C7 ABC) - his
company product - Clarion ProPath - makes it very easy to make Clarion
programs that "Properly" place the data in UAC Safe locations. You might
need some help for Clarion Third Party products - but asking the authors or
users will usually solve those issues.
AND, the great thing is - once you follow proper methods - your Clarion
programs will read - write data in all the popular Windows OSs including
XP. AND, you have plenty of developers willing to help (yes, those with
previous arrow wounds in their back have healed nicely :-D).
Making App Data UAC (Vista and Windows 7) safe and XP compatible
http://profileexchanges.com/blog/?p=120
* * * * *
Vista, Windows 7 and Clarion 6
C6 IDE appearance and help issues
"You can use the Windows XP version of winhlp32.exe to take full advantage
of the Clarion 6 Help in Vista." (same applies to Windows 7)
http://profileexchanges.com/blog/?p=20
* * * * *
Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products
"The Clarion 6 Vista Installation Fix freeware application makes the
appropriate WIN.INI modifications so 3rd party installations can detect
Clarion 6 on Vista, Windows Server 2008 and Windows 7 machines."
Direct Download URL
http://lindersoft.com/c6_vista_fix.exe
http://profileexchanges.com/blog/?p=47
David
--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/
NewsArchive
12-31-2009, 02:24 AM
Thanks David. I have already been out on the site after reading
earlier posts on UAC. That's what got me running more test scenarios.
I have a lot of Vista users and no issues, but I haven't gotten to the
point of having to transfer data to a new directory for the upgrade.
That will be "interesting" when I get those support calls. But XP is
a snap.
Thanks and will be moving on it today.
Bob Taylor
NewsArchive
12-31-2009, 02:25 AM
Bob,
Read and understand the stuff David has on UAC and Vista compatibility.
Give ProPath a SERIOUS look.
Against common sense, your life will be much happier when your applications
( and data ) follow the rules for Vista and Windows 7 and you code sign your
installer and exes! ( Setupbuilder will do a good job for you but you have
to know what to tell it to do!!)
FWIW,
Ron Jolda
NewsArchive
12-31-2009, 02:26 AM
> Give ProPath a SERIOUS look.
Thanks Ron!
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
01-16-2010, 03:59 AM
Thanks to everybody. I finally got my project out but may what a hassle
with a couple of weeks of testing all OS's.
Used Charles's propath successfully and recieved lots of support from
him and Arnor.
Great bunch of guys... thanks again.
Bob Taylor
Taysys Software
--
NewsArchive
01-16-2010, 04:00 AM
> Used Charles's propath successfully and recieved lots of support from
> him and Arnor.
>
> Great bunch of guys... thanks again.
Glad to help Bob!
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.