It has been found that under some circumstances MSI Studio captures files in a protected folder (the “Services” folder under Windows) that may prevent the created MSI from being subsequently installed.
MSI Studio (as with most Application Repackaging tools) relies on an ‘Exclusion List’ to prevent unwanted file system objects and registry keys from being captured during the repackaging process and placed into the resulting MSI. If these objects aren’t excluded, installation of the MSI may put irrelevant or unnecessary objects onto the machine, or in some cases the installation may fail as the MSI tries to install objects into protected areas of the file system or registry. As more repackaging work is carried out, the list of exclusions can grow as more file system objects or registry entries are identified that should be excluded.
The fix for this issue is simple, the exclusion list should be updated to include the name of the folder to be excluded. The exclusion list can be updated by:
1. Open MSI Studio on the machine where the repackaging is performed.
2. Go to Tools, Options, click on the Repackaging tab, and then click on the Edit Exclusions List button
3. Click on the Directories tab and then click on the Add Directory button
4. In the Add Folder dialogue, enter the name of the folder to be excluded, in this case “[WindowsFolder]\Servicing” and click OK. The list of excluded directories will be updated with the entry you have just added.
5. Click Done, followed by OK.
6. Remember to recreate your virtual machine snapshot so that this change is saved permanently.
Note: If you go back and view the list of excluded files via the user interface in MSI Studio, it will display the actual path to the folder without the use of folder property names, so the entry just added will now appear as “C:\Windows\Servicing” where C: is your system drive letter. However if you view the exclusion list file directly, it will appear with its folder property name.
If you haven’t customised the exclusion list since you first installed MSI Studio, you may prefer to just replace the exclusion list rather than use the user interface to edit it. To replace the exclusion list, do the following:
1. Download the exclusion list file attached to this article
2. Ensure MSI Studio is closed
3. Navigate to C:\ProgramData\MSI Studio
4. Replace the existing “DirList.txt” file with the file you have just downloaded, ensuring the name remains as “DirList.txt”
Waiting for fix in a future release of ChangeBASE