Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 723
  • Last Modified:

Installation Folder is Read Only after Application is installed on Windows 7 64-BIT

I have an application that was created using Visual Studio and packaged and installed using Installshield 2010.  The application and installation have worked fine when installed on Windows XP and Windows 7 32-bit machines.  

When trying to install the software on a Windows 7 64-bit machine the installation completes without error but when you try and run the application an error occurs refering to a log file that the app uses is read only.    For some reason the folder that was created allows the user read-only access.  This does not happen when the installation is run in a Windows 7 32-bit machine.

I can manually change the user permissions for the folder and that error goes away but then I get the a different error "requested registry access is not allowed" when the program launches.  The app writes a value to the registry the first time it is run.  This is happened on a couple different Windows 7 64 Bit machines.

It appears that this is all security issues but i am not sure why this only effects Windows 7 64-bit.  Also, the user account that the software is being installed under is an administrator.
0
Mike_Stevens
Asked:
Mike_Stevens
  • 2
1 Solution
 
arnoldCommented:
My Guess is that the application does not handle the location correctly and is looking for the log file in the wrong location.
0
 
expert_tanmayCommented:
This could be because of UAC (user access control). Microsoft has introduced this from Vista onwards. This is like not allowing administrative control even though you have logged in as Administrator. Go to Control Panel->User Accounts->User Account Control (UAC) and disable UAC. Check if the problem resolves.

Cheers...
0
 
arnoldCommented:
The issue is limited to the 64bit OS install which suggests that the log file writing attempt is being made in a different location that expected. Since it works on the 32bit version it would suggest that the log file might be within the program files\application which on the 64bit system is not valid since the install of the application ends up in program files (x86)\application.
If the log is in the %allusersprofile%\application data\location there should not be an issue.

The answer can only be obtained by the asker whereby the location where the log file is will guide the solution.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now