Vista issues have been discussed quite a bit in the
VB groups. I haven't seen any one ideal solution
presented. Some people are just telling their customers
to install to C:\ or to a newly-created folder in Vista,
in order to get around the problem of Program Files folder
restrictions (which renders App.Path unusable).
You can also put your DB in the user's AppData folder,
but the problem there is that MS has left no good option
for all-users setup. The All Users App Data folder is not
writable. So it boils down to:
1) Design the program for single users and don't try to
access anything other than the user's app data and
documents folders.
(If Inno can't get those paths for
you then you'll need to do that yourself:
http://vbnet.mvps.org/code/browse/csidlversions.htm
http://vbnet.mvps.org/code/browse/csidl.htm
)
OR
2) Tell the customer that they will need to grant
themselves permission to fully use their PC if they want
your software to work.
Microsoft also has some online info. about dealing with
UAC. It's a lot of reading without much clear information,
but it might help:
http://msdn.microsoft.com/msdnmag/issues/07/01/UAC/
http://technet2.microsoft.com/Window...-2b2f-422c-b70
e-b18ff918c2811033.mspx
You might also try the VB groups or an Inno
support forum, if there is one. This group is
just for Vista use.
>
> I have a VB application and i can easily install in any operating
> system.
>
> My VB application always using the DB thats in its application folder.
> Once you delete the DB from this application folder and if try to start
> the application it will show the error like DB is not found. This is the
> normal working.
>
> My problem is under vista machine, once i installed the application in
> vista and if i delete the DB from the application folder still the
> program is running. The reason is application taking the DB from the
> UAC.
>
> I am using inno script to make the installer for my application. Now i
> want to avoid this placing of DB file in UAC. I cant tell the customers
> to off the UAC. Instead i want to do something with Inno or by
> programically.
>
> Can any one help me...
>
> Regards,
> Susan.
>
>
> --
> Susan1982
> Posted via http://www.vistaheads.com
>