tackyjan
Posts: 4
Joined: Sun Jan 12, 2014 4:08 am

Problems Running .MSI Setup, DLL Missing

Hello All,

I just downloaded Advanced Installer from the website and whenever I tried to install it I got the following error about not being able to run a required DLL:

Image

I figured that this was likely a permission issue (e.g. need to run as administrator) so I right-clicked the installer .msi file to check if I could run it as administrator. There was no option to "Run as administrator" like there usually is for .exe files.

Image

Luckily, I am pretty savvy with the computer so I figured I still could run it as administrator if I ran the installer .msi from an administrator command console. :D

That worked. Here is what I did:

1. Created shortcut to cmd.exe on my desktop (right-click, New->Shortcut, cmd.exe)
2. Right-clicked the shortcut to cmd.exe and selected "Run as administrator"
3. Changed directory to location of Advanced Installer installer .msi
4. Typed advinst.msi and pressed Enter

Image
The installer then started without the error message about the DLL and so I was able to installed Advanced Installer on my computer.

This is not the end of the story, however. I created a quick installer for my program and the .msi file that it generated (WinPowerMenu_Installer.msi) gave me the exact same error as the Advanced Installer setup .msi.

Image

Image

I am running Windows 8.1 Pro 64 bit. My Windows account is: Administrator, Local Account, and Password Protected according to the Control Panel:

Image

Is this a known issue? Is there a compatability problem with Advanced Installer and Windows 8.1?

I don't want to have to tell the end user of my application that they need to launch the installer .msi from an administrator command window every time they want to install it.

Thank you.

Jan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problems Running .MSI Setup, DLL Missing

Hi Jan and welcome to Advanced Installer forums,

It seems one of your .DLL custom actions doesn't have enough privileges to run. Generate a log to figure out which one it is, enable the following and see if the behavior persists:
Execution time: "When the system is being modified (deferred)"
Execution options: "Run under the LocalSystem account with full privileges (no impersonation)"

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tackyjan
Posts: 4
Joined: Sun Jan 12, 2014 4:08 am

Re: Problems Running .MSI Setup, DLL Missing

mihai.petcu wrote:Hi Jan and welcome to Advanced Installer forums,

It seems one of your .DLL custom actions doesn't have enough privileges to run. Generate a log to figure out which one it is, enable the following and see if the behavior persists:
Execution time: "When the system is being modified (deferred)"
Execution options: "Run under the LocalSystem account with full privileges (no impersonation)"

All the best,
Mihai
But what about the problem with the Advanced Intaller .msi that I downloaded from your website? advinst.msi. If that has the same problem then it must be something to do with your stuff?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problems Running .MSI Setup, DLL Missing

Hello,

Advanced Installer requires administrative privileges to install. If you have UAC disabled on that machine this could be the issue. Otherwise the install package has been tested and there are no known issues.
I just tested this myself on a Windows 8.1 machine and no such behavior occurred.

If the issue persists try installing on other clean machines.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”