Skip to content

Windows MSI installer #860

Closed
Closed

Description

@tomswartz07

Hi all,

It is possible to install OwnCloud remotely, via a combination of PSExec and Network Shares (as an example, for installing:
psexec \machinename \path\to\owncloud-1.2.5-setup.exe /S)

I, as I'm sure many other corporate and system admins, would appreciate a pre-built MSI installer for Windows.

While tools exist to create an MSI from an EXE, and there are some (very questionable) pre-made ownCloud MSI's available, having an 'OwnCloud Blessed' MSI would greatly help speed up deployment.

Thank you
-Tom Swartz


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. danimo commented on Aug 12, 2013

    @danimo
    Contributor

    We are looking into providing an MSI based installer.

  2. ghost assigned on Aug 12, 2013
  3. tomswartz07 commented on Aug 12, 2013

    @tomswartz07
    ContributorAuthor

    Hi danimo-
    Thanks for the quick response.

    I look forward to this feature with great anticipation.

  4. danimo commented on Aug 12, 2013

    @danimo
    Contributor

    @tomswartz07 check the milestone :-)

    I would like to have that in 1.5 (we are currently at 1.4 beta1), but this is not a promise. And no, there is no fixed date yet.

    MSI is a complex thing to get into, because if you do it, it has to be done correctly. We also need to make it possible to transition from the current NSIS somehow. I have read a bit about the WiX framework and we'll most likely go with that.

  5. trockenasche commented on Aug 21, 2013

    @trockenasche

    +1

  6. danimo commented on Aug 21, 2013

    @danimo
    Contributor

    @trockenasche it's scheduled already, no need to +1.

  7. rakekniven commented on Sep 14, 2013

    @rakekniven

    Would be nice to have signed msi files.
    Should I open another issue for that?

  8. danimo commented on Sep 14, 2013

    @danimo
    Contributor

    @rakekniven No, we have a certificate already. Let's first build MSIs. We're probably going to build it with WiX. Help is very welcome.

  9. tomswartz07 commented on Sep 27, 2013

    @tomswartz07
    ContributorAuthor

    Further, what possibilities are there for MSI transforms?

    Would it be possible to build the MSI with the intent to configure the installation path/other settings upon install time?

  10. danimo commented on Feb 15, 2014

    @danimo
    Contributor

    @tomswartz07 Are you still interested in helping out? Even though we have improved the NSIS installer a lot, MSI would be cool for deployment through GPO. https://github.com/videolan/vlc/tree/master/extras/package/win32/msi could serve as a great starting point.

  11. danimo commented on Feb 15, 2014

    @danimo
    Contributor

    I can help with all the build system integration. Also, we'll first need to collect all files (NSIS does that automatically, WiX seems to expect the files to be neatly lined up). See https://github.com/owncloud/mirall/blob/master/cmake/modules/NSIS.template.in#L362 for which files are needed.

  12. tomswartz07 commented on Feb 15, 2014

    @tomswartz07
    ContributorAuthor

    @danimo Sure. I'd be glad to help.

    I had forked mirall a few weeks ago when it was first discussed, and played with trying to get it in line. I haven't done much with it since then.

    How would you suggest we move forward with this? I imagine that, because the makefiles need to be orgainized for WiX, it might hinder addition of new features.
    Perhaps making a new branch to develop concurrently?

  13. danimo commented on Feb 15, 2014

    @danimo
    Contributor

    @tomswartz07 I would suggest we simply create a (shell) script that copies the artifacts into one place, ignoring cmake (I am planning to also move away from cmake/cpack for OS X, it's just too buggy and requires too many work arounds). Another script could then call WiX (WiX binaries are .net and can also be executed on Windows if needed). Decoupling the scripts would mean we could run the WiX packaging on windows as well.

  14. danimo commented on Feb 15, 2014

    @danimo
    Contributor

    vlc has package.mak (which builds a package) and msi.mak (which uses the results to build an msi file). Same idea, but with make files

  15. tomswartz07 commented on Feb 18, 2014

    @tomswartz07
    ContributorAuthor

    Thanks for the info regarding VLC- I'll be sure to reference this as I try to sort through this.

    A few clarifications:

    1. Will mirall be built as MSI only (for Windows) after this is implemented, or will the packaging be 'doubled up', offering both MSI and EXE?
    2. In regards to the build system integration you've mentioned, to be perfectly clear: the files needed for Windows builds, referenced in your NSIS template are listed from Lines 362-465, correct? Your link was a bit ambiguous.
    3. Would you prefer to submit a pull request to initiate this change, from which we could both work, or shall I? I'm not exactly clear on what's expected to initiate this 😄
  16. 26 remaining items

  17. MTRichards commented on Feb 26, 2016

    @MTRichards

    @cmonteroluque FYI.

  18. AnrDaemon commented on Mar 4, 2016

    @AnrDaemon

    Guys, if you just want to be subscribed for notifications, there's a button at the right >.<

  19. DraconPern commented on Mar 9, 2016

    @DraconPern

    I have experience making MSI's so I can probably work on this. There's a also discussion at my work about using owncloud and if there is an MSI, it'll be very easy for admins to install the client on all the workstations. So, IT admins, what features do you want to see in the MSI?

  20. tomswartz07 commented on Mar 9, 2016

    @tomswartz07
    ContributorAuthor

    Hey there @DraconPern:

    I currently have a workaround using WiX Toolkit. The code 'wraps' the current .exe in an .msi and can be deployed using any number of admin tools.
    We have used this method to deploy the program to over 2k machines in the past few years.
    The code is here to use that.

    As far as an 'official' MSI installer, I would love to see:

    • Fully configurable install options using .mst transform files
    • Silent install options
    • Options to specify alternate 'exclude.lst' entries during install (ideally as part of the transform)

    Cheers

  21. danimo commented on Mar 9, 2016

    @danimo
    Contributor

    @DraconPern The only real requirement is to use WiX to build the installer. Also, we need to somehow make sure that we can use Transifex to translate it (probably needs conversion from the translations that WiX accepts). I can help with the scripts, but I would first like to have a minimal framework before deciding where to go in terms of installer features.

  22. AnrDaemon commented on Mar 9, 2016

    @AnrDaemon

    @DraconPern, only configuration coming to mind is configurable default sync directory.
    And probably configurable list of default ignored files.

  23. AnrDaemon commented on Mar 14, 2016

    @AnrDaemon
  24. danimo commented on Mar 15, 2016

    @danimo
    Contributor

    @AnrDaemon We're using NSIS, not InnoSetup. NSIS also suffered from the same issue, but has been fixed since.

  25. removed this from the milestone on Apr 18, 2016
  26. guruz commented on Mar 20, 2018

    @guruz
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions