[wix-users] reinstall every running
Bernics Gábor
gabor at bernics.hu
Fri Aug 12 08:12:06 PDT 2016
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>
More information about the wix-users
mailing list