|
|
|
|
#1 |
|
Junior Member
Join Date: Apr 2009
Posts: 30
|
Cannot install application on Vista
Hello,
For some reasons, my installer doesn't work on Windows Vista (french version). When I try to install my app to the default folder (c:\program files\app), I get this error for each file: code: On the other hand, if I try to install the app in a folder other than "Program files" then the installation works fine. Does anybody know what could be the problem? I assume it's not the UAC since it would display a message and not just silently block the installation, right? Any ideas? Thanks, Laurent |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
Just taking a wild guess, I would say that either it is a UAC problem and the user has not been elevated, or that the user just doesn't have adequate permissions to the program files folder.
I would probably check 2 things:[list=1][*]make sure you are using RequestExecutionLevel admin to ensure that if UAC is enabled, the user's security settings are properly elevated.[*]You also may want to then check for admin access just in case the user has UAC disabled. (maybe using something like this).[/list=1] |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Apr 2009
Posts: 30
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
it does not block the install, it just runs it as a normal user and not admin
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|