keeps / dbptk-ui

DBPTK base UI for both Desktop and Enterprise
https://database-preservation.com
GNU Lesser General Public License v3.0
23 stars 9 forks source link

Install DBPTK silently #319

Open Jai-tatum opened 2 years ago

Jai-tatum commented 2 years ago

Description: I'm trying to install the dbptk-desktop-2.6.0 silently. Can you tell me the flags to be able to run it at the command line silently? I'm trying to run it through MECM so users can install it using Software Center without needing Admin rights. I have tried '/silent' and '/quiet'. Or is there a MSI for installs like this? Thanks!

Context:

Steps required to reproduce the bug:

Attach any related screenshots below.

Attach any relevant logs below.

Find DBPTK Desktop logs at Help -> Logs menu. Find DBPTK Enterprise logs with docker logs command.

luis100 commented 2 years ago

Hello, could you try this: https://github.com/electron-userland/electron-builder/issues/4445#issuecomment-557410197

Jai-tatum commented 2 years ago

Thank you that worked for the silent install, however the /allusers flag doesn't work. It keeps installing as admin user when I run as admin. So if I have SCCM install as SYSTEM where does the folder install? I need a generic folder location or a MSI code for SCCM to verify if the program installed successfully.

luis100 commented 2 years ago

Hi, we are using electron builder NSIS target with mainly the default options: https://www.electron.build/configuration/nsis.html https://github.com/keeps/dbptk-desktop/blob/master/package.json#L62-L79

The feature is reported to work well: https://github.com/electron-userland/electron-builder/issues/845#issuecomment-257793400

We don't have any way to currently test this as we don't have a Windows set up.