Old 12th May 2005, 08:39   #1
dnafigator
Junior Member
 
Join Date: May 2005
Posts: 1
Send a message via ICQ to dnafigator
CopyFiles vs ProgressBar

I want to create an installer, wich allows to leave some files on the media (CD).
To do it, I simply copy optional files near the 'setup.exe'
(*****, Video\*.avi) and copy them via CopyFiles command.

But.

While using non-silent mode, additional dialog appears and bothers USER (but shows copy progress!)
In silent mode, on the contrary, there is no any dialog, but the copy progress also stops somewhere (*****. at 100%)
USER might think, that installer is dead and try to kill application, interrupting copy process.

How do I use the same copy indicator for optional files?
It's the same for me whether the percentage will continue to grow (*****. 1%-80% normal intall progress, 81%-100% additional files)
or it will reset to zero, change caption to something like "copying video files" and show the actual copy progress.

Thaks in advance.
dnafigator is offline   Reply With Quote
Old 12th May 2005, 09:17   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
To hide the CopyFiles dialog, use the /SILENT switch.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump