Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action , entry: , library: user\AppData\Local\Temp\MSIC79.tmp

Denis Knp 20 Reputation points
2023-10-29T09:30:19.6266667+00:00

Hello,

I'm newby in C++ and Windows Installer technologies. I have implemeted Windows Installer(msi) package with a custom action which is running during one of steps with push button control. That custom action will download and run downloaded msi to install Visual Studio. The Custom Action invokes DLL which I created with C++ and Visual Studio. There are also other functions from DLL which are being run by this package.

The problem is that when I have the VS installed on my PC, the MSI is working excellent and all requred DLL functions are working as expected. But when I uninstall VS and try to install it with my MSI, there is error as in the header above.

Any ideas how to fix it?

Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,986 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,484 questions
{count} votes

Accepted answer
  1. RLWA32 42,081 Reputation points
    2023-10-29T14:00:03.1233333+00:00

    If you link with the CRT static libs you will remove dependencies on the VC++ runtime dlls which are probably not installed on your target system.

    In the DLL project property page set the /MT option for the release configuration as shown below -

    static

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful