I have an installer that install some files etc. We use Parrafin to create .wxs files that we include in the installer.
When I include a certain .wxs
file, the installer hangs on Calculating Space Requirements, if I remove this file from the installer, all works fine?
I have tried reading the logs but it just shows CostFinalize
and stops there?
85284 Files and Components
10333 Directories
37 Features
85284 FeatureComponents
.wxs File Sizes Portal is at the top.
Edit: Tried to install on a VM and it wouldn't take there either. This only happens when I add (a large) component to the installer. I tried validating it with Orca, but it takes waaaay to long. The burn tool only gave me the font warnings.
Edit 2: When I disable multiple features and add the Portal feature the installer seems to work. Can this be that I have to many features? Or a feature that is too big?
Edit 3 After working on it, it now happens even with the Portal dissabled. I have no idea what the error is.
Edit 4 After searching some more I find this site that gives the max amount per component and files. And I am over that number. Microsoft has some info on it, so I will be trying that!
<DirectoryRef Id="INSTALLDIR">
<Directory Id="dir_F7990BC992434CA08269373C780FC09E" Name="Portal">
<Component Id="comp_AD6C481EA13D4A09886B6ABFE39FEB90" Guid="*">
<File Id="file_8C1F31FBCB1C442191C18E1C28DFE1D4" KeyPath="yes" Source="..\..\..\Portal\create_user_table.txt" />
</Component>
<Component Id="comp_667C7BA41A8C47B99216E1FCE9694FAD" Guid="SOME_GUID">
<File Id="file_5C0A67A5C1D045699C4605086A8985E0" KeyPath="yes" Source="..\..\..\Portal\package.json" />
</Component>
<Component Id="comp_6A5E08DD4BA041B79C2A803BF77AA911" Guid="SOME_GUID">
<File Id="file_7D9CAEFDA0274FD5962E008ED96D0DE0" KeyPath="yes" Source="..\..\..\Portal\README.md" />
</Component>
<Component Id="comp_47673BC5120B4E36B16C2F1C2A5B312C" Guid="SOME_GUID">
<File Id="file_F379EA1FAC914D04AE71C5F2935C01A6" KeyPath="yes" Source="..\..\..\Portal\server.js" />
</Component>
<Component Id="comp_186CD36E3F8D4E5C87883DEED6318719" Guid="SOME_GUID">
<File Id="file_490119871C7F40DDBA45887213D854D8" KeyPath="yes" Source="..\..\..\Portal\server.log" />
</Component>
<Component Id="comp_3DF5DC2F788943BA9C8306FA59732A11" Guid="SOME_GUID">
<File Id="file_96A709AF75D94034AD4B0E96B3BCE11A" KeyPath="yes" Source="..\..\..\Portal\service-install.js" />
</Component>
<Component Id="comp_DE5B71D9473F4FC489779922FE0D5952" Guid="SOME_GUID">
<File Id="file_9586EC6A7C434412A9B7E9B5FE81346C" KeyPath="yes" Source="..\..\..\MWSS-Portal\service-stop.js" />
</Component>
<Component Id="comp_FFE35627FB7E45D298BB83207930EC8C" Guid="SOME_GUID">
<File Id="file_B2776FD43A2D4F61B885018A011DACDC" KeyPath="yes" Source="..\..\..\Portal\service-uninstall.js" />
</Component>
<Directory Id="dir_F418E5D92B1A4D75981522C329550318" Name="app">
<Directory Id="dir_7F390C9C4EBA4BDBBA54E4099DD462A2" Name="controllers">
<Component Id="comp_EC62E12FA41E43FC96854CB9247CD409" Guid="SOME_GUID">
<File Id="file_D6FF1EAEEB4E4612B2E140E94B07C9AA" KeyPath="yes" Source="..\..\..\MWSS-Portal\app\controllers\configurationController.js" />
</Component>
<ComponentGroup Id="MWSS_Portal">
<ComponentRef Id="comp_AD6C481EA13D4A09886B6ABFE39FEB90" />
<ComponentRef Id="comp_667C7BA41A8C47B99216E1FCE9694FAD" />
<ComponentRef Id="comp_6A5E08DD4BA041B79C2A803BF77AA911" />
<ComponentRef Id="comp_47673BC5120B4E36B16C2F1C2A5B312C" />
Last part of the log:
Action ended 16:32:47: FileCost. Return value 1.
MSI (c) (3C:DC) [16:32:47:481]: Doing action: CostFinalize
Action 16:32:47: CostFinalize. Computing space requirements
Action start 16:32:47: CostFinalize.
MSI (c) (3C:DC) [16:32:47:488]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (3C:DC) [16:32:47:494]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (3C:DC) [16:32:47:500]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (3C:DC) [16:32:47:512]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (3C:DC) [16:32:47:513]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (3C:DC) [16:32:47:546]: Note: 1: 2205 2: 3: Patch