You can add a zip file and unzip using a custom action but remember that the 
MSI will not uninstall all the files that were unzipped.(only the .zip file 
will be deleted )
You will have to write a Custom Action to delete that also.

-----Original Message-----
From: Marco Tognacci [mailto:mark...@live.it] 
Sent: Friday, October 24, 2014 2:41 PM
To: WiX - users
Subject: [WiX-users] FW: Unzip file after install

I have some folders with localized html documentation, each folder contains 
many files, and they are not vital for my application, I harvest the folder 
using heat to build the wxs and then the msi.The installation of these folders 
is very very slow as heat doesn't order the files based on directory and the 
setup when during install will change the current directory for each file to 
install, and every file is marked as keypath.
To speed up installation process I'd like to add the zipped folders to my msi 
and then unzip them with a custom action, is there any build in system for 
doing this with WiX, using an extension for example? I need to add each 
localized folder inside a different msiFeature and then I need to run the 
custom action when the feature is selected to be installed (and removed on 
uninstall removeing all the folder).
Apart of the speedup of the installation process, I have a problem with some 
folders that I can't harvest using heat as the full path of files with relative 
folders tree exceed the max limit of characters that can be passed to heat.exe 
as command args for the path of the folder to harvest, and in this case using 
the zipped folders to be unzipped from the msi during installation will be the 
only choice.
Which is the best way for doing this?                                           
                                  
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to