At 07:21 PM 25/07/07, Ross Levis wrote:

So my app now stores it's data in Program Files\app folder\Data.  I use Inno
Setup which has the facility to set directory permissions.  This is all you
need in the setup code.

[Dirs]
Name: "{app}\Data"; Permissions: users-modify

Hi Ross,

thanks for the info. I effectively have the same setup now, but didn't know about this feature in Inno - and my copy of Inno is quite old anyway.

However, I still have the problem of updates. I have already encountered the problem of a Vista user already trying to update, and Windows not overwriting the original program but putting the update in a new, "virtual folder" or some such thing. When they go to run it again it is back to the old version. I must admit it drove me nuts and cost me a huge amount of time and effort to figure out what was going on here.

Do you know if the new Inno is sufficiently Vista-aware to allow Windows to do what it needs to allow me to update an existing executable? I release an update to my program at least once a month as I expand the capabilities. At present I have told all my users if they go to Vista they're on their own - but I recognise I can't maintain this stance for too much longer.

Cheers,
Chris.

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to