[wix-users] How to pass arguments for window-service into update

Vladimir Kolobkov vkolobkov at gmail.com
Tue Apr 21 03:37:54 PDT 2020


Hi Alexey,

You can initialize property through command line and then use it in
installer, if it makes sense.

Best regards,
Vladimir Kolobkov


On Tue, 21 Apr 2020 at 13:00, Алексей Погорельский via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hello,
> I have installer made by Wix. It installs service via ServiceInstall
> element (
> https://wixtoolset.org/documentation/manual/v3/xsd/wix/serviceinstall.html
> ).
> Service needs some arguments to start (I pass these arguments via
> properties to ServiceInstall). Also I make updates as described here (
> https://wixtoolset.org/documentation/manual/v3/patching/patch_building.html
> ).
> When I install via bootstrapper, it gets arguments for service starting,
> from user interface and everything works fine. But my update knows nothing
> about these arguments.
> What is the best way to pass arguments for service into update?
>
> Thanks.
>
> Best regards,
> Aleksey Pogorelskiy
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Без
> вирусов. www.avast.ru
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/



More information about the wix-users mailing list