Write access in Vista? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

spandy2009
Posts: 1
Joined: Mon Mar 02, 2009 10:46 am

Write access in Vista?

Hi

My problem is that I have a program that writes into a text file in "c:\program files\myprogram", this is not allowed in Windows Vista unless I run the program as an administrator. Many of my clients don't have a glue how to do this. How can I make my program through AdvancedInstaller to be used as a "standard user?

Sincerely,

Spandy2009
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Write access in Vista?

Hi,

If your application needs Administrator privileges to run, you can embed a manifest in it. This manifest will tell Windows to elevate the application when launched.
If the application needs privileges only for the text file, you can try setting custom permissions for the folder which contains the file. For example, you can give full access to everyone.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”