Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Update 2, installer projects extension

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:

  • The folder that you are trying to install the Windows Installer package to is encrypted.
  • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
  • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.

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?

like image 745
Ally Murray Avatar asked Oct 21 '22 04:10

Ally Murray


1 Answers

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.

like image 190
Spence Avatar answered Oct 23 '22 23:10

Spence