When I run "7z230b25.exe -y /Q", the installer displays
a "You must restart your computer" dialog and waits for
user interaction. This did not happen with b24.
Logged In: YES
I'm not sure. But probably b24 also sometimes can show
Restarting question can be asked when installer cannot
rewrite some file (exe or dll).
Logged In: YES
You are right; this happened because I had just uninstalled
b24 before installing b25. A fresh install of b25 does not
have this problem.
But still... Shouldn't there be a way to avoid any user
interaction completely? Microsoft's installers, for
instance, usually just exit with status 194 when they are
invoked in "silent" mode but want to reboot the machine.
I use Microsoft's IExpress installer. Seems there is no
such function there.
So only installer changing can help. But now it's
difficult, since IExpress installer has some specific
features. I'm not sure that other small installers have
such features too.
for my discussion of it.
To always suppress the reboot dialog, you have to use the
"/r:n" switch. And in fact, this works for 7-zip's installer.
To confirm for yourself:
Install 7-zip and reboot (to make the files "in use")
Re-install with "-y /q" and observe the reboot dialog (bad)
Re-install with with "-y /q /r:n" and observe NO reboot
So the full unattended installation switches are "-y /q /r:n".
Thanks for info about /r:n. It works.
Some notes. It can ask rebooting, if file is in use.
Usually file can be in use in these cases:
1) It is executing (for exe).
2) Some application uses some dll. For example,
sometimes Explorer locks 7-zip.dll after first using of
context menu. And then Explorer doesn't free that dll.
In such case after installing but before rebooting 7-Zip
will use old files. In most cases it's safe. But in some
cases (dll interface changing) some functions will not
work until rebooting.
Logged In: NO
Hi ( please help me )
I have a problem with unattended file, I want to create 2
partitions, c: & d: with file system NTFS in both
This is my file ,what kind of line I need to write and were :
I need it to win2k pro/server
Log in to post a comment.