Having upgraded from Visual Studio 2010 to Visual Studio 2013 Update 2 and installing the Visual Studio installer projects extension. The Setup up project builds and the installer works in Windows 7 and Windows 8 but when trying to run it on Windows Server 2003 ( Standard Edition, Service pack 2) it exits with Error 1603.
Microsoft’s Support site suggests:
None of the above are causing the error, having gone back to VS2010 and built the project again it has installed with no problems.
The project is using the .NET 3.5 SP1 Framework and Windows Installer 3.1. The Windows Installer component couldn't be found and I had to copy it.
FROM: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages
TO: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages
Has anyone experienced any similar issues?
Update 1 Thanks @PhilDW
I have done the install creating a log file, I have copied the section I think is relevant but the full log can be downloaded here.
Action 11:55:50: DIRCA_CheckFX.
Action start 11:55:50: DIRCA_CheckFX.
MSI (c) (64:24) [11:55:50:139]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'DIRCA_CheckFX'
MSI (c) (64:B0) [11:55:50:170]: Invoking remote custom action. DLL: C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\1\MSI1D4.tmp, Entrypoint: CheckFX
MSI (c) (64:D4) [11:55:50:170]: Cloaking enabled.
MSI (c) (64:D4) [11:55:50:170]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (64:D4) [11:55:50:170]: Connected to service for CA interface.
Action ended 11:55:50: DIRCA_CheckFX. Return value 3.
MSI (c) (64:24) [11:55:50:217]: Doing action: FatalErrorForm
Action 11:55:50: FatalErrorForm.
Action start 11:55:50: FatalErrorForm.
MSI (c) (64:24) [11:55:50:217]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (64:4C) [11:55:50:233]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (64:4C) [11:55:50:233]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
I then found the following question on here. The custom action is being added by Visual Studio is there anyway round this?
Same problem that I have Ally. There is no documented workaround, other than to continue using 2010 to build your MSI. GhostCKY has put a potential solution on my question regarding the "DPCA.dll" file from the 2010 solution, which I haven't tried yet but seems promising.
The error is very misleading, as it means that the DLL load failed. the DIRCA_CHECKFX action is trying to load the DLL, so it gives you a horrible error.
The "right" way to fix this is WiX, but obviously budget comes into play.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With