This may be a dumb question, but I've never encountered this issue before until yesterday. I updated my AI package and installed my application on several workstations (all running Windows 7 x64). The installation installed without any errors. But when I look at the folder where my application got installed, C:\Program Files (x86)\MyApp, I noticed that a folder I told the install to create (called Logs) is not present. No matter, when my application runs, it looks for this folder and creates it if it doesn't exist so it can write it's log files. Oddly enough my app runs great, but the Log file never gets created - nor the log file.
I finally ended up seeing that the user doesn't seem to have the needed privilege to write to this folder and as such neither does my application. The user is an administrator and the User Account Control (UAC) is set to default on the PC. I turned the UAC completely off, restarted the PC, and everything is working great!
is there something I need to set in AI to make sure that the application is installed such that the user & app have the correct privileges? Or do I simply need to make sure I run the installation via the right click "Run As Administrator"? I believe I just installed it normally under the same user that is running the application (that is an admin). I'm not on any domain or fancy network. Just a plain simple Windows 7 install. Also starting to think that perhaps I need to change up some of the coding practice and perhaps use the "<Username>\AppData\Local\ folder to store the log instead of the app folder itself.
Any help or information would be greatly appreciated.
Kindest Regards,
Frank
FOLLOW US
Get the latest news in Application Packaging