jetwhiz / encfs4win

Windows port of EncFS
https://encfs.win
Other
400 stars 41 forks source link

Silent install #97

Closed starik1968 closed 6 years ago

starik1968 commented 6 years ago

Hello, would be nice if it would be possible to install silently and without restart.

Thx

cu starik1968

amicalmant commented 6 years ago

Hey, man, if you want to install low level software or system updates without rebooting your computer you should seriously consider using Linux as your main operating system (if it's not done yet). I live much more easily with Windows flaws once in a while since I started dual-booting 7 years ago. ;-)

jetwhiz commented 6 years ago

Hi @starik1968

This should already be possible with our installer (since we're using NSIS). Can you try to use the "/S" flag on the command line and see if this works on your system?

For example: ./encfs-installer.exe /S

If you're requesting an install that does not require a restart at all, though, then I don't believe this is possible (since Dokany installs a kernel service which requires Windows to be restarted).

starik1968 commented 6 years ago

Hi jetwhiz,

figured it out how.

Unpacked the installer with 7Zip and installed dokany with /norestart.

Did not install the VC Redist 'coz I have 2015 on my PC. /norestart should work there also, AFAIK it is a standard installer switch with MS-Installers.

Have a very special using screnario: Reset my PC daily and don't want the software inside my image, but want to use it if I want.

Seems like it runs, but had to test it.

Surely a very special case. But it would be fine if the installers warns about the restart, first time I tried the software it restarted and I had a lot of programs open. Love the software, it is what I searched for a while.

jetwhiz commented 6 years ago

Hey @starik1968

You're right, it looks like /quiet mode will automatically restart with the Windows installers without prompting. I think I will change these to either "/passive /promptrestart" or "/quiet /norestart" for the next beta release.

Since this is a similar issue to https://github.com/jetwhiz/encfs4win/issues/96 I'm going to close this one so we can keep everything on one issue thread, but you can track the status of this bug from there.