PDA

View Full Version : Vista Roaming



NewsArchive
08-20-2007, 01:36 AM
Hi all,

I set up my install to put .tps files and some rtf files into
subfolders from CSIDL_LOCAL_APPDATA

When I install this on Vista with an installer that is set to run
requireAdministrator, the data goes into a Roaming folder and my app
can't find it.

If I don't requireAdmin, then the install can't create a folder in
"Program Files" and aborts. The install is code signed and the exe
has vista manifest as invoker.

When I run my SpecialFolder app it shows the CSIDL_LOCAL_APPDATA in
the rigth place but SB puts them into the ROAMING folder, which I then
can't find.

Any ideas?

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-20-2007, 01:37 AM
Hi all,

>When I install this on Vista with an installer that is set to run
>requireAdministrator, the data goes into a Roaming folder and my app
>can't find it.

It's happening on XP also... Hmm... Definitely something not quite
right somewhere in my process<g>

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-20-2007, 01:38 AM
Hi,

>When I install this on Vista with an installer that is set to run
>requireAdministrator, the data goes into a Roaming folder and my app
>can't find it.

Darn it! I was using CSIDL_APPDATA in my program but
CSIDL_LOCAL_APPDATA to install into, not quite the same<g> My
SpecialFolder program really came in handy on this one as I just
didn't see the difference!

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-20-2007, 01:39 AM
Final note:

>CSIDL_LOCAL_APPDATA to install into, not quite the same<g> My
>SpecialFolder program really came in handy on this one as I just
>didn't see the difference!

Works perfecly now on Vista and XP:)

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-20-2007, 01:40 AM
> Final note:
> Works perfecly now on Vista and XP:)

It is always nice when you can "Self-help" with your own utilities<g>.

Glad you sorted it out!


Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging 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
08-20-2007, 01:41 AM
Hi Charles,

>It is always nice when you can "Self-help" with your own utilities<g>.

<g>

>Glad you sorted it out!

Been staring at this too long. I have these two folders:

C:\Documents and Settings\Owner\Application Data\Icetips Creative\...
C:\Documents and Settings\Owner\Local Settings\Application
Data\Icetips Creative\...

When I was looking at them all I saw was "Application Data\Icetips
Creative" and just stopped noticing that they were NOT the same
folder<g>

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-20-2007, 01:42 AM
> Been staring at this too long....

I can relate to that<g>.

I was busting my hump the other night on some code for hours wondering why
it would not do what I KNEW that it should do.

Then after taking a nap I woke up - looked at it and realized that in fact
it was doing EXACTLY what I had told it to do.

Stupid computers!

They should know to do what I mean instead of what I say<g>.

;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging 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
08-20-2007, 01:46 AM
> Hi,

>>When I install this on Vista with an installer that is set to run
>>requireAdministrator, the data goes into a Roaming folder and my app
>>can't find it.
>
> Darn it! I was using CSIDL_APPDATA in my program but
> CSIDL_LOCAL_APPDATA to install into, not quite the same<g> My
> SpecialFolder program really came in handy on this one as I just
> didn't see the difference!

Arnór,

I LOVE the SpecialFolders program! WOW! Extremely useful.

Actually, in these days of Vista transition BUT your program goes way
beyond just Vista - still immensely helpful for software vendors supporting
and installing to Pre-Vista - I'd think about adding some bells and
whistles and selling a commercial version as well.

David

--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/

NewsArchive
08-21-2007, 01:53 AM
Hi David,

>Actually, in these days of Vista transition BUT your program goes way
>beyond just Vista - still immensely helpful for software vendors supporting
>and installing to Pre-Vista - I'd think about adding some bells and
>whistles and selling a commercial version as well.

I actually realised what the problem was when I installed it on XP and
realized it was going into the right folder but my program was not
looking in that folder. So with SpecialFolder to compare what CSIDL
things were in I quickly figured out that I had to be using the wrong
CSIDL in my program, which turned out to be correct:)

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-21-2007, 01:56 AM
Arnór,

THAT'S exactly why you should embellish it and sell a commercial version -
plenty of developers run into the same problems with all kinds of
programming languages and OS development platforms.

Whatever your motives were originally, sell more subscriptions, highlight
more uses of Icetips Utilities, be a good guy to the Clarion community, etc
- you have stumbled across a much greater potential market!

David


--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/

NewsArchive
08-21-2007, 01:56 AM
Hi David,

>THAT'S exactly why you should embellish it and sell a commercial version -
>plenty of developers run into the same problems with all kinds of
>programming languages and OS development platforms.

Hmm... I will definitely take that under consideration!

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php