[wix-users] [WIX]: Remove the setup files after installtion completes using WIX

Fyodor Koryazhkin fyodorkor at gmail.com
Mon Nov 23 22:06:15 PST 2015


Hi,
As I understand you do not want to keep installation files on the computer
so try the following:
Do not compress your files into MSI and run your installation directly from
the media (disk or network) so you do not need to extract files to temo
folder

On Tue, Nov 24, 2015 at 7:52 AM, Rob Mensching <rob at firegiant.com> wrote:

> Uninstall the MSI. Or probably more useful, don't use MSI. That's not what
> it is for.
>
> _____________________________________________________________
>  Short replies here. Complete answers over there:
> http://www.firegiant.com/
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Dileep S
> Sent: Monday, November 23, 2015 9:21 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] [WIX]: Remove the setup files after installtion
> completes using WIX
>
> Hi All,
>
> I have created a MSI package using WIX 3.7 This MSI package contains the
> software to install drivers.
> The packaged file are copied into %temp% folder after extracting the MSI
> package.
> After extracting the MSI package, my application will be launched to
> install the drivers.
> I have used the following custom action to launch my application:
> <CustomAction Id="InstallDRV" Directory="INSTALLDIR" Execute="deferred"
> ExeCommand="[$(var.RootDirID)]$(var.EXEFileName)" Impersonate="no"
> Return="asyncWait" />
>
> <InstallExecuteSequence>
>       <Custom Action="InstallDRV" After="InstallFiles">NOT REMOVE ~=
> "ALL"</Custom> </InstallExecuteSequence>
>
> After launching my exe file (EXEFileName), it will install my software.
> Once installation is completed, i need to remove extracted files and
> folders from temp folder.
>
> How can remove the extracted files and folders from temp folder after
> installation completed.
>
> Please help me to do this.
>
> Thanks in advance...
>
> Regards,
> Dileep
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



-- 
Regards,
Fyodor Koryazhkin..


More information about the wix-users mailing list