[wix-users] reinstall every running
Bernics Gábor
gabor at bernics.hu
Sat Aug 13 02:20:50 PDT 2016
Sorry, if I was not obvious: I depoly this package with an msiexec
script, this srcipt run every start and reinstall the package.
So, I would like add a simple version control in the msi: if the
installed version higher or equal to the packages version, skip the
installation.
(I am beginnner with WiX.)
2016-08-12 18:10 időpontban Rob Mensching ezt írta:
> EventViewer should show you the Component being reinstalled.
>
> _____________________________________________________________
> 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 Bernics Gábor
> Sent: Friday, August 12, 2016 8:12 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] reinstall every running
>
> Hello,
>
> I have a WiX generated MSI (see the source below), this MSI reinstall every time if I run.
>
> How can I prevent this?
>
> I would like deploy this package with GPO.
>
> Regards,
>
> Gabor
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
> <Product Id="*" Name="evoNetworkSwitch" Language="1033"
> Version="1.0.0.0" Manufacturer="evosoft Hungary IT"
> UpgradeCode="14182d16-d5a5-4ab0-beb7-4b310e680a5d">
> <Package InstallerVersion="200" Compressed="yes"
> InstallScope="perMachine" />
>
> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <MediaTemplate />
>
> <Feature Id="ProductFeature" Title="evoNetworkSwitch" Level="1"> <ComponentGroupRef Id="ProductComponents" /> </Feature> </Product>
>
> <!--Destination directory -->
> <Fragment>
> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLFOLDER" Name="evoNetworkSwitch" /> </Directory> </Directory> </Fragment>
>
> <!--Source files -->
> <Fragment>
> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> <Component Id="ProductComponent"
> Guid="{6F44232F-1C0B-4278-AB2B-BFD34FAE863C}">
> <File Id="evoNetworkSwitch.exe" Source="evoNetworkSwitch.exe" />
>
> <!--Install services-->
> <ServiceInstall
> Id="ServiceInstaller"
> Type="ownProcess"
> Name="evoNetworkSwitch"
> DisplayName="evoNetworkSwitch"
> Description="Disable Wired connections if the Wireless is connected to evosoft Wireless Infrastructure. Helpdesk: ithelpdesk at evosoft.com"
> Start="auto"
> Account="[SERVICEACCOUNT]"
> Password="[SERVICEPASSWORD]"
> ErrorControl="normal"
> />
> <ServiceControl Id="StartService" Start="install" Stop="both"
> Remove="uninstall" Name="JobService" Wait="yes" />
>
> <File Id="eNSconf.xml" Source="eNSconf.xml" /> </Component> </ComponentGroup> </Fragment> </Wix>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
--
Üdvözlettel / Kind regards,
Gabor BERNICS
Mobile: +36 70 233 9767
E-mail: gabor at bernics.hu
More information about the wix-users
mailing list