|
|
#1 |
|
Junior Member
Join Date: Jan 2007
Posts: 4
|
hi
sorry for my english i have server, where are storage install files server sends install files to remote computers and install it, during installation users on remote computer can't see any dialog etc. so i use silent mode, but: 1. if problem with crc -> appears dialog, i won't disable checking crc because problem with crc is important for me, so is it possible to disable all dialogs and have informations about problems? ( eg.: error code from exe file ) 2. haw to obtains progress in silent mode? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
CRC error can pop-up even if CRC is disabled in some cases. There's currently no way to hide it, silent or not.
If you want to see progress on silent mode, you'll have to do it manually by, for example, writing it to a known file. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2007
Posts: 4
|
1. not well
2. how? manually? but most scirpts are like: configuration, copy all files using mask *.* - so progress 0%, 1%, 100%... |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Yes, manually. You can split files masks if most of your installation is File *.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
I've updated the CRC code to get the silent flag as early as possible. It will now show a message only in extreme cases where it couldn't get the silent flag from the header (command line flag will override this). It'll also still show a message if it can't initialize the temporary directory because it needs the directory for extracting data, including the header.
The diff is available at CVS. http://nsis.cvs.sourceforge.net/nsis...1=1.61&r2=1.62 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
And for $TEMP initialization (only /S though):
http://nsis.cvs.sourceforge.net/nsis...1=1.77&r2=1.78 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jan 2007
Posts: 4
|
1. the best would be callback .onProgress... ( dream... )
2. sorry for questions but i haven't full access to internet in company ( eg. nsis cvs ), so a can't checking your solution now: in silent mode ( /S ) not exists any bug window? ( crc and other )? and install file return <> 0 ? |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can use the nightly build from the development page, if you don't have CVS access.
With the latest version, using /S will suppress all messages. It's parsed before the installer is even opened for the headers. The return code, however, will stay on 2 in case of error, silent or not. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
Great improvement!
"Just do it" |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jan 2007
Posts: 4
|
also for me
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|