|
-
Jan 21st, 2010, 04:29 AM
#1
Thread Starter
Hyperactive Member
(Urgent) Need to know if this will work on VISTA with UAC on.
Hi all,
I would like to know if any of these steps cause problems on vista or 7 with uac on:
1. connect to a webservice
2. call methods from that webservice
3. download files with my.network.download
4. create files in the windows temp folder
5. start another process
6. Copy files from windows\temp to c:\programfiles\applicationdir
7. Delete files and overwrite files in a program files directory.
I would probaly be able to find the answer on google when searching for a long time. But it is quite urgent, I hope some of you can provide me with the answers and maybe even an explanaition how to solve it?
Thank you very much in advance!
[EDIT]
How do you run an application with administrator rights using parameters?
Somethign like : Start C:\Program Files\MyApp\MyApp.exe -administrator ?
Last edited by gonzalioz; Jan 21st, 2010 at 04:32 AM.
-
Jan 21st, 2010, 04:41 AM
#2
Thread Starter
Hyperactive Member
Re: (Urgent) Need to know if this will work on VISTA with UAC on.
Meanwhile I have found out that writing files to c:\ program files will cause problems.
How can I make it so that my setup file will install the application in user application data directory for example? That won't cause security problems right?
-
Jan 21st, 2010, 05:27 AM
#3
Thread Starter
Hyperactive Member
Re: (Urgent) Need to know if this will work on VISTA with UAC on.
K, my application will now install to the application data directory and not to program files. It isn't the most neat solution. But like I said... I have little time.
For those who want to change the defaultlocation of the installer as well:
Right click application folder -> properties
Change default location to: [AppDataFolder][Manufacturer]\[ProductName]
See the installer properties reference for more [fields] http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx
I would still like to hear if any of those things in my first post cause security problems. But as far as I know only the io.file causes problems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|