Auto Updater System Error dll is missing. - Advanced Installer Community
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Auto Updater System Error dll is missing.

When I run the updater.exe from my app the updater checks the configuration file and downloads the new .exe file but then during "Installing Updates" I get a error message "System Error; The program can't start because xxx.dll is missing from your computer. Try reinstalling the program to fix this problem". The xxx.dll is in the [AppDir] and was put there during the original App install. I've even put the xxx.dll into the Windows\system32 directory just to see if that helped but it didn't

Any thoughts?

Ed
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Auto Updater System Error dll is missing.

Hello Ed,

This error seems to be triggered by your application. If this is the case, you should debug the application and find the cause of the error. If this error is due to an installation fault, please give us more details and send us both the .AIPs (old and upgrade) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Have you included this DLL file in the upgrade package? Please note that during an upgrade the initial package is first removed, thus the DLLis deleted, and then the upgrade package is installed. You need to include this DLL as a resource in the upgrade package too.

Another possible cause for missing DLLs when upgrading packages is a well known Windows Installer bug that affects upgrade packages that contain a lower file version then the file contained by the initial setup. Please have a look on this article: DLL file disappears during an upgrade


Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Auto Updater System Error dll is missing.

I discovered my problem. My application contains many files including may video files that end up being 3+ GB in the original install exe and is delivered via DVD. What I was looking to do was have an update that only updated the main program exe when the need arose. I was unaware, and the help never made exactly clear, that the "update" had to be a totally new install version with all of the original files. So instead of the updater running a new install exe from the temporary directory it was trying to run my main program exe from a temporary directory and, of course, all of the required dll files were not in that temporary directory.

I think that I understand now that what I need is a "patch" to replace only the one main program exe when I need to. I will be trying that today.

Ed
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Auto Updater System Error dll is missing.

Hello Ed,

I'm glad you've sorted things out.
If you have any other questions, please let me know!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”