Question 1: Can the costing for user specific directories that are not being added to during the deployment be disabled?Context 1: Some packaging tools add entries to the directory table that they do not actually use. The initialization for the costing on these dangling references take time thus slow down an install.Answer 1: Costing cannot be disabled. Workaround 1: Package Provider: Update ones the package tools. Package Consumer: Transform out the dangling references.
Question 2: Is there a way to have a per-machine Major Upgrade remove a per-user installation?Context 2: Customer has several customers that have installed their product as Per-Machine. Customer has a Major Upgrade and some users have installed this as Per-Machine and are now seeing multiple entries in the ARP.Answer 2: No, Per-machine can only upgrade Per-machine as Per-User can only upgrade Per-User installs. Workaround 2: One could have wrapper code that would uninstall the Per-User install and then initiate a Per-Machine install. Alternatively one Custom Action to detect the InstallState of the previous install and then set the ALLUSERS property should also work.
Question 3: Is there a way to have a substorage in an MSM merged into a MSI?Context 3: Customer has a type 23 custom action that they want to distribute via merge module.Answer 3: No. Blogged earlier in week as How do I merge an MSM with a nested MSI in it's substorage into a MSI? Workaround 3: Nested MSI’s are *not* the way to go, the customer should be looking at other options. We are working on having the Nested installs depreciated in the SDK documentation for the Vista B2 refresh. The documentation in KB 306439 is also wrong in that files added to the binary table are not substorage, they are streamed and a change to the KB article has been requested.
Question 4: Any idea why I would be seeing an error 2356 installing an MSI file which had a transform applied?Context 4: Here's what has been tried
MSI (s) (D4:FC) [15:30:27:217]: Product: Company Printing -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2356. The arguments are: _B2ED254AC2D217DC5D64C4A8DDC5E148, , Action ended 15:30:27: InstallFinalize. Return value 3.
Content credit also belongs to