I just shared a specific folder in Program Files (Win 7 x64) and unzipped to it. Does that help ?
I can't make the folder shared on the user's system. But I think I have thought my way out of this. Here's the long story:
I offer a KCS Productivity Pack that gets installed in my folder (Kcs_Acad or Kcs_AEC) under Program Files, using Innosetup, and have done it that way for years. In the near future, I expect another party to provide my program to users but install it their own way in their own location (not under program files). So here I am looking to do it both ways, and be able to provide updates to both kinds of installations. Previously, I would just have the user download an updated installation file. That will still work for my existing customers, but not for those who will have it installed in the alternate location. Hence, I thought if I could download an update zip file, I could extract the files to whichever of those locations (my program knows where it is installed).
What I have come up with for a solution now is this: if my program path matches "*Program Files*", and is not on XP, I will connect them to download an updated installation file and let them run it, just as previously. If it's in the alternate location, I will download the update zip and extract the files to where I know they should go automatically. To overcome the "Replace" issue, I can add to your code to delete the existing file before extracting it.
Whew - I think that should do it. Thanks for your help.