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

Walter Dexter wfdexter at gmail.com
Mon Nov 30 05:37:19 PST 2015


You're using the MSI to launch an installer EXE that does the work?

The idea of MSI is to actually do the install not just as a launch platform. 

Have you considered a self extracting archive instead? They're pretty common with drivers.

If someone runs a repair on your MSI it will put them back. I don't think you want that either.

Walt

> On Nov 30, 2015, at 7:12 AM, Dileep S <dileep.sanampudi at gmail.com> wrote:
> 
> Dear Rob,
> 
> Is there any Guidelines of MSI to not clean up the files while installation.
> 
> Because when i check with Installshield, ISSetupFile table ( actions
> ISSetupFilesExtract and ISSetupFilesCleanup ) is doing uninstallation of
> setup files after installation completes or terminates.
> 
> Please could you provide me the link of specific guideline (or) please
> provide me the solution to resolve.
> 
> 
> 
> On Tue, Nov 24, 2015 at 11:36 AM, Fyodor Koryazhkin <fyodorkor at gmail.com>
> wrote:
> 
>> 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..
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list