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

Headless installation #66

Open
myCrack opened this issue Jan 9, 2023 · 3 comments
Open

Headless installation #66

myCrack opened this issue Jan 9, 2023 · 3 comments

Comments

@myCrack
Copy link

myCrack commented Jan 9, 2023

I was trying to install diskcryptor on remote windows server w/o desktop experience, like this:

> cd /D c:/apps
> curl -LOs https://github.com/DavidXanatos/DiskCryptor/releases/download/v1.2.3/dcrypt_setup_1.2_beta_3_signed.exe
> dcrypt_setup_1.2_beta_3_signed.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /ALLUSERS /LOG=log /DIR="c:\apps\dcrypt"

But in the end, the software is not installed, and the installer process is still running.

Here is the installation log:

> type log
29.580   Log opened. (Time zone: UTC+00:00)
29.580   Setup version: Inno Setup version 5.5.8 (u)
29.580   Original Setup EXE: c:\apps\dcrypt_setup_1.2_beta_3_signed.exe
29.580   Setup command line: /SL5="$5DA0092,1206527,119296,c:\apps\dcrypt_setup_1.2_beta_3_signed.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /ALLUSERS /LOG=log /DIR="c:\apps\dcrypt"
29.580   Windows version: 10.0.20348  (NT platform: Yes)
29.580   64-bit Windows: Yes
29.580   Processor architecture: x64
29.580   User privileges: Administrative
29.581   64-bit install mode: Yes
29.592   Created temporary directory: C:\Users\Administrator\AppData\Local\Temp\is-096C9.tmp
29.636   Message box (OK):
         This is a BETA release, use it at your own risk!
         This tool is provided on an "as is" basis, with no warranty of any kind, express or implied.

From *.iss file, i figured out how to install it in manual mode - just use dcinst -setup and restart the system. But to do this, first i have to extract the program files from the installer - and to do that i just installed it on a system with desktop experience and then put extracted files to the server.

So, please, either make silent installation to be possible, or include a *.7z archive to the release page.

@myCrack myCrack changed the title Silent install Headless installation Jan 9, 2023
@systracer
Copy link
Contributor

systracer added a commit to systracer/DiskCryptor that referenced this issue Jun 8, 2023
@myCrack
Copy link
Author

myCrack commented Oct 22, 2023

Cool! Thanks.

I will wait new release, and after that i'll close issue if everything will be as expected.

@myCrack
Copy link
Author

myCrack commented Oct 28, 2023

With 1.3 - the same as before, in the end, the software is not installed, and the installer process is still running. So, #76 is not a solution.

Here is the installation log:

> type log
20.441   Log opened. (Time zone: UTC+00:00)
20.441   Setup version: Inno Setup version 6.2.2
20.441   Original Setup EXE: c:\apps\dcrypt_setup_1.3_beta.exe
20.441   Setup command line: /SL5="$3002C,1994106,832512,c:\apps\dcrypt_setup_1.3_beta.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /ALLUSERS /LOG=log /DIR="c:\apps\dcrypt"
20.441   Windows version: 10.0.20348  (NT platform: Yes)
20.441   64-bit Windows: Yes
20.441   Processor architecture: x64
20.441   User privileges: Administrative
20.457   Administrative install mode: Yes
20.457   Install mode root key: HKEY_LOCAL_MACHINE
20.457   64-bit install mode: Yes
20.520   Created temporary directory: C:\Users\Administrator\AppData\Local\Temp\is-D6DR2.tmp 2023-10-28 04:00:20.614   Message box (OK):
         This is a BETA release, use it at your own risk!
         This tool is provided on an "as is" basis, with no warranty of any kind, express or implied.

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

No branches or pull requests

2 participants