MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: 1720 - There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action [2] script error [3], [4]: [5] Line [6], Column [7], [8][Next]: 1909 - Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it.
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer FAQ (the basics)->Return Codes and Error Codes or Text->Error Codes->1904 - Module [2] failed to register. HRESULT [3].

1904 - Module [2] failed to register. HRESULT [3].

The main reason self registration fails is that some prerequisite product is not yet installed. See the "SelfRegister" command for more details.

Its possible that your MSI is self registering more than one object and it may need to occur in a particular order. You could use "Dependency Walker" to check for this as it shows dependent DLLs etc.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: 1720 - There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action [2] script error [3], [4]: [5] Line [6], Column [7], [8][Next]: 1909 - Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it.


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.