Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Add parameters for MSI installer options #3892

Closed
Taomyn opened this issue Sep 6, 2019 · 13 comments
Closed

[REQ] Add parameters for MSI installer options #3892

Taomyn opened this issue Sep 6, 2019 · 13 comments

Comments

@Taomyn
Copy link

Taomyn commented Sep 6, 2019

  • [X ] I have searched open and closed issues for duplicates.

Environment info

  • Operating system: Windows MSI

Description

Could the MSI installer provide command-line parameters for the options in the installer and also the one to start the application? This will make scripted deployments possible where some options are not wanted e.g. starting the application when it's already a service.

@BlueBlock
Copy link
Contributor

BlueBlock commented Sep 6, 2019

This can already be done using msi.

To disable the shortcuts and autostart:
msiexec /i duplicati.msi ADDLOCAL=ProductFeature REMOVE=DuplicatiDesktopShortCutFeature,DuplicatiProgramMenuShortCutFeature,DuplicatiStartupShortCutFeature

Any objections to renaming "ProductFeature" to "DuplicatiCore" ?
PR added. #3893

The command would then be:
msiexec /i duplicati.msi ADDLOCAL=DuplicatiCore REMOVE=DuplicatiDesktopShortCutFeature,DuplicatiProgramMenuShortCutFeature,DuplicatiStartupShortCutFeature

@Taomyn
Copy link
Author

Taomyn commented Sep 6, 2019

Ah ok, from the forum I thought it wasn't possible and I couldn't find it documented anywhere.

What about the start of the application at the end? For a service installation that would not be great to have happen.

@BlueBlock
Copy link
Contributor

What about the start of the application at the end? For a service installation that would not be great to have happen.

Ah.. I'll check.

@ts678
Copy link
Collaborator

ts678 commented Sep 6, 2019

FWIW I have a feeling that some users might have figured this out by themselves, but there's still lots of room for improvement on the install front, especially for Windows service installation using a CLI install.

Enterprise deployment #614

For deployment i would like to be oneclick to deploy to all network pcs

Centralized management #602

Admin can run silent installer of Duplicati (via SCCM, GPO, etc.) that carries configuration ...

Update clients without using web interface?

Say if you have Duplicati on a bunch of Windows and macOS machines and you want to keep them up to date by “deploying” updates. Is this possible? Obviously there’s silent install options, but when they are installed, the web interface still shows the old version.

Windows Service installer with parameters #1768

I have now implemented the installation part

Add support for choosing a user context to display the user interface in #1739

If Duplicati is running as a service, the user context is that of the service.

@BlueBlock
Copy link
Contributor

BlueBlock commented Sep 6, 2019

The PR has been updated.

It looks like i need to add a parameter to control all the options together.

This new option will only install the Core feature:

msiexec /i duplicati.msi FORSERVICE = "true"

Thanks for the consolidated list @ts678 and the installer would need a bit more reworking to get those features in it.

@ts678
Copy link
Collaborator

ts678 commented Sep 6, 2019

the installer would need a bit more reworking to get those features in it.

Not a request from me, just saying this is a large area, and the ones there are just the tip of the asks...

Migration away from .NET Framework and mono will presumably also have installer impacts someday.

@BlueBlock
Copy link
Contributor

BlueBlock commented Sep 7, 2019

Fixed.
#3893

@Sepp1982
Copy link

Sepp1982 commented Sep 11, 2019

I am so happy, I've found this here. Where can I found the documentation of these parameters? And the install core only feature is great. A separate 'windows service only' installer would be great to make it as small as possible. But thinking twice about it, it's great anyway.

@warwickmm
Copy link
Member

Closed by pull request #3893.

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/only-duplicati-core/9575/2

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/unattended-silent-installation-in-windows/13913/3

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/distributing-duplicati/16809/6

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/early-preview-of-net8-builds-codename-2-0-8-108/17904/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants