dolamite
Posts: 11
Joined: Tue Jul 31, 2012 3:46 am

for some reason I have to run my app as admin

I am using AI and after I install my app it wont start Error 1 access denied unless I run as admin ... The is no reason for this and I don't was this behavior and the only time I have ever seen this behavior is with AI how can I turn this off ? its just a simple text file
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: for some reason I have to run my app as admin

Hello,

Please note that Advanced Installer simply installs your application on the target machine. The settings required for your application to function properly have to be included in the .AIP from Advanced Installer. This project file(.AIP) will generate the package (.MSI or .EXE) which will install your application.

The way your application runs and its functionality on the target machine completely depend on its development design, which should dictate the required install settings.

Are you getting the same behavior if you manually install the same resources in the same locations on the target machine?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dolamite
Posts: 11
Joined: Tue Jul 31, 2012 3:46 am

Re: for some reason I have to run my app as admin

That is the thing it only does this with AI i have used other installers and it does not do this.. When i manuelly run it it execute fine...nothing in my code is set to be run as admin... This is a genuine AI mystery.. Now this file holds date needed to contact a web site....
dolamite
Posts: 11
Joined: Tue Jul 31, 2012 3:46 am

Re: for some reason I have to run my app as admin

I think I solved the problem and I am going to post the steps so if there are other new people such as myself maybe this will help them... I went to Files &Folders ... Highlighted problem file -->rt click -->properties-->Edit Files-->Permission--granted full permission to everyone ... I hope this helps someone

Return to “Common Problems”