Custom action fails to create (& start) eclipse mosquitto broker service during Upgrade but works well on initial install and uninstall of the parent application #8207
Unanswered
OmSharmaDomino
asked this question in
Questions
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Following is the code segment that I have for wix 4 installer
Product.wsx :
<Package ... >
: : ::
EclipseMosquitto.wsx file :
:Notes :
Problem :
To test the major upgrade
I increment the version number in the Package element in product.wsx and in the Bundle element in Bundle.wsx
The upgrade fails at StartMosquitto Custom Action
If I comment out the following line in the InstallExecuteSequence in the code and test it
<Custom Action="StartMosquitto" ..../>
Then the upgrade is successful
This meant Action="InstallMosquitto" is failing.
So after the successful upgrade I manually ran the following command to install the mosquitto service
mosquitto.exe install
and then to start the mosquitto service I run the following command
sc start mosquitto
and all works good ie the service get started abd ready to go.
But I dont want to manually create or start the service rather it should be
done from the Custom action
Any idea why are the InstallMosquitto and the StartMosquitto actions failing
What wrong am I doing?
Beta Was this translation helpful? Give feedback.
All reactions