[wix-users] How do I handle SetupFilesCleanup and SetupFiles Extract in Wix
Shobha_Dashottar at symantec.com
Mon Sep 5 23:17:06 PDT 2016
Yes. We do need the support files at the time of installation. Depending upon the user's choice of feature we need to run some scripts/commands. The ISSEtupFilesExtract was taking care of putting the support files in the temp folder. I see that now I need to write an custom action for this purpose . Going through the Windows Installer Function Reference I haven't hit anything yet .
I am exploring the MsiOpenPackage function but not sure that is the right direction.
Has anyone dealt with this before ?
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tobias S
Sent: Friday, September 02, 2016 7:10 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How do I handle SetupFilesCleanup and SetupFiles Extract in Wix
Lewis, you are right. If you have one executable you can use that as you described.
The support files construct is needed e.g. when you have an executable which depends on additional config or dll files for running it.
For me in some dozens of installers I used that Support Files once. But InstallShield adds the needed custom actions (ISSetupFilesExtract + ISSetupFilesCleanup + ...) always AFAIR...
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users