I'd back up from the error 2869 and see what's before that. That error is when it's decides to show you an error but doesn't like the error dialog, and the actual error is prior to that. Where did you get that error dialog from? That's a common error in Visual Studio setup projects, so did you import their dialogs into a WiX setup?
InstallUtilLib.dll is also a Visual Studio setup project thing. I'd avoid it because it's unsupported since VS dropped setup projects, may have the wrong bitness depending on your install, and I don't know if you're even supposed to redistribute it like that. There's got to be a way to accomplish the task without it. If you just ported the setup from a Visual Studio MSI then I don't know if you'll get proper UAC handling, depending on the version of VS. If the install is set up right the install should explicitly ask for elevation after the UI sequence, because the install needs it. That might be the issue, but look for the error just before the 2869. --------------- Phil Wilson On Mon, Apr 28, 2014 at 9:58 AM, David Allen <d.al...@qub.ac.uk> wrote: > I have an installer that invokes InstallUtilLib.dll via a set of CAs as > documented in > http://blogs.msdn.com/b/josealmeida/archive/2004/11/08/253831.aspx & > http://avinashkt.blogspot.co.uk/2007/05/how-to-create-installer-using-wix-which.html > If I simply double-click on the MSI or run it using msiexec (NOT as an > administrator) then it fails with Error 2869! > The relevant files from the logfile (msiexec /Log ...) are > Action 17:17:50: Install. > DEBUG: Error 2869: The dialog ErrorDlg has the error style bit set, but is > not an error dialog > The installer has encountered an unexpected error installing this package. > This may indicate a problem with this package. The error code is 2869. The > arguments are: ErrorDlg, , > MSI (c) (44:C0) [17:17:52:800]: Product: OpenPKI Tools -- The installer has > encountered an unexpected error installing this package. This may indicate a > problem with this package. The error code is 2869. The arguments are: > ErrorDlg, , > > Error 1001. > MSI (s) (04!EC) [17:17:52:800]: > DEBUG: Error 2769: Custom Action Install did not close 1 MSIHANDLEs. > The installer has encountered an unexpected error installing this package. > This may indicate a problem with this package. The error code is 2769. The > arguments are: Install, 1, > CustomAction Install returned actual error code 1603 (note this may not be > 100% accurate if translation happened inside sandbox) > Action ended 17:17:52: InstallFinalize. Return value 3. > Action 17:17:52: Rollback. Rolling back action: > > If I run the installer via msiexec AS AN ADMINISTRATOR it works fine! > > For reference - the set of CAs, including the custom action "Install" to > which the Error 2769 refers is as follows: - > <InstallExecuteSequence> > <Custom Action="InstallSetProp" > After="StartServices">$WmiProvider>2</Custom> > <Custom Action="Install" > After="InstallSetProp">$WmiProvider>2</Custom> > > <Custom Action="UninstallSetProp" > After="MsiUnpublishAssemblies">$WmiProvider=2</Custom> > <Custom Action="Uninstall" > After="UninstallSetProp">$WmiProvider=2</Custom> > > <Custom Action="CommitSetProp" > After="Rollback">$WmiProvider>2</Custom> > <Custom Action="Commit" After="CommitSetProp">$WmiProvider>2</Custom> > > <Custom Action="RollbackSetProp" > After="Install">$WmiProvider>2</Custom> > <Custom Action="Rollback" > After="RollbackSetProp">$WmiProvider>2</Custom> > </InstallExecuteSequence> > > <CustomAction Id="Uninstall" BinaryKey="InstallUtil" > DllEntry="ManagedInstall" Execute="deferred" /> > <CustomAction Id="UninstallSetProp" Property="Uninstall" Value=' > /installtype=notransaction /action=uninstall /Logfile= "[#WmiProviderDLL]" > "[#WmiProviderDLLConfig]"' /> > > <CustomAction Id="Install" BinaryKey="InstallUtil" > DllEntry="ManagedInstall" Execute="deferred" /> > <CustomAction Id="InstallSetProp" Property="Install" Value=' > /installtype=notransaction /action=install /Logfile= "[#WmiProviderDLL]" > "[#WmiProviderDLLConfig]"' /> > > <CustomAction Id="Rollback" BinaryKey="InstallUtil" > DllEntry="ManagedInstall" Execute="rollback" /> > <CustomAction Id="RollbackSetProp" Property="Rollback" Value=' > /installtype=notransaction /action=rollback /Logfile= "[#WmiProviderDLL]" > "[#WmiProviderDLLConfig]"' /> > > <CustomAction Id="Commit" BinaryKey="InstallUtil" > DllEntry="ManagedInstall" Execute="commit" /> > <CustomAction Id="CommitSetProp" Property="Commit" Value=' > /installtype=notransaction /action=commit /Logfile= "[#WmiProviderDLL]" > "[#WmiProviderDLLConfig]"' /> > > > Am I missing something that should be obvious? It feels as if the CAs are not > being run with admin rights (even though I am prompted). > > All suggestions gratefully received. Apologies in advance if this is a FAQ > with a well known answer that I've missed! > > Regards > David > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users