Hi, I create msi to install our company software. During installation it's required to register COM object. it requires admin privileges. I use the following condition to detect admin privileges
<Condition Message="Only administrator is allowed to install the application."> (Privileged and (VersionNT = 601 Or VersionNT = 602 or VersionNT = 603)) or VersionNT = 501 </Condition> There is no problem when I install it on win 8.1, I execute it as administrator from popup menu. Diring uninstalling I should unregister COM object and remove folder from ProgramFiles. When I try to unuinstall it during add/remove programs, It says that I'm not admin and does not allow to remove it. If I ommit this condition, then installer doesn't remove files from ProgramFiles and doesn't unregister COM object. Please help me to avoid it? Thanks, Alex ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users