[wix-users] reinstall every running
Rob Mensching
rob at firegiant.com
Fri Aug 12 09:10:16 PDT 2016
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/
More information about the wix-users
mailing list