We update our client's software *.exe programs by storing the update code in a blob record in a server based MySQL database.
When the user logs on to the main program on his PC, if there are updates, a dialog message displays and the updates are written from the server to the local directory -- the same directory as the main program resides.
This has worked very well on XP (where we used *program files\* as the directory).
It has also worked fine in vista and 32bit windows 7 (where we use the user's app data\roaming directory.
On Windows 7 64-bit however, the update fails. It opens the file name of the updated program with zero bytes and then displays the message:
"Could not write to... c:\Users\[user]\AppData\Roaming\.. etc."
I've tried running the main program as administrator.
I've turned off UAC.
I suspect this is a security issue, but is there any workaround?
Help!
R Greene
When the user logs on to the main program on his PC, if there are updates, a dialog message displays and the updates are written from the server to the local directory -- the same directory as the main program resides.
This has worked very well on XP (where we used *program files\* as the directory).
It has also worked fine in vista and 32bit windows 7 (where we use the user's app data\roaming directory.
On Windows 7 64-bit however, the update fails. It opens the file name of the updated program with zero bytes and then displays the message:
"Could not write to... c:\Users\[user]\AppData\Roaming\.. etc."
I've tried running the main program as administrator.
I've turned off UAC.
I suspect this is a security issue, but is there any workaround?
Help!
R Greene
My Computer
- Computer Manufacturer/Model Number
- Hewlett-Packard / HPE-410f
- OS
- Windows 7 Home Premium 64bit
- CPU
- AMD Phenom II X6 1045T Processor 2.70GHz
- Memory
- 8.00 GB
- Graphics Card(s)
- ATI Radeon HD 5570
- Monitor(s) Displays
- LG E2350 (HDMI) / 2
- Hard Drives
- Hitachi HDS7210CLA332 SATA