I am a beginner of Wix, I make a msi, and install it in windows7,but the application
only work correctly when runas administrator. Can somebody give me some suggest?
Asked
Active
Viewed 1,186 times
0
-
1Do you mean that the setup needs to run with administrative privileges? Or the application that has been installed by your setup? – Dirk Vollmar Aug 21 '09 at 10:45
-
The application that has been installed by your setup need administrative privileges to run. – Aug 24 '09 at 01:15
2 Answers
1
You need to generate a verbose log file (see the command line options topic in the MSI SDK) and see what the actual install error is.

Rob Mensching
- 33,834
- 5
- 90
- 130
-
sorry for my unclear question. the process of installation is successful, the application installed by setup package need adim privilege to run correctely. – Aug 24 '09 at 01:19
-
The issue you described above means there is a bug somewhere in your installation. The Windows Installer will elevate correctly for you. However, if you have a bug in your setup (usually a buggy Custom Action) then things can still fail. A verbose log file will point to the root issue. – Rob Mensching Aug 24 '09 at 15:53
0
Does it run on Vista? For installation it is common to be run by administrator - the application itself should be able to run without admin privileges and this requires dedicated work.

devdimi
- 2,432
- 19
- 18