[wix-users] Weird problem installing the same file into two different destinations

harald goci harald.goci at panagenda.com
Mon Mar 19 03:46:00 PDT 2018


Hi Jack!
Why do you need to copy nssm.exe two times to the same machine?

If you need two services you better transport nssm.exe to the target
machine ONCE and register the services with two calls of "nssm install
<servicename> <program>" with the help of "Quiet Execution Custom
Action" (http://wixtoolset.org/documentation/manual/v3/customactions/qtexec.html).

BR,
Harald Goci
Senior Software Engineer

Email: harald.goci at panagenda.com - Web: www.panagenda.com
Phone: +43 1 890 12 89-44 - Fax: +43 1 890 12 89-15

(Embedded image moved to file: pic15350.jpg)

panagenda GmbH - Schreyvogelgasse 3/10 - 1010 Vienna - Austria
Registered Office: Vienna - HG Wien - FN 293516t - VAT-ID: ATU63362738
Executive Directors: Florian Vogler (CEO & CTO), Felix Vogler (CFO & COO)

(Embedded image moved to file: pic15006.jpg)

The information in this E-Mail is confidential and privileged. It is
intended solely for the addressee. Access to this E-Mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken in reliance on it is prohibited
and will be unlawful. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.




From:	"Hanebach, Jack \(US - Mechanicsburg Delivery\) via wix-users"
            <wix-users at lists.wixtoolset.org>
To:	WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc:	"Hanebach, Jack \(US - Mechanicsburg Delivery\)"
            <jhanebach at deloitte.com>
Date:	16.03.2018 16:07
Subject:	[wix-users] Weird problem installing the same file into two
            different destinations
Sent by:	"wix-users" <wix-users-bounces at lists.wixtoolset.org>



Hi,

I'm running into this weird, machine dependent, problem:

Trying to install nssm.exe into two different locations (need it to install
services - logstash and filebeat.) On my development machine it works fine
but when I tried the installer on a vm only one made it. Obviously, the
other service did not install... :(
The code:
    <Component Id="NssmLogstashComponent" Directory="LOGSTASHFOLDER"
Guid="..." >
      <File Id="NssmLogstashExe" Name="nssm.exe" KeyPath="yes"
Source="nssm.exe" />
    </Component>
    <Component Id="NssmFilebeatComponent" Directory="FILEBEATFOLDER"
Guid="...">
      <File Id="NssmFilebeatExe" Name="nssm.exe" KeyPath="yes"
Source="nssm.exe" />
    </Component>

Any tips on how to make sure it works everywhere?

Jack Hanebach
Deloitte USDC
Tel/Direct: +1.717.610.2620
jhanebach at deloitte.com | www.deloitte.com

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message and any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, by you is strictly prohibited.

v.E.1

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/




More information about the wix-users mailing list